bitstackchess 0.1.1

A bitboard‐based chess game engine with 10 × u128 move history
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! The “rules” layer enforces special‐move logic on top of BoardState.
//! It exposes functions/modules for: castling, en passant, promotion, check/mate.

// Re-export the submodules so external code can refer to them as `rules::XYZ`.
pub mod castling;
pub mod en_passant;
pub mod promotion;
pub mod checkmate;

pub use castling::CastlingLogic;
pub use en_passant::EnPassantLogic;
pub use promotion::PromotionLogic;
pub use checkmate::CheckmateLogic;