Killing Games

If players get tired of a game in mid-play, and want to abandon it, the easiest course is for them all to simply quit their Volity clients. (The referee will mark the game as abandoned, and eventually suspend it, and then destroy it entirely if nobody is present at the table.)

However, the players may want to kill the game in order to restart it. It should be convenient to do this without leaving the table or creating a new table.

Therefore, the referee accepts a volity.kill_game(boolean) RPC. This is effectively a game configuration request which can only be used when the game is suspended. If this is set true, then when the game unsuspends, it will immediately terminate. The referee will then cycle back to the setup state.

From the players' point of view, killing a game works like this: