TwoOrMore is a sample game, which demonstrates the seating properties
of a game which any number can play. (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 there are at least two seats occupied.
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.
-- "At least two seats must be filled."
-- The first client to send this wins the game.
More of my Volity work
Volity home page