class Chess::FinishDetector
- Chess::FinishDetector
- Reference
- Object
Defined in:
finish_detector.crInstance Method Summary
- #finished? : Bool
- #king_captured? : Bool
- #playable_pieces_black : Array(Piece)
- #playable_pieces_black=(playable_pieces_black : Array(Piece))
- #playable_pieces_white : Array(Piece)
- #playable_pieces_white=(playable_pieces_white : Array(Piece))
- #player_black : Player | Nil
- #player_black=(player_black : Player | Nil)
- #player_demands_yield? : Bool
- #player_white : Player | Nil
- #player_white=(player_white : Player | Nil)
- #reason : String
- #reset! : Nil
- #winner : Color | Nil