aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-02-14 22:20:30 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-02-14 22:20:30 +0000
commitc2d4a7939fe7f06384f9364e7877c618d9466484 (patch)
tree8676f9821c4b766cde64191a5a91f0a6f7812203 /src/main.c
downloadPenguinYippies-c2d4a7939fe7f06384f9364e7877c618d9466484.tar.gz
PenguinYippies-c2d4a7939fe7f06384f9364e7877c618d9466484.tar.bz2
PenguinYippies-c2d4a7939fe7f06384f9364e7877c618d9466484.zip
first commit
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..e2e5e67
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,17 @@
+#include "gameCommon.h"
+#include "game.h"
+#include <raylib.h>
+
+int main(int argc, char** argv)
+{
+ Game game;
+ initGame(&game);
+
+ while (!WindowShouldClose())
+ {
+ updateGame(&game);
+ }
+
+ closeGame(&game);
+ return 0;
+}