mercredi 20 janvier 2021

Is there a way of getting absolute or non time dependent random numbers in Python or C++

I want random numbers so that I can advertise my app as, "Not giving anyone a disadvantage, fundamentally", I am making game about Quantum Uncertainty which is random, not just pseudo random, so I could do:

import random
rnd = random.randint(a, b)

But that is pseudo random, not random, it uses the time to generate these numbers, so it's a disadvantage according to time.

I know of secrets module, but that does it through keystrokes, searches, etc, so it will be an advantage for someone who just does more typing than others and the os had used keystrokes to determine the random number.

I want numbers that are not based on previous events such as keystrokes but real-time random numbers.

I there any way to achieve that?

I know I don't have to worry about these minor details but I don't want to lie when I am advertising but I am making an app about Quantum Uncertainty so I need to be very precise with these stuff. Answer in Python or C++ is okay.




Aucun commentaire:

Enregistrer un commentaire