> Last thought, if there was a truely random number generator then why do fruitmachines have control systems to monitor the distribution and with that what is paid out to maintain that x% payout to comply with laws that say x% of money taken has to be payed out.
That's easy to answer -- to comply with rules that require a certain outcome some x percentage of the time, one need only take a truly random generator's output and filter it by x:
outcome = (rn * 100 <= x);
If rn is a float, lies between 0 and 1 and is truly random, then the above trivial filter will produce the required distribution in the long term.
Comments
> Last thought, if there was a truely random number generator then why do fruitmachines have control systems to monitor the distribution and with that what is paid out to maintain that x% payout to comply with laws that say x% of money taken has to be payed out.
That's easy to answer -- to comply with rules that require a certain outcome some x percentage of the time, one need only take a truly random generator's output and filter it by x:
outcome = (rn * 100 <= x);
If rn is a float, lies between 0 and 1 and is truly random, then the above trivial filter will produce the required distribution in the long term.