Settings

Theme

Show HN: Quake in the browser, with procedurally generated levels

leereilly.net

5 points by lee337 21 hours ago · 0 comments · 1 min read

Reader

Quake has been ported to the web plenty of times, so that part isn't new. But I experimented with the GitHub Copilot app and Claude Opus 4.8 to take id Software's original source, compiled the software renderer to WebAssembly with Emscripten.

The cool part: I added support for procedurally generated levels. So after you clear a level, the slipgate opens and you move onto the next random one... with a new room layout, textures, monster placement, working doors with keys, etc. It's pretty challenging.

I also added Soudncloud integration (configurable in Options) so can listen to the new NIN hotness as you play.

Data files aren't included (id's data is still copyrighted), so the build pulls the freely redistributable shareware pak0.pak.

May it entertain you on your coffee / hydration break(s) today!

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection