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) 163 B
import { IGameState } from '../types'; export declare function stateToFen(state: IGameState): string; export declare function fenToState(fen: string): IGameState;