ƒ

calculang ✍️ editable and dangerous! 🧙‍♂️⚠️
javascript ✨ generated from calculang ⬆️
dev tools 🧰

🎨 dungeon generator

inputs ⚙️
🦸 denotes the player; 🦸 intends to collect 💰 (superheroing is costly business); there are only pesky 👾 and 👹 in the way.

output

is the first visual below; others are things I used during development.

Speaking of development: drag this back and then forwards to watch the dungeon evolution and decision-making:
calculang 🔍💬🧮 This dungeon generator is made with calculang, a language for calculations for transparency and certainty about numbers 🔍💬🧮
(dungeons are maths too)

On left/top, you can find and edit the formulas (but this is WIP and very dangerous).

Better to find the source code on GitHub and PRs are welcome.

Tell me if you want to make 🦸 a playable character! (x 👹 and 👾) You won't even need to pay me royalties. Try raycasting?

inspiration 🧙

The basis of this is something impressive I found written in C. Mine is slower! But I'll leave a broader comparative analysis for another time or for someone else!

Here is the pretty dungeon generator by Bob Nystrom, but I very closely followed the logic from this helpful commented version.