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) 328 B
import { IRayAttack } from '../../../../types'; /** * Populates an array of 64 IRayAttacks objects with south attacks * @param attacksList an IRayAttack array of directional attacks * @returns attacksList populated with south attacks */ export declare function generateSouthAttacks(attacksList: IRayAttack[]): IRayAttack[];