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.
seat0
seat1
seat2
seat3
seat4
seat5
seat6
seat7
game.illegal_seat
(2 args)
-- "You cannot sit in \1 because this game is configured for \2 seats."
game.config_count_bounds
(1 arg)
-- "The seat count must be between 1 and \1."
game.del_occupied_seat
-- "Players must stand up before you eliminate occupied seats."
game.config_count(int)
-- Change the configured number of seats. The argument must be between one
and eight. This call may only be sent at config time; it unreadies all
players. If you try to eliminate an occupied seat, you will get an error;
you should stand up first.
game.win()
-- The first client to send this wins the game.