·1 min read·
Doomtcha: CAPTCHA But It's DOOM
#cpp#wasm#game-dev
Doomtcha
Kill Ops to prove you're a human.
Doomtcha is a "CAPTCHA" that requires users to prove they are human by slaying demons in the classic 1993 game DOOM.
Why?
We've all clicked on crosswalks and identified traffic lights. It's boring. I wanted a CAPTCHA that was actually fun. If you can strafe, aim, and shoot a pixelated demon, you're probably not a bot (or you're a very advanced AI agent, in which case, touché).
Tech Stack
- C++: The original DOOM source code.
- WebAssembly (WASM): Compiled using Emscripten to run in the browser.
- HTML5 Canvas: To render the game.
How It Works
The user is presented with a mini DOOM level. To "pass" the CAPTCHA, you must kill a specific number of enemies within a time limit.
Check out the source code on GitHub.