Game dev
Saved & recent

Procedural generation

Also called: PCG

Related terms: seed, roguelike

Content built by an algorithm instead of by hand: levels, terrain, loot, whole planets. The generator combines random numbers, noise and hand-written rules.

The random numbers start from a seed. The same seed always produces the same result, so a huge world can be stored, or shared with a friend, as one number.

Further reading
Noor Shaker, Julian Togelius and Mark J. Nelson: Procedural Content Generation in Games
seed 1234 seed 1234 seed 9876 repeated seed
One generator makes all three islands. The two runs with seed 1234 produce the same coast and foliage, while seed 9876 changes both.

View in the full Game dev collection