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

4 lines (3 loc) 183 B
import { IParsedMove } from '../types'; export declare function parseMove(moveString: string): IParsedMove; export declare function mapPositionToBoardIndex(position: string): number;