UNPKG

chess-legal-moves

Version:

Analyses a given chess game position in Fen notation to return legal moves and provides the next game position after a given move

5 lines (4 loc) 215 B
import { IPosition } from '../../types'; export declare function createPositionTable(): IPosition[]; export declare function generatePosition(i: number): IPosition; export declare const positionsTable: IPosition[];