class TicTacToe::Player

Public Class Methods

new(board, number) click to toggle source
# File lib/tic_tac_toe_mchliakh/players/player.rb, line 3
def initialize(board, number)
  @board, @number = board, number
end

Public Instance Methods

next_move() click to toggle source
# File lib/tic_tac_toe_mchliakh/players/player.rb, line 7
def next_move
  raise NotImplementedError
end