diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-03 02:28:21 -0600 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-03 02:28:21 -0600 |
commit | 416a5cbab21c480ae9e85b07fd9424452cbcb611 (patch) | |
tree | d88c3ac221dfceeab64a53963ab4113d3a75d39e /src/main.c | |
parent | e6fb000c6874874d50d94eee4b1c8e889f6791f1 (diff) |
A little first day shit
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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; } |