class Board

Defined in:

board.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def black_captured : Array(ChessMan) #

[View source]
def black_captured=(black_captured : Array(ChessMan)) #

[View source]
def draw #

[View source]
def init_black #

[View source]
def init_white #

[View source]
def moves : Array(String) #

[View source]
def moves=(moves : Array(String)) #

[View source]
def pieces : Array(Array(ChessMan)) #

[View source]
def pieces=(pieces : Array(Array(ChessMan))) #

[View source]
def setup #

[View source]
def turn(move : String, white : Bool) : Bool #

[View source]
def white_captured : Array(ChessMan) #

[View source]
def white_captured=(white_captured : Array(ChessMan)) #

[View source]