how do “seeds” work in video games such as Minecraft?

1.18K viewsOtherTechnology

For example, how does an infinitely randomized world like Minecraft manage to generate me an identical world to my friend with just a handful of numbers that they send me?

In: Technology

23 Answers

Anonymous 0 Comments

All “random” numbers generated by computers aren’t actually random. In reality they form a repeating sequence of “pseudo-random numbers”, which can be longer or shorter, depending on the quality of the number generator.

For example, the PRNG in the 8-bit Sinclair ZX Spectrum computer has a period of 65537, which is 1+2^16. This means that after that many numbers generated, they will always repeat themselves, until you give it a new seed.

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