diff --git a/src/code.js b/src/code.js index 316cc89..ca4f667 100644 --- a/src/code.js +++ b/src/code.js @@ -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 + { + + } } \ No newline at end of file