Class: ComputerPlayer
Instance Attribute Summary
Attributes inherited from Player
Instance Method Summary collapse
Methods inherited from Player
#add_marker, #get_alpha, #get_beta, #initialize
Constructor Details
This class inherits a constructor from Player
Instance Method Details
#make_move(board) ⇒ Object
33 34 35 36 |
# File 'lib/player.rb', line 33 def make_move(board) cell = board.random_cell add_marker(board, cell) end |