GGZ Gaming Zone Design Specification | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
In order to play or watch a game with other players logged into GGZ, a player must be at a table. This is accomplished via one of two interactions:
To join a player or spectator to an existing table, the client should send JOIN. The server will respond with RESULT, notifying the client if the attempt to join was successful.
To launch a new table, clients must send the LAUNCH tag. The server will respond with RESULT, notifying the client of the status of the table launch.
Note: Currently the server will automatically attempt to join the the player to the newly launched table. The result of this join will be sent to the client via a RESULT, even though the client did not explicitly request a join. This behaviour may change in future version of the server
At the end of a game session, the server will automatically remove all players from the table. Should a player wish to leave a table before the completion of the game, however, the client may send a LEAVE. The server will then send back RESULT. Note that not all game types will support leaving in mid-game. Such games can be left when passing the 'force' parameter, however it ends for all other players then, too.