🎨 Palette: High Score & Countdown UX Improvements#53
Conversation
- Added High Score persistence using `highscore.txt`. - Implemented a "Press any key to start" prompt and an animated 3-2-1 countdown. - Consolidated redundant UI output in the game loop. - Added input buffer flushing after the countdown for a fair start. - Updated `.gitignore` to exclude the high score file. Co-authored-by: aidasofialily-cmd <247843425+aidasofialily-cmd@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
💡 What: This PR introduces high score persistence and a pre-game countdown to the Speed Clicker game.
🎯 Why: Previously, the game started abruptly, and scores were lost upon exit. These changes provide a better sense of progression and give the player a moment to prepare.
♿ Accessibility: Improved keyboard interaction by ensuring the game starts only when the user is ready and providing clear visual cues during the countdown.
📸 Before/After:
Before: Game starts immediately with "Score: 0".
After: "Press any key to start..." -> "Starting in 3... 2... 1... GO!" -> "Score: 0 | High: 100".
PR created automatically by Jules for task 17206905199954860233 started by @aidasofialily-cmd