Ryan Hamamura 038c4b3f22 Update via to v0.4.0 and decouple tick rate from snake speed
Use via.OnKeyDownMap for snake keybindings, replacing the manual
dataExpr/rawDataAttr workaround. Window-scoped key handling removes
the need for tabindex/focus hacks, and WithPreventDefault on arrow
keys prevents page scrolling during gameplay.

Introduce a 60 FPS tick loop with a separate snake movement speed
(7 cells/s) so direction input is polled every frame but game state
only advances at the configured rate.
2026-02-02 09:18:13 -10:00
2026-02-02 07:26:28 -10:00
2026-02-02 07:26:28 -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%