Class: Tak::Game

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

Instance Method Summary collapse

Constructor Details

#initialize(size) ⇒ Game

Returns a new instance of Game.



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

def initialize(size)
  @tak_board  = Tak::Board.new(size)
  @turn       = :white
  @first_move = true
end