shogiops
Version:
Shogi rules and operations
103 lines • 1.48 kB
JavaScript
export const FILE_NAMES = [
'1',
'2',
'3',
'4',
'5',
'6',
'7',
'8',
'9',
'10',
'11',
'12',
'13',
'14',
'15',
'16',
];
export const RANK_NAMES = [
'a',
'b',
'c',
'd',
'e',
'f',
'g',
'h',
'i',
'j',
'k',
'l',
'm',
'n',
'o',
'p',
];
export const COLORS = ['sente', 'gote'];
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',
];
export const RESULTS = [
'checkmate',
'stalemate',
'draw',
'bareKing',
'kingsLost',
'tryRule',
'check',
];
export const RULES = [
'standard',
'minishogi',
'chushogi',
'annanshogi',
'kyotoshogi',
'checkshogi',
'dobutsu',
];
//# sourceMappingURL=constants.js.map