[−][src]Module pleco::board
This module contains Board
, the object representing the current state of a chessboard.
All modifications to the current state of the board is done through this object, as well as
gathering information about the current state of the board.
This module also contains structures used by the board, such as CastlingRights
for
determining castling rights throughout a game. Other utilities that may be of use
are PieceLocations
, which maps squares on a chessboard to pieces and players.
Modules
board_state | Contains the |
castle_rights | Module for the |
fen | Contains various FEN (Forsyth–Edwards Notation) functions and constants. |
movegen | Module for generating moves from a |
perft | perft, or Performance Test, Move Path Enumeration, tests the correctness of move-generation. |
piece_locations | Contains the |
Structs
Board | Represents a Chessboard through a |
RandBoard | Random |
Enums
BoardError | Errors concerning the current |
FenBuildError | Represents possible Errors encountered while building a |