chessground12
Version:
Extended lishuuro.org Chess UI
47 lines • 1.05 kB
JavaScript
export const colors = ['white', 'black', 'none'];
export const pieceSides = ['ally', 'enemy'];
export const files = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l'];
export const ranks = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'];
export const letters = [
'a',
'b',
'c',
'd',
'e',
'f',
'g',
'h',
'i',
'j',
'k',
'l',
'm',
'n',
'o',
'p',
'q',
'r',
's',
't',
'u',
'v',
'w',
'x',
'y',
'z',
];
export var Geometry;
(function (Geometry) {
Geometry[Geometry["dim12x12"] = 0] = "dim12x12";
Geometry[Geometry["dim8x8"] = 1] = "dim8x8";
Geometry[Geometry["dim6x6"] = 2] = "dim6x6";
})(Geometry || (Geometry = {}));
export const dimensions = [
{ width: 12, height: 12 },
{ width: 8, height: 8 },
{ width: 6, height: 6 },
];
// pieces that can be in pocket for that side
export const eventsDragging = ['mousedown', 'touchmove'];
export const eventsClicking = ['click'];
//# sourceMappingURL=types.js.map