diff options
author | 2025-05-22 00:28:31 +0200 | |
---|---|---|
committer | 2025-05-22 00:28:31 +0200 | |
commit | d69c230773d63f33dccf5425c6f789fc2f447dab (patch) | |
tree | 4bc372c98a92219f46b0bba146fe03a25aa119de /src/main/game/game.h | |
parent | dc9d30ee5ee98f0f4aa024385ce0516fef63305b (diff) | |
download | tris-d69c230773d63f33dccf5425c6f789fc2f447dab.tar.gz tris-d69c230773d63f33dccf5425c6f789fc2f447dab.zip |
Move the 'moves' attribute inside the TrisGame struct
Diffstat (limited to 'src/main/game/game.h')
-rw-r--r-- | src/main/game/game.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/game/game.h b/src/main/game/game.h index b90c5fe..6b9231c 100644 --- a/src/main/game/game.h +++ b/src/main/game/game.h @@ -26,6 +26,7 @@ typedef struct TrisGame { int width, height; list_t *cells; char sign; /* x = cross and o = circle */ + int moves; } TrisGame; TrisGame *game_init(int width, int height); |