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

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

Actual ELI5:

Imagine you are in a street corner in your city.

You always go forward 2 blocks, then 2 left, then 2 forward again.

If you do the same path from a different corner, you will end up in a different place.

If you go back to the first corner, you will end up in the same place as before.

The corner is the seed, your movement (2 up, 2 left, 2up) is the algorithm, which is fixed, the same one is used in your and your friends computer.

This is why the same seed ends up generating the same world.

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