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) 248 B
import { IRayAttack } from '../../../types'; export declare function generateRayAttacks(rayAttacks: IRayAttack[]): IRayAttack[]; export declare function initRayAttackList(): IRayAttack[]; export declare const EMPTY_BOARD_RAY_ATTACKS: IRayAttack[];