module StudioGame::GameTurn

Public Class Methods

take_turn(player) click to toggle source
# File lib/studio_game/game_turn.rb, line 8
def self.take_turn(player)
    die = Die.new
    case die.roll
    when 1..2
      player.blam
    when 3..4
      puts "\n#{player.name} was skipped." 
    else
      player.w00t
    end

  epiphany = EpiphanyTrove.random
  player.discovered_epiphanies(epiphany)
end