mardi 16 février 2016

How to predict lua random number?

If I know that the seed of random generator is Time

math.randomseed(os.time())

, can I predict which number will be next random?

Im using math.random (6) (numbers between 1-6)

also can I create a console application that will show me what random numbers will be in like 10 seconds? What programm is good for lua applications (like codeblocks for c/c++)?




Aucun commentaire:

Enregistrer un commentaire