Skip to content

🎨 Palette: Improved CLI Feedback and Inclusive Achievements#118

Open
aidasofialily-cmd wants to merge 1 commit intomainfrom
palette/improved-cli-ux-and-achievements-2224357383521055628
Open

🎨 Palette: Improved CLI Feedback and Inclusive Achievements#118
aidasofialily-cmd wants to merge 1 commit intomainfrom
palette/improved-cli-ux-and-achievements-2224357383521055628

Conversation

@aidasofialily-cmd
Copy link
Owner

This PR implements several micro-UX improvements to the SPEED CLICKER CLI game:

  1. Clean Terminal Updates: Added the \033[K ANSI escape sequence to the \r (carriage return) output lines. This ensures that when the UI updates in-place, any "ghost" characters from previous, longer lines are properly erased, providing a polished and professional look.
  2. Visual Feedback: The countdown digits are now highlighted in Bold Yellow, and the "GO!" prompt is displayed in Bold Green, making the start of the game more engaging and clear.
  3. Real-time Motivation: The gameplay UI now displays the current high score alongside the player's score, providing immediate context for their progress.
  4. Inclusive Achievements: Previously, the "NEW BEST!" indicator and final congratulations were only shown if the player already had a non-zero high score. This change ensures that even first-time players feel a sense of accomplishment upon completing their first session.

All changes were verified with local builds, automated UX checks, and manual inspections of the terminal output.


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

- Added CLR_ERASE (\033[K) to ensure clean terminal updates by clearing residual characters.
- Colorized countdown digits (Yellow) and "GO!" prompt (Green) for better visual feedback.
- Implemented real-time high-score tracking (Score | High) in the gameplay UI.
- Made achievement feedback ("NEW BEST!") and final congratulations inclusive for first-time players by removing the initialHighscore > 0 check.
- Updated .Jules/palette.md with new UX learnings.

Co-authored-by: aidasofialily-cmd <247843425+aidasofialily-cmd@users.noreply.github.com>
@google-labs-jules
Copy link
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