Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 486 Bytes

chess.ts.boardstate.md

File metadata and controls

22 lines (16 loc) · 486 Bytes

Home > chess.ts > BoardState

BoardState type

Signature:

export type BoardState = {
    board: Board;
    kings: ColorState;
    turn: Color;
    castling: ColorState;
    ep_square: number;
    half_moves: number;
    move_number: number;
};

References: Color