Namespace: jsonOut

server.jsonOut

Properties:
Name Type Attributes Description
game string prefix for localStorage and server database entries
state Array A nested array of bases describing the current state of the board and who's to play
last_move Object {"red": ["move", "a", 1, "b", 2], "blue": "noop"}
terminal boolean true if game over
legals Array <optional>
Possible moves for the human player, used to help explain rules
utility Object <optional>
final score if game over
move_count integer used to id messages to the server so turns aren't inadvertantly skipped
Source: