Refactoring some of the poker game logic again.

This commit is contained in:
2021-07-27 09:49:54 -07:00
parent 2a4b1fa8da
commit cf4d4cd710
36 changed files with 99 additions and 304 deletions

View File

@ -6,11 +6,7 @@
#pragma once
#include "../libs.h"
#include "../engine/engine.h"
#include "../poker/poker.h"
/** Name of the current game */
#define GAME_NAME "Dawn"
#include "poker/pokergame.h"
/** Describes the current game */
typedef struct {
@ -19,6 +15,6 @@ typedef struct {
/** Engine for the game */
engine_t engine;
/** Poker Game State */
poker_t poker;
/** Poker Game */
pokergame_t pokerGame;
} game_t;

View File

@ -0,0 +1,18 @@
/**
* Copyright (c) 2021 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "../../libs.h"
#include "../../poker/poker.h"
/** Name of the Poker Game */
#define POKER_GAME_NAME "Dawn Poker Game"
typedef struct {
/** Poker Game State */
poker_t poker;
} pokergame_t;