X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=tictactoe.js;h=7d7450c5ab6c4504e16aba53e9c011bd02757286;hb=9e5bf65868eaafcb11d09c0fee02e0d3d7c2121f;hp=89ad5d2b4685224ed4766447cea4eef9f4c437bb;hpb=63492ece678da23ef0e9652b86313e6c824376af;p=empires-server diff --git a/tictactoe.js b/tictactoe.js index 89ad5d2..7d7450c 100644 --- a/tictactoe.js +++ b/tictactoe.js @@ -37,7 +37,7 @@ class TicTacToe extends Game { router.post('/move', (request, response) => { const game = request.game; - const square = request.body.square; + const square = request.body.move; const legal = game.add_move(square);