class Chess::Game

Defined in:

chess/game.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(fen : String) #

[View source]
def self.new(position : Position) #

[View source]
def self.new #

[View source]

Instance Method Detail

def black_won? #

[View source]
def current_position : Position #

[View source]
def draw? #

[View source]
def make_move!(string) #

[View source]
def move_count #

[View source]
def moves #

[View source]
def over? #

[View source]
def positions #

[View source]
def possible_moves #

[View source]
def undo_last_move! #

[View source]
def white_won? #

[View source]