- Added mode/difficulty/restart key handlers to Input._handleKeyDown - Rewrote GameLoop.main() with full state machine (modeSelect, diffSelect, playing, scored, gameover) - Added score detection in GameLoop (ball exits left/right edge) - Added 1s pause after score then auto-serve - Added match-end check (first to 7 wins) with winner overlay - Added center divider line and real-time score display - Renders both paddles during gameplay - Removed Physics out-of-bounds auto-serve (GameLoop now owns scoring) - Removed Phase 1 debug speed display - Added pauseTime field to GameLoop
20 KiB
20 KiB