commit 0a53e7e0f1a072c5d4a163f8782b9fd75509f6c3
parent 6afe4f9c90c2c2988c918183a8ba7cbf15e89bdc
Author: bpaul <bpaul@bpaul.xyz>
Date: Sun, 18 Jul 2021 22:23:53 +1000
uh apparently i did connect 4 stuff
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/games/connect-4 b/games/connect-4
@@ -1 +0,0 @@
-Subproject commit 9c2cd23a211e1846b7b9783d735def1a95b0e75c
diff --git a/games/connect-4.html b/games/connect-4.html
@@ -19,8 +19,13 @@
}
</style>
<script>
-let board = [[]];
+
+let board = [];
// i dislike js
+for (var i = 0; i < 6; i++) {
+ board.push([0,0,0,0,0,0,0]);
+}
+
</script>
</head>
<body>