diff options
Diffstat (limited to 'src/main/game/game.h')
-rw-r--r-- | src/main/game/game.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/game/game.h b/src/main/game/game.h index 6b9231c..3d10bea 100644 --- a/src/main/game/game.h +++ b/src/main/game/game.h @@ -20,11 +20,13 @@ #ifndef __GAME_H__ #define __GAME_H__ -#include "../util/list.h" +#define BOARD_SIZE 9 + +#include "cell.h" typedef struct TrisGame { int width, height; - list_t *cells; + Cell *cells[BOARD_SIZE]; char sign; /* x = cross and o = circle */ int moves; } TrisGame; |