class RoundGame ROUND_NUMBER_START = 1 def initialize(round_count, game) @round_count = round_count @game = game end def each_round(&round) @round = round end def rounds @round_count.times end def start @results = rounds.map do @round.call(@game) if @round @game.result end end def result_with_index @results.map.with_index(ROUND_NUMBER_START) do |result, n| "#{n}回戦の結果は・・・#{result}" end.join("\n") end def decoration_line "******************************************" end def describe_result <