Skip to content

🎨 Palette: Comma-formatted scores and enhanced achievement feedback#331

Open
aidasofialily-cmd wants to merge 1 commit into
mainfrom
palette-ux-improvements-14317595766223097071
Open

🎨 Palette: Comma-formatted scores and enhanced achievement feedback#331
aidasofialily-cmd wants to merge 1 commit into
mainfrom
palette-ux-improvements-14317595766223097071

Conversation

@aidasofialily-cmd

Copy link
Copy Markdown
Owner

💡 What: This PR introduces comma-formatting for all numeric scores and enhances the "New Personal Best" achievement feedback.

  • A new header src/utils.hpp provides a formatWithCommas function.
  • Scores in the HUD, initial personal best, and final score summary now use thousands-separators (e.g., 1,234 instead of 1234).
  • The "NEW BEST!" message now includes the previous high score for context (e.g., NEW BEST! ✨🥳 (was 1,000)) and is highlighted in Bold Yellow.

🎯 Why: In a fast-paced "Speed Clicker" game, raw integers become difficult to parse quickly as they grow. Adding commas improves at-a-glance readability. Providing the previous high score context makes reaching a new milestone feel more tangible and rewarding.

Accessibility: Improved readability of numeric information in the terminal UI.


PR created automatically by Jules for task 14317595766223097071 started by @aidasofialily-cmd

- Added formatWithCommas utility in src/utils.hpp for better score readability.
- Integrated formatting into all score displays in src/main.cpp.
- Enhanced "NEW BEST!" achievement message with color, emojis, and context (previous high score).
- Added visual flair to the final congratulations message.

Co-authored-by: aidasofialily-cmd <247843425+aidasofialily-cmd@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant