ConfigSeatCount is a sample game, which demonstrates the seating properties of a game with a configurable number of seats. Initially, the game is configured for two seats. During configuration, the players can change the number of seats in the game, from one to eight. All the configured seats 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 (in the configuration). If no configured seat is unoccupied, the call fails.

Sending sit(self, seat) is disallowed for unconfigured seats. Unlike some games, ConfigSeatCount does not permit players to sit in "ad-hoc" (non-required) seats.

Seat IDs

Translation tokens


More of my Volity work

Volity home page