Module: MasmaGame::NextGame
- Defined in:
- lib/masma_game/next_game.rb
Class Method Summary collapse
Class Method Details
.next_player(p) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/masma_game/next_game.rb', line 9 def self.next_player(p) die = Die.new case die.roll when 1..2 p.blam when 3..4 puts "#{p.name} was skipped." else p.w00t end hoard = HoardStore.random p.found_hoard(hoard) end |