Structs§
- BitBoard
- The
BitBoard
struct stores a series of squares on a chess board. - Board
Builder - The
BoardBuilder
struct helps construct aChessBoard
. - Chess
Board - The
ChessBoard
struct represents a chess board. - Chess
Game - The
ChessGame
struct represents a game of chess. - Move
Creation Error - The
MoveCreationError
struct signifies that there was an error while crating a move. - MoveGen
- The
MoveGen
struct generates moves for aChessBoard
. - Piece
- The
Piece
struct represents a chess piece. - Zobrist
Hash - The
ZobristHash
is the hash of aChessBoard
.
Enums§
- Board
Builder Error - The
BoardBuilderError
enum is the error type produced by theBoardBuilder
. - Builder
Conversion Error - The
BuilderConversionError
enum is the error type for converting aBoardBuilder
to aChessBoard
. - Castle
Side - The
CastleSide
enum represents the side a king can castle. - Color
- The
Color
enum represents the color of a chess piece. - Direction
- The
Direction
enum represents a direction on the chess board. - Draw
Reason - The
DrawReason
enum represents the thing that caused a draw to occur. - FenFormat
Error - The
FenFormatError
enum is the error type for a fen’s formatting. - FenLoad
Error - The
FenLoadError
enum is the error type for loading a fen position. - File
- The
File
enum represents a file of the chessboard. - Game
Result - The
GameResult
enum represents the result of a chess game. - Move
- The
Move
enum represents a move on a chess board. - Piece
Type - The
PieceType
enum represents a type of chess piece. - Rank
- The
Rank
enum represents a rank of the chessboard. - Square
- The
Square
enum represents a square of the chess board. - StrMove
Creation Error - The
StrMoveCreationError
enum is the error type produced when creating moves.