Skip to content

Add option to give up and reveal the answer#435

Merged
jrr merged 3 commits into
jrr:devfrom
abaktiyar:add-give-up
Jun 18, 2026
Merged

Add option to give up and reveal the answer#435
jrr merged 3 commits into
jrr:devfrom
abaktiyar:add-give-up

Conversation

@abaktiyar

Copy link
Copy Markdown

Add a give-up GameAction. Bind it to Ctrl+Q

Add a give-up GameAction. Bind it to Ctrl+Q

@jrr jrr left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution! I definitely want to get this in, but I had a few ideas first.

Comment thread src/ui.tsx
Comment thread src/components/status-text.tsx Outdated
Comment thread src/components/status-text.tsx
- Shorten give-up hint to "Ctrl+Q to give up"
- Delay the hint so it only appears after 15s of play
- Keep Ctrl+Q (Ctrl+G conflicts with VS Code's terminal binding)
@abaktiyar abaktiyar requested a review from jrr June 18, 2026 03:11
@jrr

jrr commented Jun 18, 2026

Copy link
Copy Markdown
Owner

That was quick!

I'm going to futz with modeling inactivity / "show hint" state in redux, but it's working well as-is so I'm going to merge it. Thanks again!

@jrr jrr merged commit c46bcd6 into jrr:dev Jun 18, 2026
3 checks passed
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.

2 participants