Skip to content

🎨 Palette: [UX improvement]#26

Open
aidasofialily-cmd wants to merge 2 commits intomainfrom
palette-ux-improvement-17400839020086372730
Open

🎨 Palette: [UX improvement]#26
aidasofialily-cmd wants to merge 2 commits intomainfrom
palette-ux-improvement-17400839020086372730

Conversation

@aidasofialily-cmd
Copy link
Owner

💡 What:

Enhanced the "SPEED CLICKER" CLI game with a more responsive and visually appealing interface.

🎯 Why:

The previous interface lacked visual hierarchy and felt "laggy" because the score only updated on the next timer tick (up to 1 second delay). Toggling "Hard Mode" also created messy new lines that broke the persistent UI.

📸 Before/After:

Before:

  • Plain white text.
  • Score updates only on timer ticks.
  • Mode toggles print new lines, pushing the score down.

After:

  • Bold Green score, Bold Red/Blue mode status, and Bold Yellow controls.
  • Immediate feedback: Score updates the instant you click.
  • Efficient & Clean: Uses poll() with dynamic timeouts for better performance and a persistent single-line score display.

♿ Accessibility:

  • Improved visual contrast and clarity through color coding.
  • More predictable UI behavior by keeping the status on a single line.

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

…ness

- Added ANSI color constants for better visual hierarchy.
- Improved tactile feedback by updating the UI immediately on keypress.
- Optimized the game loop using poll() with a dynamic timeout.
- Added a 'test' target to the Makefile for easier verification.
- Consolidated UI rendering to ensure a clean and consistent display.

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.

- Added ANSI color constants for better visual hierarchy.
- Improved tactile feedback by updating the UI immediately on keypress.
- Optimized the game loop using poll() with a dynamic timeout.
- Added a 'test' target to the Makefile for easier verification.
- Removed redundant Cargo.toml and fixed Rust-based CI for C++ project.
- Created .github/workflows/ci.yml for proper C++ build and testing.

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