Update code.js

This commit is contained in:
AUnicornWithNoLife 2021-04-13 22:05:11 +01:00
parent a8147bfb58
commit 6d76a336c5

View File

@ -6,6 +6,7 @@ function move(id)
}
var charater = "";
var optm = ptm;
if (ptm == 1)
{
@ -21,7 +22,7 @@ function move(id)
}
board[ids[id][0]][ids[id][1]][1].innerHTML = charater;
board[ids[id][0]][ids[id][1]][0] = ptm;
board[ids[id][0]][ids[id][1]][0] = optm;
var winner = win();