Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Ideas for program
Jesse Mc
3/10/2006 1:43:00 AM
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-...
.
2 Answers
Gene Tani
3/10/2006 2:03:00 AM
0
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-...
.
games're popular at ruby quiz
http://www.rubyquiz.com/q...
Gregory Brown
3/10/2006 3:43:00 AM
0
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.
in Gambit, we added a method to Integer
so you could do stuff like
3.d(2)
http://gambit.rubyforge.org/classes/In...
Also, see the rest of the dice interface for ideas.
http://gambit.rubyforge.org/classes/Gambit/Tools...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Ideas for program
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password