How does seed generation work in a video game?

354 views

How does a random string of characters, or in the case of some games (Rimworld) manage to generate a whole world with a single word?

In: 6

4 Answers

Anonymous 0 Comments

The world is not generated by the seed, the world is generated by a Pseudo-Random Number Generator (PRNG).

A PRNG can produce a stream of random-looking numbers, but they are not random – they are entirely determined by the starting state of the PRNG. Use the same starting state twice, you get the exact same stream of “random” numbers twice.

This starting state is called a “seed”.

You are viewing 1 out of 4 answers, click here to view all answers.