Department of Energy Argonne National Laboratory Office of Science NEWTON's Homepage NEWTON's Homepage
NEWTON, Ask A Scientist!
NEWTON Home Page NEWTON Teachers Visit Our Archives Ask A Question How To Ask A Question Question of the Week Our Expert Scientists Volunteer at NEWTON! Frequently Asked Questions Referencing NEWTON About NEWTON About Ask A Scientist Education At Argonne Random Number Generators

Name: Simon
Status: student
Grade: n/a
Country: Sweden
Date: May 2, 2011 


Question:
If you have ever been playing Minecraft 1.5_01, you know about "seeds" or numbers for the world generation algorithm. What I want to know is how it works and/or how many worlds that it can create.



Replies:
I do not know about the game. But here is the "problem". To generate a "random" number, one starts with a "seed" number of arbitrary length. Then that is then fed into a complex series of computations. A different "seed" gives a completely different result of the different series of computations. The different "seed" and a different algorithm (which may change from one cycle to the next) gives a certain result, which may again be re-cycled into another algorithm. To a given degree of "accuracy" the final result may be "random". "Randomness" depends upon the choice of "seed", the algorithm, and the number of cycles. I don't know that it has been proven mathematically that a certain procedure the guarantees a "random" number (that is a totally different mathematical problem). That, at the present of the mathematical "art" has not been proven, but that is not my area of expertise.

Vince Calder



Click here to return to the Computer Science Archives

NEWTON is an electronic community for Science, Math, and Computer Science K-12 Educators, sponsored and operated by Argonne National Laboratory's Educational Programs, Andrew Skipor, Ph.D., Head of Educational Programs.

For assistance with NEWTON contact a System Operator (help@newton.dep.anl.gov), or at Argonne's Educational Programs

NEWTON AND ASK A SCIENTIST
Educational Programs
Building 360
9700 S. Cass Ave.
Argonne, Illinois
60439-4845, USA
Update: June 2012
Weclome To Newton

Argonne National Laboratory