Method: CLI#print_end_of_game_summary

Defined in:
lib/command_four/cli.rb


67
68
69
70
71
72
73
74
# File 'lib/command_four/cli.rb', line 67

def print_end_of_game_summary(board, renderer)
  puts renderer.render_for_printing
  if board.winning_color
    puts "#{color_to_s(board.winning_color)} wins!"
  else
    puts "It's a draw!"
  end
end