main/display.rb
# output the choice of the player
# if he is going to be the maker or the braker
output the choice of the player
if he is going to be the maker or the braker
output the choice of the player if he is going to be the maker or the braker
def maker_breaker
    puts "
    \e[4mStart The game:\e[0m
      Are you going to play as code[M]aker or code[B]raker? Type the highlighted character of your choice"
    choice = gets.chomp.downcase
    return choice if %w[m b].include?(choice)
    maker_breaker
  end
def maker_breaker puts "
    \e[4mStart The game:\e[0m
      Are you going to play as code[M]aker or code[B]raker? Type the highlighted character of your choice" choice = gets . chomp . downcase return choice if %w[ m b ] . include? ( choice ) maker_breaker end
output the choice of the player
if he is going to be the maker or the braker
output the choice of the player if he is going to be the maker or the braker