Class: HumanPlayer
Instance Method Summary collapse
- #get_move(board) ⇒ Object
-
#initialize(mark) ⇒ HumanPlayer
constructor
A new instance of HumanPlayer.
Methods inherited from Player
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 |