On Jan 6, 2006, at 1:29 PM, J. Ryan Sobol wrote:

> Please don't take this the wrong way, but I've never played D&D.   
> Would someone mind explaining the math that went into the command  
> below to generate it's result?
>
> ~ ryan ~
>
>
> On Jan 6, 2006, at 1:56 PM, Ruby Quiz wrote:
>
>> Time to release your inner nerd.
>>
>> The task for this Ruby Quiz is to write a dice roller...
>>
>> > roll.rb "3d6" 6
>> 72  64  113  33  78  82

Hmm, that example looks wrong now that you mention it.  It should be  
6 numbers between 3 and 18 (the roll of 3 six-sided dice).

James Edward Gray II