There are a lot of different ways!
Sometimes they do math on a changing number, like what time you asked for a random number.
Sometimes they look one up on a list of random numbers
Sometimes they use something else.
For the math one you could do something like take the time in milliseconds, and take the last 10 digits. Put a decimal place in front so it’s in a zero to one range. Now multiply it by the range you want a random number in. Done!
If you want you can do more math to the numbers to change them.
Latest Answers