Files
odin-project-solutions/tic_tac_toe/Player.rb

11 lines
190 B
Ruby

class Player
attr_accessor :turn_active
attr_reader :name, :symbol, :turn_active
def initialize(name, symbol)
@name = name
@symbol = symbol
@turn_active = false
end
end