From: Gregory Brown Date: 2006-03-10T12:43:09+09:00 Subject: Re: Ideas for program On 3/9/06, Jesse Mc wrote: > I've just recently learned how to work with the ruby language and so > i've been trying to make a little dice rolling program. I was wanting > to make it to where you could roll several different dice like d20, 10, > 6,ect. I was just wondering how you would go about doing it. in Gambit, we added a method to Integer so you could do stuff like 3.d(2) http://gambit.rubyforge.org/classes/Integer.html Also, see the rest of the dice interface for ideas. http://gambit.rubyforge.org/classes/Gambit/Tools/Dice.html