@chess-fu/chess-game
Version:
Chess game logic
16 lines (15 loc) • 356 B
TypeScript
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 };