xchess
Version:
Chess Engine
9 lines (8 loc) • 404 B
JavaScript
export const DEC = '0123456789';
export const NON_ZERO_DEC = '123456789';
export const TAG_CHARS = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
export const FILES = 'abcdefgh';
export const RANKS = '12345678';
export const PIECES = 'KQRBNP';
export const PROMOTION_PIECES = 'QRBN';
export const RESULTS = ['1-0', '0-1', '1/2-1/2', '1/2-0', '0-1/2', '0-0', '+/-', '-/+', '-/-', '*'];