22 Commits

Author SHA1 Message Date
ea2095b34f add movement key aliases to wasd and hjkl 2025-04-07 13:58:13 +02:00
e09b52c9ed snake now moves in reaction to itself
- natural snake movement for whole body
2025-04-06 11:51:01 +02:00
a14525e027 fix movement animation 2025-04-06 02:28:04 +02:00
09f67d23c4 embed player in state instead of pointer 2025-04-06 02:15:03 +02:00
a7dd4d330c fix snake using vector and arena 2025-04-06 01:47:06 +02:00
eddf71a2b4 !!! use arena and vector 2025-04-06 00:16:19 +02:00
98a26c71f3 utils: implement integer vector 2025-04-02 12:31:05 +02:00
0f0fa04661 make snake move and change directions 2025-04-01 00:24:40 +02:00
f333df66ff pad the game grid 2025-03-31 02:11:36 +02:00
5e6b3af3fc add proper grid with padding 2025-03-31 01:31:31 +02:00
5a7c0cc00a feat: add dracula color macros 2025-03-31 01:18:09 +02:00
60f1de2f64 arena: move kb macro 2025-03-31 01:17:47 +02:00
b76dce3d44 feat: implement utils/arena.c 2025-03-01 19:51:06 +01:00
f11b8a4a60 style: format in 2 spaces instead 2025-03-01 18:14:34 +01:00
b0e5dc8cb0 chore: add clean makefile job 2025-02-09 09:03:58 +01:00
deb843a25a feat: movement with time delta demo 2025-02-02 17:11:48 +01:00
afc8cf41a3 feat: draw game grid with colors 2025-02-01 20:50:32 +01:00
1f35e4ebd1 feat: initialize game grid and log it 2025-02-01 18:51:18 +01:00
d518cf4af6 feat: run example project with SDL3 2025-02-01 10:24:02 +01:00
4f129a157e chore: configure clangd lsp+formatting 2025-02-01 10:22:33 +01:00
b7ec69306f chore: add nix deps. management 2025-02-01 10:21:44 +01:00
Fredrik Robertsen
1630ae7695 Initial commit 2025-02-01 09:34:57 +01:00