commit 8acad838b9765b35907f885136c088b0a937a16a
parent 83b20d3bbf29a76bd600bfcb0f507ea6e79a530f
Author: GuyClicking <bpaul848@gmail.com>
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>