module Yahtzee::Game

Public Instance Methods

first_roll() click to toggle source
# File lib/game.rb, line 19
def first_roll
  Dice.roll(5)
end
second_roll(keepers) click to toggle source
# File lib/game.rb, line 23
def second_roll(keepers)
  Dice.reroll(keepers)
end
third_roll(keepers) click to toggle source

tricky - todo: alias_method :third_roll, :second_roll

# File lib/game.rb, line 28
def third_roll(keepers)
  Dice.reroll(keepers)
end