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:
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user