fix(games): complete font (U/W + A-Z), fix Tetris gravity, frame + center overlays

- Font: add missing glyphs (U, W and complete A-Z) to both Snake and
  Tetris 5x7 bitmap fonts so PAUSE/RESUME/NEW GAME render correctly.
- Tetris: the gravity loop never advanced nextTick after a step, so the
  piece dropped almost instantly every frame. Advance nextTick by speed
  after each step (matching Snake) so gravity honours the configured rate.
- Both: draw a 1px frame around the whole 240x296 window (right/bottom
  edges were previously absent) and clear the playfield to black behind
  PAUSE/GAME OVER text for contrast.
- Both: fix centering of overlay labels (GAME OVER, 5 RESUME, 5 NEW GAME).
This commit is contained in:
Luxferre
2026-10-23 15:30:29 +03:00
parent 3eb54e4306
commit 6bf4139263
6 changed files with 39 additions and 11 deletions
Binary file not shown.
Binary file not shown.