mortspace/playcaptcha — reverse-engineered prompt
Reverse engineered prompt
Build me a playful React captcha component that feels like a little claw machine game. The card should ask the user to grab a specific toy, let them move the claw with either a joystick control or the arrow keys, press a big red button to drop the claw, then carry the toy to a hatch and release it. If they grabbed the right toy, call an onVerify callback. If they grabbed the wrong one, it should bounce off the lid and fall back into the pile. If no target is provided, pick a random toy each time. If a target is provided, use that exact toy.
Please make it easy to drop into another app, with a title prop, className, and an asset base path for the toy images and logo. I also want simple theming through CSS variables. Make sure the whole thing works well from the keyboard, including space or enter, and respects reduced motion settings.
Keep it smooth and lightweight, and treat it like a fun human check that sits in front of a real verification step. Look up current docs online if you need to.
Want more depth? Deep Reverse