This commit is contained in:
YourWishes committed 2021-09-27 22:48:28 -07:00
1 parent 25e683b512
commit fa54383d6f
5 files changed
+14 -11

No files matched your search

+2 -2
View File
@@ -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;