Files
wadamesh/deploy/apps/tetris
SamandClaude Sonnet 4.6 b4d5e1ff81 feat(apps): Tetris 1.0 — classic falling-block puzzle as a Lua app
Adds Tetris to the app catalog. Full 7-tetromino implementation with:
- Correct piece rotations for all 7 tetrominos (I, O, T, S, Z, J, L)
- Wall kick on rotation (tries +/-1 col when center position collides)
- Hard-drop on swipe-down or Enter/Space
- Soft-drop on keyboard arrow-down
- Score scaling by level (100/300/500/800 x level per 1/2/3/4 lines)
- Speed increase every 10 lines cleared (700ms to 80ms floor)
- Next-piece preview and high score persistence via wada.store
- Game-over overlay with tap-to-restart
- Centered layout adapts to any screen width/height

Tested against the wada.* API contract (integer coords, canvas bounds,
store string/number restriction, instruction budget per tick).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-10-02 22:13:07 +02:00
..