Working on poker logic.

This commit is contained in:
2021-09-25 01:36:25 -07:00
parent 425faff720
commit 914741c175
7 changed files with 222 additions and 74 deletions

View File

@ -96,6 +96,16 @@ uint8_t pokerBetGetRemainingPlayer(
pokerbet_t *bet, pokerplayer_t *players, uint8_t roundSmallBlind
);
/**
* Returns the count of players who are still available to bet. This does not
* consider any round logic, simply whether or not they COULD bet.
*
* @param bet Betting instance
* @param players Players array.
* @return Count of players who can still bet.
*/
uint8_t pokerBetGetRemainingPlayerCount(pokerbet_t *bet,pokerplayer_t *players);
/**
* Takes the current blinds from the correct players.
*