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
/// The type of rules a game will occur under.
#[derive(Copy, Debug, Eq)]
#[derive_const(Clone, PartialEq)]
#[repr(u8)]
pub enum Ruleset {
    /// A standard game of chess.
    Standard,

    /// A game of Fischer random chess, where the starting state is randomized.
    Chess960,
}