tartan 1.2.2.1
Chess API
|
▼Ntt | Tartan library namespace |
▼Nchess | Chess game namespace |
▼Nex | Chess related exceptions namespace |
Ccheck | Thrown when turn cannot be perfomred because of King beeing in check |
Ccheckmate | Thrown when turn cannot be perfomred because of King is under checkmate |
Cduplicate_king | Thrown when inserted King is already provided |
Cno_king | Thrown when tt::chess::Chessboard has no King object of certain tt::Piece::Color |
▼CBishop | Bishop chess Piece |
CTurn | Bishop Turn |
CChessboard | Chess game board |
▼CKing | King chess Piece |
CTurn | King Turn |
▼CKnight | Knight chess Piece |
CTurn | Knight Turn |
▼CPawn | Pawn chess Piece |
CTurn | Pawn Turn |
▼CQueen | Queen chess Piece |
CTurn | Queen Turn |
▼CRook | Rook chess Piece |
CTurn | Rook Turn |
▼Nex | Tartan tt::Board exceptions set |
Cbad_piece | Base class for exceptions about pieces |
Cbad_piece_spec | Thrown when Board::piece() can not recognize Piece specification |
Cbad_piece_type | Thrown when tt::Board::getPieceType() returns std::type_info that is not mentioned in its argument |
Cbad_set | Exception when Board::set() functions fail |
Ccan_not_move | Thrown when Board::makeMove() is performed on Piece that can not make any moves |
Cforeign_piece | Thrown when piece does not belong to Board object in which it is being processed |
Cillegal_move | Base class for Board::makeMove() function errors |
Cillegal_turn | Thrown when constructed Piece::Turn object is malformed |
Cno_such_move | Thrown when piece moved with Board::makeMove() can not have such move |
Cnull_piece | Thrown when Piece pointer is nullptr when it should not be |
Cpiece_in_wrong_color | Thrown when trying to Board::makeMove() on Piece that has wrong Piece::Color |
Cposition_is_taken | Thrown when Piece Position on Board is occupied when it should not to |
Ctartan | Base class for all tartan exceptions |
Ctile_is_empty | Thrown when selected Piece location is empty of the Board |
CBoard | 8x8 game board |
▼CPiece | Generic board memeber API |
CPosition | Piece position at the Board |
CTurn | Generic Piece Turn on Board |
CTurnMap | List of Turn objects |