aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-07-03 02:28:21 -0600
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-07-03 02:28:21 -0600
commit416a5cbab21c480ae9e85b07fd9424452cbcb611 (patch)
treed88c3ac221dfceeab64a53963ab4113d3a75d39e /src/main.c
parente6fb000c6874874d50d94eee4b1c8e889f6791f1 (diff)
A little first day shit
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;
}