...

/

Creating Cellular Automata Maps

Creating Cellular Automata Maps

Learn about cellular automata maps.

We’ve an empty map builder and have ported our room-based builder to use traits. It’s time to explore some more interesting dungeon generators.

Cellular automata

Cellular automata is a fun algorithm that starts with completely random chaos, but order gradually emerges as rules are applied repeatedly. This type of algorithm is great for producing organic-looking levels, such as a forest with clearings or an old cavern network. It was first popularized in Conway’s Game of Life.

Cellular automata theory

Cellular automata was originally designed to simulate organic life. Each map tile independently lives (becomes a wall) or dies (becomes open space) based on a count of its neighbors. We keep running iterations until we’ve a usable map. We can visualize the algorithm applied to each tile ...