$ ./guess_the_languageGame Dev
Game Dev · medium · #239

How do cellular automata turn random noise into caves?

  1. A random walker carves out the tunnels
  2. Rooms are split with a binary tree
  3. Tiles follow adjacency constraints
  4. Cells flip based on neighbour counts
Each pass makes a cell solid or empty depending on how many neighbours are solid, so scattered noise smooths into organic cave walls.
Play Game Dev ▸