aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-07-03 21:34:28 +0000
committernathan <nathansmith@disroot.org>2025-07-03 21:34:28 +0000
commitd67fc3baa8180703f2280738d13335cb9665b348 (patch)
treec336f48d86b7dc6296562a068b4828177b5b47a6 /src/main.c
downloadFindThings-d67fc3baa8180703f2280738d13335cb9665b348.tar.gz
FindThings-d67fc3baa8180703f2280738d13335cb9665b348.tar.bz2
FindThings-d67fc3baa8180703f2280738d13335cb9665b348.zip
first commit
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..9cc6f5e
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,15 @@
+#include "game.h"
+
+int main (int argc, char** argv)
+{
+ Game game;
+ initGame(&game);
+
+ while (!WindowShouldClose())
+ {
+ updateGame(&game);
+ }
+
+ closeGame(&game);
+ return 0;
+}