- Tetris: replace pivot-based rotation with explicit 4-state SHAPES
table (classic SRS-style) so rotation is correct and the O piece no
longer drifts on rotate; keep simple wall-kick offsets.
- Both: render immediately after processing input (not only on gravity
steps) so rotation/movement is no longer laggy.
- Both: draw the window frame inset by 2-3px (double line) so the right
and bottom edges are actually visible instead of clipped at the edge.