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) 171 B
import { IColor, ILegalMoves } from '../../types'; import Board from '../Board/Board'; export declare function bishopsMoves(board: Board, hasToPlay: IColor): ILegalMoves;