UNPKG

@chess-fu/chess-game

Version:
16 lines (15 loc) 356 B
import { Offset } from './chessTypes'; export declare enum MoveCriteria { Empty = 1, EmptyAndStart = 2, Attacking = 3 } export interface MoveType extends Offset { readonly rotate?: boolean; readonly repeat?: boolean; readonly when?: MoveCriteria; } declare const MoveTable: { [key: string]: MoveType[]; }; export { MoveTable };