Still working on testing
This commit is contained in:
@@ -189,7 +189,9 @@ void pokerAi(uint8_t player, pokerturn_t *turn) {
|
||||
} else {
|
||||
// Simulate my hand being the winning hand, use that as the confidence
|
||||
// TODO: Repurpose old code lmao. Just take it from Dawn-C
|
||||
BGB_printf("Holy shit you guys");
|
||||
pokerWinnerGetForPlayer(player, &winning);
|
||||
BGB_printf("Winning type %u", winning.type);
|
||||
confidence = pokerWinnerGetTypeConfidence(winning.type);
|
||||
}
|
||||
|
||||
|
@@ -44,3 +44,14 @@ inline uint8_t pokerGetRemainingBetterCount();
|
||||
void pokerWinnerFillRemaining(pokerplayerwinning_t *winning);
|
||||
void pokerWinnerGetForPlayer(uint8_t playerIndex,pokerplayerwinning_t *winning);
|
||||
inline uint16_t pokerWinnerGetTypeConfidence(uint8_t type);
|
||||
uint8_t pokerWinnerCompare(
|
||||
pokerplayerwinning_t *left, pokerplayerwinning_t *right
|
||||
);
|
||||
void pokerWinnerDetermineForPot(
|
||||
pokerpot_t *pot,
|
||||
pokerplayerwinning_t *winners,
|
||||
uint8_t *winnerPlayers,
|
||||
uint8_t *winnerCount,
|
||||
uint8_t *participants,
|
||||
uint8_t *participantCount
|
||||
);
|
Reference in New Issue
Block a user