Skip to content

🎨 Palette: Add Start Prompt and Animated Countdown#55

Open
aidasofialily-cmd wants to merge 1 commit intomainfrom
palette/cli-game-ux-start-countdown-5591575676298189231
Open

🎨 Palette: Add Start Prompt and Animated Countdown#55
aidasofialily-cmd wants to merge 1 commit intomainfrom
palette/cli-game-ux-start-countdown-5591575676298189231

Conversation

@aidasofialily-cmd
Copy link
Copy Markdown
Owner

💡 What

Added a "Press any key to start" prompt and a 3-second animated countdown (3... 2... 1... GO!) before the game begins. Also unified the UI rendering logic to prevent flickering and standardized on the CLR_* color macros.

🎯 Why

The game previously started immediately or without a clear transition from the menu/instructions. This was jarring for users and didn't allow them time to prepare their hands for a speed-clicking task.

📸 Before/After

Before: The game would show instructions and wait for a single tick or input to show the score line immediately.
After:

  1. Press any key to start...
  2. Starting in 3... -> Starting in 2... -> Starting in 1... -> Starting in GO!
  3. Clean, consistent score UI.

♻️ Accessibility

  • Added clear visual cues for game state transitions.
  • The countdown is responsive and can be interrupted by the quit key ('q'), ensuring the user is never "trapped" in an animation.
  • Used high-contrast bold colors for important status indicators.

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

Introduces a 'Press any key to start' prompt and a responsive 3-2-1
countdown before active gameplay. This provides a better transition
from the menu to the game and allows user preparation. Also cleans
up redundant UI rendering to prevent flickering.

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