Factor game logic into own module

This commit is contained in:
2025-10-18 17:43:22 +01:00
parent cbe0d42c3c
commit c1f339484b
4 changed files with 318 additions and 287 deletions

View File

@@ -8,4 +8,4 @@ defs="-D_POSIX_C_SOURCE=200809L"
$cc $warn $flags $libs $defs \
-o asteroids \
fb.c input.c main.c maths.c renderer.c
fb.c game.c input.c main.c maths.c renderer.c