- The amount of money each player starts with (default 100)
- The amount of the small blind for each turn (default 2) Note: Minimum bet for each round will be 2 * small blind
- The amount of rounds before the blinds double (default 3)
- Player_id is key for all money that player has put in for current round
- returns true or false if a player is still in the match
- returns budget of player
- list of all players regardless of being active or not
- getDealer
Returns the player object of the dealer - getHand -> player_id
Returns the 2 card hand of the player with player_id - getSmallBlind
Returns the small blind amount - getBigBlind
Returns the big blind amount - getBigBlindPlayer
Returns the player object of the big blind - getSmallBlindPlayer
Returns the player object of the small blind
- getWinner
Returns the player object of the round winner - getWinnings
Returns the amount of money the player won - getType
Returns the way the player won the round
- getTurnState
Returns the name of the turn (i.e. preflop, flop, turn, river) - getFlippedCards
Returns the cards that have been flipped for each turn
Note: No cards are flipped during preflop
- getBetter
Returns the player who needs to bet - getValidActions
Returns a list of valid bet functions the player can use
- getPreviousBetter
Returns the player who just betted - getBetType
Returns the type of bet action the player did - getBetAmount
Returns the amount of money the player just bet (if any)
- getWinner
Returns the player object of the winner of the whole match
- getError
Returns error message
- Raises the current max bet by bet_amount
- Eliminates player from round
- Matches the current max bet
- Player currently has the same amount as max bet, can opt to not add more money