#ifndef _HF_GAME_ #define _HF_GAME_ #include typedef struct Game Game; #include "card.h" #include "field_multiplier.h" #include "teyaku.h" typedef enum GameState { GAME_STATE_INITIALIZING, GAME_STATE_DEALING, GAME_STATE_CALCULATING_FIELD_MULTIPLIER, GAME_STATE_CALCULATING_TEYAKU, } GameState; struct Game { GameState state; bool should_close; Card cards[48]; Texture2D cards_texture; Hand player_hand, left_hand, right_hand, deck, field; FieldMultiplier *field_multiplier; Teyaku player_teyaku, left_teyaku, right_teyaku; }; void initialize_game(Game *g); void run_until_closing(Game *g); #endif