]> git.cworth.org Git - empires-server/blobdiff - tictactoe.js
tictactoe: Reword the comment describing the add_move method
[empires-server] / tictactoe.js
index a60eed600c9bdccde3736d56bf2b988dd1a9e892..d5a07b25506b79618993ed9ec67befb6ee289936 100644 (file)
@@ -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])