Fixed betting bugs.
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
#include "../libs.h"
|
||||
#include "player.h"
|
||||
#include "../util/math.h"
|
||||
#include "../util/array.h"
|
||||
|
||||
/** How many chips each player has by defautl */
|
||||
#define POKER_BET_PLAYER_CHIPS_DEFAULT 10000
|
||||
@ -41,7 +42,7 @@ void pokerBetInit(pokerbet_t *bet);
|
||||
/**
|
||||
* Resets the bet state (for a new round).
|
||||
*
|
||||
* @param bet
|
||||
* @param bet Betting stating.
|
||||
*/
|
||||
void pokerBetReset(pokerbet_t *bet);
|
||||
|
||||
@ -97,8 +98,7 @@ uint8_t pokerBetGetRemainingPlayer(
|
||||
);
|
||||
|
||||
/**
|
||||
* 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.
|
||||
* Returns the count of players who are still needing to bet.
|
||||
*
|
||||
* @param bet Betting instance
|
||||
* @param players Players array.
|
||||
|
Reference in New Issue
Block a user