main/display.rb
# Print the result of the current round
Print the result of the current round
Print the result of the current round
def round_result
    @round += 1
    puts "Round #{format('%02d', @round)}: #{@board.format(@board.breaker)}
You got #{@board.matches} matches and #{@board.correct_matches} correct guesses"
    puts 'Careful, the next one is your last chance!'.red if @round == 11
  end
def round_result @round += 1 puts "Round #{format('%02d', @round)}: #{@board.format(@board.breaker)}
You got #{@board.matches} matches and #{@board.correct_matches} correct guesses" puts 'Careful, the next one is your last chance!' . red if @round == 11 end
Print the result of the current round
Print the result of the current round