Oliver-Akins / Phantom-Ink-Online

The online prototype for Resonym's game titled Phantom Ink.
http://phantominkgame.com/
6 stars 2 forks source link

JoinGame WS Event #10

Closed Oliver-Akins closed 3 years ago

Oliver-Akins commented 3 years ago

Description:

Triggered by the client when it attempts to connect to a game.

Request Payload:

Property Type Description
name String The user's name
game_code String The game code for the game the user is trying to join.
id? String The user's ID that was stored if they have already joined a game and not finished it.

Response Payload: (GameJoined)

Property Type Description
id String The user's game ID, if id is set in the payload, this is the same, otherwise it is a brand new ID.