TwoPlusAnyNumber

TwoPlusAnyNumber is a sample game, which demonstrates the seating properties of a game which requires two players (the "captains") plus any number of other players. (The implementation enforces an upper limit, which is eight for purposes of demonstration. In a real-world game of this type, it would be perhaps twenty.) The game can begin whenever both captains' seats are occupied.

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

Seat IDs

RPCs


More of my Volity work

Volity home page