Embedded Game Loop
Goal
Keep controls responsive while redrawing on a constrained SPI panel.
Design
Main loop sequences input, gravity tick, collision, scoring, and redraw with a compact board representation.
Challenges
- Panel init quirks differ by ST7735 variant.
- Overdraw kills responsiveness.
Iterations
- Logic on serial
- Two-button prototype
- Full handheld controls
Final implementation
Playable on-device Tetris with scoring and sound cues.
Game loop, rendering, and controls on the Nano.