Crate bitstackchess

Crate bitstackchess 

Source

Re-exports§

pub use engine::ChessEngine;
pub use engine::GameCore;

Modules§

board
Board‐state primitives: encoding squares/pieces and O(1) piece↔square maps.
cli_adapter
Stub module for a future CLI adapter. It will import only ChessEngine and expose command‐line parsing, without touching any internals like MovePlanes. A simple command‐line interface for our ChessEngine (GameCore).
core
Core bit‐storage primitives: Move10 and MovePlanes. These types know only about 10-bit moves and how to pack/unpack them into 128-bit planes.
engine
rules
The “rules” layer enforces special‐move logic on top of BoardState. It exposes functions/modules for: castling, en passant, promotion, check/mate.