Re: Dice Function

From: Alex (fletchra@qsilver.queensu.ca)
Date: 07/07/02


> Why was the dice function written as it is?
Because it actually simulates the rolling of a number of dice.  Your loop
only chooses a random number between low and high, and thus changes the
probabilities.

The probability graph of 2-12 is different for "2d12" vs merely "2-12".

And right away, that's a disadvantage.

Ae.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT