A dice rolling program is only as good as the worst of: - the
random number return to die-sides algorithm - the pseudo-random
seed generator Most are close enough to be better than dice.
Since computers can not generate truly random numbers, no die
roller is truly random. The pseudorandom numbers, however can be
sufficiently random enough to be more random than real dice. A
recent study found that most commercial d6 are biased
significantly. The study had some flaws, but generally showed a
bias for low numbers on most commercially produced d6's. (In one
company's run, almost to the point of 1's being 2/7 of 1d6
rolls!) No individual batch tested showed a truly even
distribution. Some technical details... There are two methods of
random number return used in programming: - A fractional return
on a float or double-float (double). EG: 0.348826495 - A whole
number return on an int or double-int (long). eg: 25565 given a
fractional, the norm is to multiply the sides by the returned
fraction, giving a fractional nu