In this game, you roll a number of six-sided dice to get a
total. The total is either the highest single die result, or the sum of any multiples rolled, whichever is higher.
For example: If I roll three dice and get a 3, 4, and 6, my total is 6. But if I roll a 4, 4, and 6, my total is 8, the sum of the two 4s.
What I want to find out is the mean, median, mode, and standard deviation of the possible totals given N dice. How might I create a simple script to compute this?
[more inside]
posted by j0hnpaul
on Nov 30, 2012 -
24 answers
Configured Readline with the prefix 'ur/local' on OSX. Then installed Ruby in /usr/local, but with Readline. Would like to put everything in the proper place without damaging anything, so what do I do now?
[more inside]
posted by djgh
on Jul 23, 2007 -
5 answers