class RubyTictactoe::AIPlayer

Public Instance Methods

make_move(board) click to toggle source
# File lib/ai_player.rb, line 5
def make_move(board)
  ai = AI.new(self)
  cell = ai.computer_move(board, self)
  add_marker(board, cell)
end