summaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.c b/src/game.c
index afb8fa0..464d18b 100644
--- a/src/game.c
+++ b/src/game.c
@@ -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));