summaryrefslogtreecommitdiff
path: root/src/main/game/game.h
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-22 12:34:20 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-22 12:34:20 +0200
commit0c7a2228b73f48ce58159af77fdf55cf9c682422 (patch)
tree1c3dd7b2e01768b43a3463607d1bd4bd978ba7ca /src/main/game/game.h
parent4c3cee6bf51ecba1cd03c457e3facc1947e9fedc (diff)
downloadtris-0c7a2228b73f48ce58159af77fdf55cf9c682422.tar.gz
tris-0c7a2228b73f48ce58159af77fdf55cf9c682422.zip
Add some default background
Diffstat (limited to 'src/main/game/game.h')
-rw-r--r--src/main/game/game.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/game/game.h b/src/main/game/game.h
index d119f67..f30296c 100644
--- a/src/main/game/game.h
+++ b/src/main/game/game.h
@@ -24,9 +24,11 @@
#include "cell.h"
#include "../engine/engine.h"
+#include "domain/board.h"
typedef struct TrisGame {
int width, height;
+ Board *board;
Cell *cells[BOARD_SIZE];
char sign; /* x = cross and o = circle */
int moves;