Game app for omok.io.
$ npm install
$ npm start
- Response:
login success (player.id, player.key)
- Response:
cannot login (error)
- Response:
match found (room.id, room.key)
- Response:
cannot find match (error)
- Response:
random room (room.id)
- Response:
room joined ({stoneColor, board, turn})
- Response:
cannot join room (error)
- Response:
room observed ({players, stoneColors, board, turn})
- Response:
cannot observe room (error)
- Response:
stone placed ({stoneColor, coordinate})
- Response:
game over ({win})
- Response:
cannot place stone (error)