Class: HumanPlayer

Inherits:
Player show all
Defined in:
lib/ang_ttt_gem/human_player.rb

Instance Method Summary collapse

Methods inherited from Player

#mark, #set_mark

Constructor Details

#initialize(mark) ⇒ HumanPlayer

Returns a new instance of HumanPlayer.



7
8
9
# File 'lib/ang_ttt_gem/human_player.rb', line 7

def initialize(mark)
  self.set_mark(mark)
end

Instance Method Details

#get_move(board) ⇒ Object



11
12
13
# File 'lib/ang_ttt_gem/human_player.rb', line 11

def get_move(board)
  return false
end