From 3253184778e228e8e57fd37e8ca4462005b3e2aa Mon Sep 17 00:00:00 2001 From: AUnicornWithNoLife Date: Mon, 12 Apr 2021 07:53:08 +0100 Subject: [PATCH] Update code.js --- src/code.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/code.js b/src/code.js index eb0985b..47715c2 100644 --- a/src/code.js +++ b/src/code.js @@ -74,10 +74,13 @@ function move(id) function win() { + console.log(board); + // row for (var x = 0; x >= 2; x++) { + console.log(x + " : " + board[x][0][0]); if (board[x][0][0] != 0) { if (board[x][0][0] == board[x][1][0]) @@ -141,4 +144,9 @@ function win() } return 0; +} + +function reset() +{ + } \ No newline at end of file