Api for 2 player othello games
list of open games
game :gamenumber infos and state
creates a new game
returns : game id
tries to join an open game
returns :
- -1 no open game
- { id: game id, player: X or O }
Passes the turn
Gives up the game
Plays square :squarenumber, for player :player, in game :gamenumber
Returns :
- 1 for ok,
- -1 for not this player's turn
- -2 for square not playable,
- -3 for other error
Nothing yet