Split the game core and ui code into their respective modules

Game state struct ends the variable mess in main.c
This commit is contained in:
2026-03-06 15:24:33 +01:00
parent 2301914b02
commit eb8834324e
6 changed files with 287 additions and 255 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ CFLAGS = -Wall -Wextra -std=c11
LIBS = -lraylib -lm -lpthread -ldl
TARGET = main
SRC = main.c
SRC = main.c game.c ui.c
all: $(TARGET)