diff options
Diffstat (limited to 'src/game.c')
| -rw-r--r-- | src/game.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ #include <stdbool.h> #include <time.h> #include <unistd.h> +#include <assert.h> void init_mainstack(card* stack, const uint32_t size) { @@ -27,7 +28,7 @@ void start_game(void) bool running = true; int cards = MAX_CARD - MIN_CARD + 1; card mainstack[cards]; - gamestate state = STATE_DEALCARDS; + enum gamestate state = STATE_DEALCARDS; int input; srand(time(0)); |
