poCker
|
Represents a single player. More...
#include <player.h>
Public Attributes | |
PlayingCard * | current_hand [CARDS_PER_PLAYER] |
Player's hole cards. | |
bool | folded |
Tells if this player has already folded their cards in the current round. | |
int | funds |
Player's current amount of funds. If this number reaches 0, the player looses. | |
bool | isHuman |
Whether or not this Player is controlled through AI or by human. | |
int | past_decisions [MAX_ROUNDS_PER_GAME *(MAX_BETS_PER_ROUND+1)] |
Contains a log of this Player's past decision in the current game. | |
int | past_decisions_size |
Current size of the past_decisions array. | |
int | scores [SCORE_TABLE_SIZE] |
A score table for individual hand ranks to help break up ties. See handranking.c for more info. | |
bool | tappedout |
Tells if this player has tapped out in the current round. | |
unsigned int | tappedout_funds |
The amount of funds the pot held at the time of this Player tappingout. If they win the showdown, this Player will receive only this much. | |
Represents a single player.
int Player::past_decisions_size |
Current size of the past_decisions array.
The greatest value of this variable would be a scenario where a Player checks, and then calls all subsequent MAX_BETS_PER_ROUND raises, on every betting round.