class Chess::FinishDetector

Defined in:

finish_detector.cr

Instance Method Summary

Instance Method Detail

def finished? : Bool #

[View source]
def king_captured? : Bool #

[View source]
def playable_pieces_black : Array(Piece) #

[View source]
def playable_pieces_black=(playable_pieces_black : Array(Piece)) #

[View source]
def playable_pieces_white : Array(Piece) #

[View source]
def playable_pieces_white=(playable_pieces_white : Array(Piece)) #

[View source]
def player_black : Player | Nil #

[View source]
def player_black=(player_black : Player | Nil) #

[View source]
def player_demands_yield? : Bool #

[View source]
def player_white : Player | Nil #

[View source]
def player_white=(player_white : Player | Nil) #

[View source]
def reason : String #

[View source]
def reset! : Nil #

[View source]
def winner : Color | Nil #

[View source]