🎨 Palette: Improve score readability and achievement feedback#325
🎨 Palette: Improve score readability and achievement feedback#325aidasofialily-cmd wants to merge 1 commit into
Conversation
Implemented a `formatWithCommas` utility to improve the readability of large numeric scores in the terminal UI. Enhanced the "NEW BEST!" achievement feedback by colorizing it and providing context (the previous high score). - Added `src/utils.hpp` with `formatWithCommas` helper. - Updated `src/main.cpp` to use comma formatting for all score displays. - Improved the "New Best" visual feedback in the game loop. - Verified logic with unit tests and UX standards with `verify_ux.py`. 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. |
This PR introduces a micro-UX improvement to the "Speed Clicker" game by enhancing numeric readability and achievement feedback.
💡 What:
formatWithCommashelper function to handle largelong longintegers.🎯 Why:
Large numbers are difficult to parse quickly in a fast-paced game. Comma formatting makes the score immediately readable. Providing the "was [score]" context for new records makes the achievement feel more substantial and rewarding.
♿ Accessibility:
PR created automatically by Jules for task 14510791986890348224 started by @aidasofialily-cmd