aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a17c709..c0333c9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2,6 +2,13 @@
#include "game.h"
int main(int argc, char ** argv) {
- puts("hihi");
+ Game game;
+ initGame(&game);
+
+ while (!WindowShouldClose()) {
+ updateGame(&game);
+ }
+
+ closeGame(&game);
return 0;
}