TwoPlayer is a sample game, which demonstrates the seating properties of a two-player game. It has exactly two seats, both of which must be occupied to begin the game.

Sending sit(self) with no seat ID has the default behavior: you are placed in the first unoccupied seat. If no seat is unoccupied, the call fails.

Seat IDs


More of my Volity work

Volity home page