Search This Blog For Relevant Posts

Wednesday, 25 September 2019

Random Number Generator Analysizer Small Basic

I made this program to evaluate how random the Small Basic 'math.getrandomnumber' function really is. It allows the user to input how many cycles they wish to run (try and keep this to under 100000 as past that point you will see serious delays and massive CPU usage) then prints how many times each number from 1 - 10 was picked. I am using this data to try find patterns, particularly any patterns that suggest a pseudorandom algorithm or correlations with other values on the computer. Feel free to use it how you like. You can ignore the check digit, it is for testing purposes. Enjoy and tell me about any interesting patterns you find in the comments bellow!

No comments:

Post a Comment