class Player
Класс Player
(abstract class)
Attributes
board[RW]
enemy[RW]
name[RW]
token[RW]
Public Class Methods
new(params)
click to toggle source
# File lib/ttt-cli/player.rb, line 9 def initialize(params) @name = params[:name] @token = params[:token] end
Public Instance Methods
make_move(board)
click to toggle source
# File lib/ttt-cli/player.rb, line 14 def make_move(board); end
position()
click to toggle source
# File lib/ttt-cli/player.rb, line 16 def position; end