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

8 lines (7 loc) 342 B
import { IRayAttack } from '../../../../types'; /** * Populates an array of 64 IRayAttacks objects with north-west attacks * @param attacksList an IRayAttack array of directional attacks * @returns attacksList populated with north-west attacks */ export declare function generateNorthWestAttacks(attacksList: IRayAttack[]): IRayAttack[];