This is a script i made because i was curious how random a random number generator really is. This code generates a specified amount of numbers (the slider amount) all the numbers are numbers 1 - max number amount The code then finds the average of the random numbers. and it should be about 1/2 of the number that is in the slider (max number) Variables: i is the total of all the numbers added up n is a counter variable avg. number is the average of the number list max number is the amount of times the code is supposed to generate a number between 1 and max number (1 - max number)
RNG's are surprisingly pretty random the more numbers you put in the closer the number gets to between the min and max numbers. P.S. Sorry if none of this makes sense i did it while i was doing homework so i was not really focused too much on writing a big detailed explanation. USE TURBO MODE