fix(games): correct Tetris rotation, fix input/render lag, visible window frame

- 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.
This commit is contained in:
Luxferre
2026-10-23 15:47:30 +03:00
parent 6bf4139263
commit 1dd9fac313
6 changed files with 38 additions and 28 deletions
Binary file not shown.
Binary file not shown.