cURL DOOM
DOOM, played over curl .
HTTP server rendering DOOM frames into ANSI half-blocks, streamed to the terminal over HTTP with cURL.
No install, no dependencies except curl and bash .
Two ways to play
1. The friendly way: curl | bash
curl -sL http://localhost:3000 | bash
How does it work?
GET / is content-negotiated: a curl gets back play.sh with __SERVER__ rewritten to whichever host you fetched it from. The script runs the per-keystroke /tick loop, handles stty , the alternate screen, the cursor, and cleanup.
A browser hitting the same URL gets a tiny landing page that just shows the one-liner.
... continue reading