]> git.cworth.org Git - lmno.games/commit
Rename reset_state() to reset_board()
authorCarl Worth <cworth@cworth.org>
Fri, 5 Jun 2020 00:36:23 +0000 (17:36 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 5 Jun 2020 00:36:23 +0000 (17:36 -0700)
commit47118511015be30e5efb9131f3a6a77828c0fb6a
treefa91ccd2a588c3b74560aa9832a94bfa4fdd3335
parent74237cfd16350e21b67660f7ea9c3dc91e0bf10a
Rename reset_state() to reset_board()

It's not resetting _all_ state, just the board.

In the past, these two notions were basically the same, (since the
board was the only state we hadd), but soon we'll be adding players
and other information outside the board, so this new naming is more
clear.
tictactoe/tictactoe.jsx