hanafuda/game.h
2025-02-02 18:30:45 -05:00

21 lines
310 B
C

#ifndef _HF_GAME_
#define _HF_GAME_
#include <stdbool.h>
typedef struct Game Game;
#include "card.h"
struct Game {
bool should_close;
Card cards[48];
Texture2D cards_texture;
Hand player_hand, left_hand, right_hand, deck;
};
void initialize_game(Game *g);
void run_until_closing(Game *g);
#endif