bin/main.rb
# define a loop for the game to run
# it allows players to take turns and checks
# whether or not the game is over after each turn
## the game is still missing the definition of the *over? *won? and *draw? methods
define a loop for the game to run
it allows players to take turns and checks
whether or not the game is over after each turn
the game is still missing the definition of the *over. *won. and *draw. methods
define a loop for the game to run it allows players to take turns and checks whether or not the game is over after each turn the game is still missing the definition of the * over . * won . and * draw . methods
def game
    player_move until over?
    if won?
      puts "The winner is #{winner}!"
    elsif draw?
      puts 'It\'s a draw'
    end
  end
def game player_move until over? if won? puts "The winner is #{winner}!" elsif draw? puts 'It\'s a draw' end end
define a loop for the game to run
it allows players to take turns and checks
whether or not the game is over after each turn
the game is still missing the definition of the *over?
define a loop for the game to run it allows players to take turns and checks whether or not the game is over after each turn the game is still missing the definition of the * over?