Julia09055x
eac493e412
Spielzyklus in main mit GET_TIME_MS() realisiert
2023-12-13 09:16:05 +01:00
Julia09055x
aa242676e9
Test: clocks_per_sec
2023-12-12 16:35:12 +01:00
Julia09055x
5c99e2ac79
main: delay und processInput in jedem Schleifendurchlauf
2023-12-12 13:10:09 +01:00
Julia09055x
4f51654b72
main mit now-Funktion (lt.Flowchart) und globale Variablen aus game für window und renderer
2023-12-12 11:56:08 +01:00
jonny_jr9
72ca020f27
Fix 'redefinition error' on win. - compiles, runs
2023-12-10 18:14:24 +01:00
jonny_jr9
ac5873c9e7
Fix bug SDL-window freezing on windows
...
apparently SDL window freezes on windows,
when the input events are not repeatedly handled.
2023-12-10 18:03:02 +01:00
jonny_jr9
a56c78e1ee
Merge branch 'testing' into dev
2023-12-10 17:05:29 +01:00
Julia09055x
e66567d232
Snake bewegt sich, Fenster wird mit Portal und Food erstellt
2023-12-10 16:52:20 +01:00
Julia09055x
668860a6a0
quadratisches SDL-Fenster öffnet sich
2023-12-09 15:45:06 +01:00
jonny_jr9
3c0f837daa
Add new map "empty", Increase game speed
2023-12-04 23:12:33 +01:00
jonny_jr9
ad1dd7f5c3
Add tests, Disable collision - Game runs in console!
...
currently starts SDL window and repeatedly renders the game to console.
The snake can be controlled with arrow-keys while the SDL-window is focused.
main: add 3 test sections for testing certain functions that can be enabled using a macro variable
game.c: temporarily disable collision, otherwise confusing state because main and menu not implemented yet.
2023-12-03 22:16:55 +01:00
Julia09055x
d92175317d
Update all header files
2023-11-09 15:13:10 +01:00
jonny_jr9
7309707a97
Change folder structure (Add folders: src, include)
...
Add src folder for all .c and include folder .h files
=> clearer structure, no documents mixed into code files
2023-11-08 20:41:21 +01:00