Interface Setup

A not necessarily legal chess or chess variant position.

interface Setup {
    board: Board;
    castlingRights: SquareSet;
    epSquare: undefined | number;
    fullmoves: number;
    halfmoves: number;
    pockets: undefined | Material;
    remainingChecks: undefined | RemainingChecks;
    turn: "black" | "white";
}

Properties

board: Board
castlingRights: SquareSet
epSquare: undefined | number
fullmoves: number
halfmoves: number
pockets: undefined | Material
remainingChecks: undefined | RemainingChecks
turn: "black" | "white"