summaryrefslogtreecommitdiff
path: root/src/main/game/game.h
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-22 00:25:09 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-22 00:25:09 +0200
commitdc9d30ee5ee98f0f4aa024385ce0516fef63305b (patch)
tree72f6484a88aafe43031743dc50d2145736cf8360 /src/main/game/game.h
parentf9080d2f98311b36a76c01a9592272391b638bbe (diff)
downloadtris-dc9d30ee5ee98f0f4aa024385ce0516fef63305b.tar.gz
tris-dc9d30ee5ee98f0f4aa024385ce0516fef63305b.zip
Move the next sign attribute inside TrisGame struct
Diffstat (limited to 'src/main/game/game.h')
-rw-r--r--src/main/game/game.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/game/game.h b/src/main/game/game.h
index d59df85..b90c5fe 100644
--- a/src/main/game/game.h
+++ b/src/main/game/game.h
@@ -25,6 +25,7 @@
typedef struct TrisGame {
int width, height;
list_t *cells;
+ char sign; /* x = cross and o = circle */
} TrisGame;
TrisGame *game_init(int width, int height);