Update code.js

This commit is contained in:
AUnicornWithNoLife 2021-04-11 17:16:14 +01:00
parent 579d92b893
commit a751e79b29

View File

@ -1,13 +1,26 @@
board =
var board =
[
[0, 0, 0],
[0, 0, 0],
[0, 0, 0]
];
ptm = 1;
var ptm = 1;
function move(id)
{
var charater = "";
if (ptm === 1)
{
charater = "X"
}
else if (ptm === 2)
{
charater = "O"
}
else
{
}
}