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

1.17K 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

Random number generation isn’t truly random. It uses a “seed” to start the random generator. Each seed will have its own unique output

If subsequent generation is deterministic (meaning it generates things in the same order), then the random numbers will come out the same and result in the same outcome

To get “random”, the initial seed uses something such as current time, random static picked up by a microphone, etc

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