stockfish-core 0.1.0

Core types for implementing a fast chess engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![allow(clippy::module_name_repetitions)]

/// Implements logic for castling-related behavior.
///
/// As it turns out, castling is annoyingly finicky. Breaking it apart into
/// smaller bits of functionality helps us use the type system to tease apart
/// some of its finer details.

mod castling_path;
mod castling_rights;
mod castling_side;
mod castling_variety;

pub use castling_path::CastlingPath;
pub use castling_rights::CastlingRights;
pub use castling_side::CastlingSide;
pub use castling_variety::CastlingVariety;