This commit is contained in:
2022-01-15 20:00:41 -08:00
parent 4d9152a6a3
commit 8431c82044
4 changed files with 18 additions and 14 deletions

View File

@@ -294,11 +294,11 @@ void pokerAi(uint8_t player, pokerturn_t *turn) {
turn->confidence = confidence;
if(amount == plyr->chips) {
turn->type == POKER_TURN_TYPE_ALL_IN;
turn->type = POKER_TURN_TYPE_ALL_IN;
} else if(amount == callBet) {
turn->type = POKER_TURN_TYPE_CALL;
} else {
turn->type == POKER_TURN_TYPE_BET;
turn->type = POKER_TURN_TYPE_BET;
}
} else if(pokerCanPlayerCheck(player)) {