Overview
Drunkard's Walk carves or marks cells as a random walker steps around, creating winding organic shapes.
Generates paths or caves by moving a random walker through a grid.
Compact metadata for implementation and discovery.
Drunkard's Walk carves or marks cells as a random walker steps around, creating winding organic shapes.
Quick facts
Runtime and memory behavior at a glance.
Best
O(s)
Average
O(s)
Worst
O(s)
Space
O(n)
Show a wandering path carving open cells.
Drunkard's Walk operates in O(s) time and O(n) space within the Random Walk Generation family. Often compared with Cellular Automata Cave Generation and Binary Space Partitioning Dungeon Generation.
What each reference supports for this entry.
Procedural-generation reference supporting Drunkard's Walk constraint solving, constructive generation, terrain, dungeon, or stochastic content workflow.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Procedural Generation · Extended
BSP creates planned room layouts while random walks carve organic paths.
Compare with thisDrunkard walks and cellular automata are both stochastic grid techniques for cave-like layouts.