Boredom
This commit is contained in:
@ -138,13 +138,13 @@ pokerturn_t pokerTurnGet(poker_t *poker, uint8_t playerIndex) {
|
||||
|
||||
// Did we actually bet?
|
||||
if(amount > 0) {
|
||||
printf("I plan on betting %i chips\n", amount);
|
||||
printf("AI is betting %i chips, bluff: %i\n", amount, isBluff);
|
||||
|
||||
// Let's not get caught in a raising loop with AI.
|
||||
if(player->timesRaised >= POKER_TURN_MAX_RAISES) {
|
||||
amount = callBet;
|
||||
}
|
||||
|
||||
|
||||
amount = mathMax(amount, callBet);
|
||||
turn = pokerTurnRaise(poker, playerIndex, amount);
|
||||
turn.confidence = confidence;
|
||||
|
Reference in New Issue
Block a user