🎨 Palette: [UX improvement] Comma formatting and enhanced achievement feedback#327
🎨 Palette: [UX improvement] Comma formatting and enhanced achievement feedback#327aidasofialily-cmd wants to merge 1 commit into
Conversation
…T!" feedback - Added `src/utils.hpp` with a `formatWithCommas` helper function to improve score readability. - Updated `src/main.cpp` to use `formatWithCommas` for Personal Best, current Score, High Score, and Final Score displays. - Enhanced the "NEW BEST! 🥳" message with `CLR_CTRL` (Bold Yellow) and added context by showing the previous high score (e.g., "was 1,000"). - Verified changes with unit tests and existing UX validation scripts. 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: The UX enhancement added
Introduced thousands-separator (comma) formatting for all score displays in the "Speed Clicker" game. Also enhanced the visual feedback when a player achieves a new personal best by colorizing the message and providing context (showing the previous high score).
🎯 Why: The user problem it solves
Raw integers like
1000000are harder to read at a glance than formatted numbers like1,000,000. In a fast-paced "Speed Clicker" game, immediate readability is crucial for player engagement. Additionally, the "NEW BEST!" message now provides immediate context on how much the player improved by showing the previous record.♿ Accessibility: Any a11y improvements made
CLR_CTRL).PR created automatically by Jules for task 1500030195771282499 started by @aidasofialily-cmd