Structs§
- The
BitBoardstruct stores a series of squares on a chess board. - The
BoardBuilderstruct helps construct aChessBoard. - The
ChessBoardstruct represents a chess board. - The
ChessGamestruct represents a game of chess. - The
MoveCreationErrorstruct signifies that there was an error while crating a move. - The
MoveGenstruct generates moves for aChessBoard. - The
ZobristHashis the hash of aChessBoard.
Enums§
- The
BoardBuilderErrorenum is the error type produced by theBoardBuilder. - The
CastleSideenum represents the side a king can castle. - The
Colorenum represents the color of a chess piece. - The
Directionenum represents a direction on the chess board. - The
DrawReasonenum represents the thing that caused a draw to occur. - The
FenFormatErrorenum is the error type for a fen’s formatting. - The
FenLoadErrorenum is the error type for loading a fen position. - The
Fileenum represents a file of the chessboard. - The
GameResultenum represents the result of a chess game. - The
Moveenum represents a move on a chess board. - The
Pieceenum represents a chess piece. - The
Rankenum represents a rank of the chessboard. - The
Squareenum represents a square of the chess board. - The
StrMoveCreationErrorenum is the error type produced when creating moves.
Constants§
- All the files in order.
- All the ranks in order.
- All the squares in order.