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§

source

const TBW: TableType

WDL table type.

source

const TBZ: TableType

DTZ table type.

source

const ONE_KING: bool

Whether both players will have exactly one king unless the game is over.

source

const CONNECTED_KINGS: bool

Wether kings are allowed to be on adjacent squares.

source

const CAPTURES_COMPULSORY: bool

Whether captures are compulsory.

Provided Associated Constants§

source

const PAWNLESS_TBW: Option<TableType> = None

Alternative WDL table type for pawnless endgames.

source

const PAWNLESS_TBZ: Option<TableType> = None

Alternative DTZ table type for pawnless endgames.

source

const MAX_PIECES: usize = 6usize

Maximum number of supported pieces.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Syzygy for Chess

source§

impl Syzygy for Antichess

Available on crate feature variant only.
source§

impl Syzygy for Atomic

Available on crate feature variant only.

Implementors§