🎨 Palette: Add start prompt and 3-second countdown#41
🎨 Palette: Add start prompt and 3-second countdown#41aidasofialily-cmd wants to merge 3 commits intomainfrom
Conversation
- Added "Press any key to start" prompt - Implemented 3-second animated countdown (3-2-1-GO) - Added tcflush to clear input buffer before game starts - Fixed missing color macros and cleaned up redundant code - Ensured proper color reset to prevent terminal color bleeding Co-authored-by: aidasofialily-cmd <247843425+aidasofialily-cmd@users.noreply.github.com>
|
👋 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 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 "Press any key to start" prompt and 3s animated countdown - Implemented input buffer flushing to ensure a fair start - Added C++ CI workflow to test the actual project code - Fixed apisec-scan.yml and rust.yml to skip when not applicable/configured - Cleaned up color implementation and ensured proper terminal reset Co-authored-by: aidasofialily-cmd <247843425+aidasofialily-cmd@users.noreply.github.com>
…n permissions Potential fix for code scanning Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
💡 What:
Added a "Press any key to start" prompt and a 3-second animated countdown (3... 2... 1... GO!) before the game loop begins. Cleaned up redundant/broken color code and ensured consistent ANSI color usage throughout the CLI.
🎯 Why:
The game previously started immediately after printing instructions, which was jarring and didn't give the user time to prepare. The countdown provides a clear transition into gameplay. Using
tcflushafter the countdown ensures that any accidental keypresses during the wait period don't affect the initial score.♿ Accessibility:
PR created automatically by Jules for task 15637108770196434045 started by @aidasofialily-cmd