Open DarkSoap88 opened 4 months ago
POST /sessions/ - create session with 2 players body { "user_ids": [string] } response { "session_id": string }
{ "user_ids": [string] }
{ "session_id": string }
Notify the other player through play request websocket about the created session
Start session by notifying both users that the session has started
Close play request websocket for both players
Anonymous sessions are started with a pre-defined nickname of the form: CompetitiveCoinflipAnon-_sessionid
POST /sessions/ - create session with 2 players body
{ "user_ids": [string] }
response{ "session_id": string }
Notify the other player through play request websocket about the created session
Start session by notifying both users that the session has started
Close play request websocket for both players
Anonymous sessions are started with a pre-defined nickname of the form: CompetitiveCoinflipAnon-_sessionid