Search This Blog

Thursday, June 11, 2009

Dice in Ruby

Generate random numbers for 2 dice in Ruby

2+rand(6)+rand(6)

No comments: