- api responses follow standard HTTP codes (200 for success, 404 for not found, 400 for bad request etc)
/user
200: authenticated. returned JSON = {name:<name>}
404: user not found.
/user
POST BODY: name=<name>
200: success
400: bad request
/games/ready
200: array of gameObjects.
gameObject = {
id: <gameId>,
created_by: <createdUserId>,
joined_by: <joinedUserId>
}
/games/started
200: array of gameObjects.
/game/start
/game/join/<gameId>