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

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

A computer is really, really, really bad ad making random numbers (worse than humans!). As a result, when you ask a computer for a random number, then it takes some input, does a lot of maths on it, and returns a result from it. So it stands to reason that if you use the same input number, you get the same result. It is that input number that is called the seed number, or just seed.

What this means for Minecraft, is that when the random number generator is seeded with a particular number, it will always give the same world. This is handy because then you can find a “perfect” world where you can find diamonds easily (I don’t know, I don’t play Minecraft).

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