SNAKE game v0.3: round screen, swipe control

- 16x16 grid, 320px board centered on round 466 screen, designWidth 466
- pure snake logic in src/common/snake.js (step/turn/rotateDir/spawnFood, TDD'd)
- for-directive segment rendering, show-gated game-over overlay, 300ms tick
- swipe direction input (crown rotation confirmed unsupported on Vela S4)
- tests: snake logic + page wiring
This commit is contained in:
2026-09-09 15:09:23 +01:00
commit e618c02c1b
13 changed files with 10875 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
/tmp/hw/node_modules