Skip to content

🎨 Palette: Enhanced Score Readability and Achievement Context#249

Open
aidasofialily-cmd wants to merge 1 commit into
mainfrom
palette-score-readability-17059707700042153678
Open

🎨 Palette: Enhanced Score Readability and Achievement Context#249
aidasofialily-cmd wants to merge 1 commit into
mainfrom
palette-score-readability-17059707700042153678

Conversation

@aidasofialily-cmd
Copy link
Copy Markdown
Owner

💡 What: This PR enhances the "Speed Clicker" terminal interface by adding thousands separators to all score displays, improving HUD styling consistency, and providing better context for achievements.

🎯 Why: In a fast-paced clicking game, large numeric values (e.g., 10000) become difficult to parse quickly. Adding separators and consistent color-coding improves readability. Providing the previous high score on the game-over screen gives users a better sense of progress and achievement.

Accessibility:

  • Improved visual hierarchy using bold color-coding for labels vs values.
  • Enhanced readability of large numbers through standard formatting.
  • Used CLR_EOL (\033[K) for cleaner terminal updates, reducing visual artifacts during rapid score changes.

🎨 Changes:

  • Implemented formatWithCommas utility in src/main.cpp.
  • Updated Intro, Live HUD, and Game-Over screens to use formatted numbers.
  • Styled HUD labels with CLR_SCORE (Bold Cyan) and "NEW BEST!" with CLR_NORM (Bold Green).
  • Added previous personal best to the "New personal best" congratulation message.

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

- Added thousands separators to score displays via formatWithCommas
- Improved HUD styling with consistent colors and CLR_EOL clearing
- Added previous record context to game-over achievement messages
- Updated Palette journal with CLI UX learnings

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