Commit Graph
4 Commits
Author SHA1 Message Date
phillip 8bf999c33b Add a main menu scene with Start/Hard Mode/Music options
The game now boots into a menu (Start Game, Hard Mode toggle, Music
toggle) navigated with Up/Down and A/Start, instead of dropping
straight into a match. B returns to the menu from a paused or
game-over state.
2026-09-03 22:27:49 +02:00
phillip 0e7477031f Add cursed apple: a status-effect apple that inverts controls
Eating a cursed apple inverts the snake's steering for
CURSE_DURATION_TICKS ticks, shown on the top screen while active. The
sprite is a recolored copy of the rotten-apple tile since all existing
sprite tiles are already in use.
2026-09-03 22:27:22 +02:00
phillip df9b859601 Apply clang-tidy style fixes to audio and input code
Use explicit != 0U comparisons for bitmask checks, static_cast instead
of C-style casts, <cstdint>/<cstdio> instead of the C headers, and
puts() instead of iprintf() for plain strings.
2026-09-03 22:21:51 +02:00
phillip b873ac24ca Let AI refactor everything and see if it breaks. 2026-03-29 00:59:27 +01:00