Expand description
This module houses the ChessPosition
struct, which holds the state of a game of chess,
including its move history, clock history, PGN fields, and status.
Re-exports§
pub use self::castling_rights::CastlingRights;
pub use self::initial_position::InitialPosition;
pub use self::moves::Legality;
pub use self::moves::Move;
pub use self::ply_clock::PlyClock;
pub use self::timer::Timer;
pub use self::timer::Timers;
pub use self::turn::Turn;
Modules§
- Castling rights and initial squares tracking.
- Initial position records.
- Representations and methods for modeling and manipulating a chess move.
- Halfmove and fullmove tracking.
- This module exposes an incremental chess timer which can be used to track a chess player’s time remaining and move history and read and format PGN-style clock annotations.
- This module contains the
Turn
struct, which is used to track whose turn it is in a game of chess.
Structs§
- The
ChessPosition
struct holds all of the data and metadata needed to analyze a game of chess. - Builder struct for
ChessPosition
.
Enums§
- Represents the status of a game of chess.
Color
s associated withCheckmate
,Resignation
, andTimeout
refer to the victor. - Enum representing whether or not a move is pseudolegal.