tictactoe: De-activate board when it's not the player's turn
authorCarl Worth <cworth@cworth.org>
Fri, 5 Jun 2020 18:08:32 +0000 (11:08 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 6 Jun 2020 11:46:51 +0000 (04:46 -0700)
commitee68b32ca39f0b664de49cb23695d0786e987c2c
tree12d52a18a8dd297564c9be263035e600b1f83dcd
parent5eb93fbba3926dab3454295b14f521b6a9bc11d0
tictactoe: De-activate board when it's not the player's turn

There's no reason to allow the user to select a square and send the
move to the server when the client can already know that the server is
just going to reject the move because it's not our turn anyway.
tictactoe/tictactoe.jsx