In minecraft, before creating a world you have an option to input a seed. The algorithm takes the seed and creates a completely unique world. How does this work?
Tell me more
×
Programmers Stack Exchange is a question and answer site for
professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.
|
|
It gives the seed to a pseudorandom number generator (PRNG) and uses that PRNG to generate the world. Giving the same seed will give the same sequence from the PRNG and thus generate the same world. |
|||||||||||||||||
|