X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=tictactoe.js;h=d5a07b25506b79618993ed9ec67befb6ee289936;hb=53806350bc2b8e36bf9d2561729b4608403af96d;hp=a60eed600c9bdccde3736d56bf2b988dd1a9e892;hpb=0cc61b68f175ae13fe2390d8e5c6bf374153aecc;p=lmno-server diff --git a/tictactoe.js b/tictactoe.js index a60eed6..d5a07b2 100644 --- a/tictactoe.js +++ b/tictactoe.js @@ -11,7 +11,7 @@ class TicTacToe extends Game { }; } - /* Returns Boolean indicating whether move was legal and added. */ + /* Returns true if move was legal and added, false otherwise. */ add_move(square) { /* Cannot move to an occupied square. */ if (this.state.board[square])