- 1.3.1. Listing players in a game
-
- PLAYERS <game>
-
- ->
-
- PLAYERS <username1> <score1> <username2> <score2> ...
-
- Possible errors: NOGAME
-
- 1.3.2. Listing watchers of a game
-
- WATCHERS <game>
-
- ->
-
- WATCERS <username1> <username2> ...
-
- Possible errors: NOGAME
-
- 1.3.3. Get game information
-
- GAMEINFO <game>
-
- ->
-
- GAMEINFO <turn> <color> <shape> <state> <time> <bid> <active>
-
- <turn> is a number from 1 to 17 indicating the current turn
- <color> <shape> indicate the active piece
- <state> is one of:
- new Turn just started, no bids yet
- bid Bidding opened. <time> indicates time remaining,
- <bid> indicates the minimum bid
- show Bidding closed and solution being demonstrated
- <active> indicates the person demonstrating
- done Current turn is over. Either a solution
- was demonstrated or the players have all
- given up trying to find a solution.
- <time> is valid only in BID state, else it's 0
- <bid> is valid in all but NEW state where it's 0
- <active> is valid in SHOW state, else it's ""
-
- Possible errors: NOGAME
-
- 1.3.4. Creating a new game
-
- NEW <game-suggestion>
-
- ->
-
- NEW <game>
-
- 1.3.5. Joining an existing game