Skip to content

🥚 feat: add Konami Code detection hook#6

Open
mygithubappforkaushal[bot] wants to merge 2 commits into
mainfrom
resolveai/feat-add-konami-code-detection-hook-mp2fozuv
Open

🥚 feat: add Konami Code detection hook#6
mygithubappforkaushal[bot] wants to merge 2 commits into
mainfrom
resolveai/feat-add-konami-code-detection-hook-mp2fozuv

Conversation

@mygithubappforkaushal

Copy link
Copy Markdown

Adds a reusable useKonamiCode hook that listens for the classic
↑↑↓↓←→←→BA key sequence. Returns a boolean that flips to true
for 3 seconds when the code is entered successfully.

This is the first half of a two-part easter egg.

Co-authored-by: Resolve AI code-agent@resolve.ai

Adds a reusable `useKonamiCode` hook that listens for the classic
↑↑↓↓←→←→BA key sequence. Returns a boolean that flips to `true`
for 3 seconds when the code is entered successfully.

This is the first half of a two-part easter egg.

Co-authored-by: Resolve AI <code-agent@resolve.ai>
Imports the useKonamiCode hook and renders a glowing radioactive
overlay when the player enters the Konami Code during a race.

The overlay shows for 3 seconds with a pulsing green glow,
bouncing radioactive icon, and a tongue-in-cheek +9000 horsepower message.

This is commit 2/2 of the easter egg feature.

Co-authored-by: Resolve AI <code-agent@resolve.ai>
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