Game stage enumeration.
Represents the different states of the game from waiting for players
to game completion.
-
WAITING_FOR_PLAYERS
Game is waiting for enough players to join.
- Type:
str
-
READY
Enough players have joined; game is ready to start.
- Type:
str
-
STARTED
Game has started; hands will begin dealing.
- Type:
str
-
DEALING
Dealing hole cards to players and posting blinds.
- Type:
str
-
PRE_FLOP
First betting round after hole cards are dealt.
- Type:
str
-
FLOP
Second betting round after three community cards are dealt.
- Type:
str
-
TURN
Third betting round after the fourth community card is dealt.
- Type:
str
-
RIVER
Final betting round after the fifth community card is dealt.
- Type:
str
-
SHOWDOWN
Players reveal hands and the winner is determined.
- Type:
str
-
HAND_COMPLETE
Hand has ended; preparing for the next hand.
- Type:
str
-
GAME_OVER
Game has ended (not enough players with chips).
- Type:
str
-
__init__(*args, **kwds)
Attributes