X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=tictactoe.js;h=aba043c65eba8c1dbe04ef6034c6d54b8fa8fee1;hb=48026578b36151fdb09186f4fd5166db6c67c09a;hp=11b4295df247ced277c82d8f1501369483a7a4e0;hpb=7b21a4eb7ed2d6d479842b01c35ba6931c3acdc7;p=lmno-server diff --git a/tictactoe.js b/tictactoe.js index 11b4295..aba043c 100644 --- a/tictactoe.js +++ b/tictactoe.js @@ -4,8 +4,8 @@ const Game = require("./game.js"); const router = express.Router(); class TicTacToe extends Game { - constructor() { - super(); + constructor(id) { + super(id); this.moves = []; this.board = Array(9).fill(null); }