Brought over unfinished ai code.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include "card.h"
|
||||
#include "player.h"
|
||||
#include "pot.h"
|
||||
#include "turn.h"
|
||||
|
||||
#define POKER_COMMUNITY_SIZE_MAX 5
|
||||
#define POKER_HUMAN_INDEX 0x00
|
||||
@@ -32,9 +33,10 @@ extern uint8_t POKER_PLAYER_BETTER;
|
||||
extern uint16_t POKER_GAME_BLINDS_CURRENT;
|
||||
|
||||
void pokerInit();
|
||||
|
||||
void pokerNewRound();
|
||||
|
||||
inline void pokerBet(uint8_t player, uint16_t amount);
|
||||
|
||||
inline uint8_t pokerGetCallBet(uint8_t player);
|
||||
inline uint8_t pokerGetCallBet(uint8_t player);
|
||||
inline bool pokerCanPlayerCheck(uint8_t player);
|
||||
inline bool pokerDoesPlayerNeedToBet(uint8_t playerIndex);
|
||||
inline uint8_t pokerGetRemainingBetterCount();
|
||||
void pokerAi(uint8_t player, pokerturn_t *turn);
|
Reference in New Issue
Block a user