For a specific game the following API endpoints are defined.
(Note: Only the trailing portion of the API URI is provided here.
For a specific game the following API endpoints are defined.
(Note: Only the trailing portion of the API URI is provided here.
join: Players are choosing characters and joining the game
reveal: Character names are being revealed to players
capture: Players are guessing characters in capture attempts
NOTE: When a client first connects, it may see multiple
join: Players are choosing characters and joining the game
reveal: Character names are being revealed to players
capture: Players are guessing characters in capture attempts
NOTE: When a client first connects, it may see multiple
- game-state transitions, to transition step-by-step from
- the initial state to the state of the current game. See
+ game-phase transitions, to transition step-by-step from
+ the initial phase to the phase of the current game. See
Behavior: Adds a new player with "name" and "character" and
assigns an id. Also will add a new empire with empty "captured"
Behavior: Adds a new player with "name" and "character" and
assigns an id. Also will add a new empire with empty "captured"
Note: If the client supports cookies and has previously set a
nickname in the current session via the upper-level /profile API,
Note: If the client supports cookies and has previously set a
nickname in the current session via the upper-level /profile API,