Added FLOP action

This commit is contained in:
2021-07-28 09:52:29 -07:00
parent c3b0ad7950
commit b89f27f3ec
8 changed files with 140 additions and 10 deletions

View File

@ -6,7 +6,10 @@
#pragma once
#include "../libs.h"
#include "../engine/engine.h"
#include "poker/pokergame.h"
#if SETTING_GAME == SETTING_GAME_POKER
#include "poker/pokergame.h"
#endif
/** Describes the current game */
typedef struct {
@ -15,6 +18,7 @@ typedef struct {
/** Engine for the game */
engine_t engine;
/** Poker Game */
pokergame_t pokerGame;
#if SETTING_GAME == SETTING_GAME_POKER
pokergame_t pokerGame;
#endif
} game_t;

View File

@ -4,7 +4,10 @@
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#define SETTING_GAME "poker"
// Game Definitions
#define SETTING_GAME_POKER 1
// Settings
#define SETTING_GAME SETTING_GAME_POKER