UNPKG

@chess-fu/chess-game

Version:
27 lines (26 loc) 1.03 kB
export declare const WHITE = "w"; export declare const BLACK = "b"; export declare const PAWN = "p"; export declare const ROOK = "r"; export declare const KNIGHT = "n"; export declare const BISHOP = "b"; export declare const QUEEN = "q"; export declare const KING = "k"; export declare const PLUS = "+"; export declare const HASH = "#"; export declare const NONE = "-"; export declare const SLASH = "/"; export declare const SAN_CAPTURE = "x"; export declare const WKING: string; export declare const BKING: string; export declare const BOARD_WIDTH = 8; export declare const BOARD_HEIGHT = 8; export declare const BOARD_SIZE: number; export declare const CASTLE_QUEEN_OFFSETX = 2; export declare const CASTLE_KING_OFFSETX = 6; export declare const START_FEN = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"; export declare const WHITE_WINS = "1-0"; export declare const BLACK_WINS = "1-0"; export declare const DRAW = "1/2-1/2"; export declare const ONGOING = "*"; export declare const STANDARD_PGN_HEADERS: string[];