MarkovJunior: WFC author's 8.5k-star tool generates connected dungeons and 3D buildings from a few rules
Promptmethus · x · 2026-11-28
- MarkovJunior (MIT license, 8,543 GitHub stars) by Maxim Gumin, author of the Wave Function Collapse algorithm, turns complex procedural map generation into a few intuitive rule-replacement rules — like writing "match-3 color swaps" instead of thousands of lines of coordinate logic.
- Why it matters for roguelike/indie devs:
- Built-in pathfinding and conditional reasoning guarantee stairs, doors and exits stay 100% reachable while buildings grow, avoiding dead-end maps;
- Ships 160+ ready-made XML templates in models/ (dungeons, villas, towers, Sokoban puzzles, river islands) — tweak a few lines to generate fresh maps.
- Actionable: the author shares a plain-language prompt you can paste into Claude Code or Codex to have AI adapt this rule-based generation approach into your own project.
More from coding & agent
- AFK Pilot ships: run 6 coding agents (Claude, Codex, Grok, Antigravity) in one editor, 200K+ installs — PawelHuryn · 2026-11-28
- Uber evals 1M agent skill invocations a month; Beaker automates the failure-to-PR loop — VictorSanh · 2026-11-28
- Dev runs 7-second build bot for free on Cloudflare Durable Objects — aloncarmel · 2026-11-28
- AFK Pilot Desktop ships: run Claude Code, Codex, Grok and Muse agents without an IDE — PawelHuryn · 2026-11-28
- Agent402 open-sources pay-mcp, giving MCP agents a capped wallet to pay x402 APIs in USDC — alex_verem · 2026-11-28
- Stitch.ai builder: 50 integrations don't mean an AI agent can finish the job — Glittering_Guess2741 · 2026-11-28