Ideas for program

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.

···

--
Posted via http://www.ruby-forum.com/.

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.

--
Posted via http://www.ruby-forum.com/\.

games're popular at ruby quiz

http://www.rubyquiz.com/quiz19.html

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

···

On 3/9/06, Jesse Mc <demon1312@yahoo.com> 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.

"Gene Tani" <gene.tani@gmail.com> writes:

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.

--
Posted via http://www.ruby-forum.com/\.

games're popular at ruby quiz

Ruby Quiz - Yahtzee (#19)

Did you mean?:

http://www.rubyquiz.com/quiz61.html