Class: Tak::Player

Inherits:
Object
  • Object
show all
Defined in:
lib/tak/player.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, color) ⇒ Player

Returns a new instance of Player.



3
4
5
6
# File 'lib/tak/player.rb', line 3

def initialize(name, color)
  @name  = name
  @color = color
end