Ryan Hamamura f454e0d220 feat: add single player snake mode
Add solo mode where players survive as long as possible while tracking
score (food eaten). Single player games start with a shorter 3-second
countdown vs 10 seconds for multiplayer, maintain exactly 1 food item
for classic snake feel, and end when the player dies rather than when
one player remains.

- Add GameMode type (ModeMultiplayer/ModeSinglePlayer) and Score field
- Filter single player games from "Join a Game" lobby list
- Show "Ready?" and "Score: X" UI for single player mode
- Hide invite link for single player games
- Preserve game mode on rematch
2026-02-04 07:33:02 -10:00
2026-02-04 07:33:02 -10:00
2026-02-04 07:33:02 -10:00
2026-02-04 07:33:02 -10:00
2026-02-04 07:33:02 -10:00
Description
No description provided
1.2 MiB
v0.1.8 Latest
2026-03-11 20:22:55 +00:00
Languages
Go 47.4%
CSS 35.6%
templ 13.4%
Shell 3.3%
Dockerfile 0.3%