UNPKG

shogiops

Version:
108 lines (102 loc) 1.31 kB
export const FILE_NAMES = [ '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', ] as const; export const RANK_NAMES = [ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', ] as const; export const COLORS = ['sente', 'gote'] as const; export const ROLES = [ 'lance', 'knight', 'silver', 'gold', 'king', 'bishop', 'rook', 'pawn', 'tokin', 'promotedlance', 'promotedsilver', 'promotedknight', 'horse', 'dragon', // chushogi 'promotedpawn', 'leopard', 'copper', 'elephant', 'chariot', 'tiger', 'kirin', 'phoenix', 'sidemover', 'verticalmover', 'lion', 'queen', 'gobetween', 'whitehorse', 'lionpromoted', 'queenpromoted', 'bishoppromoted', 'sidemoverpromoted', 'verticalmoverpromoted', 'rookpromoted', 'prince', 'whale', 'horsepromoted', 'elephantpromoted', 'stag', 'boar', 'ox', 'falcon', 'eagle', 'dragonpromoted', ] as const; export const RESULTS = [ 'checkmate', 'stalemate', 'draw', 'bareKing', 'kingsLost', 'tryRule', 'check', ] as const; export const RULES = [ 'standard', 'minishogi', 'chushogi', 'annanshogi', 'kyotoshogi', 'checkshogi', 'dobutsu', ] as const;