Trait shakmaty_syzygy::Syzygy
source · pub trait Syzygy {
const TBW: TableType;
const TBZ: TableType;
const ONE_KING: bool;
const CONNECTED_KINGS: bool;
const CAPTURES_COMPULSORY: bool;
const PAWNLESS_TBW: Option<TableType> = None;
const PAWNLESS_TBZ: Option<TableType> = None;
const MAX_PIECES: usize = 6usize;
}
Expand description
A chess variant with Syzygy support.
Required Associated Constants§
sourceconst CONNECTED_KINGS: bool
const CONNECTED_KINGS: bool
Wether kings are allowed to be on adjacent squares.
sourceconst CAPTURES_COMPULSORY: bool
const CAPTURES_COMPULSORY: bool
Whether captures are compulsory.
Provided Associated Constants§
sourceconst PAWNLESS_TBW: Option<TableType> = None
const PAWNLESS_TBW: Option<TableType> = None
Alternative WDL table type for pawnless endgames.
sourceconst PAWNLESS_TBZ: Option<TableType> = None
const PAWNLESS_TBZ: Option<TableType> = None
Alternative DTZ table type for pawnless endgames.
sourceconst MAX_PIECES: usize = 6usize
const MAX_PIECES: usize = 6usize
Maximum number of supported pieces.