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

12 lines (11 loc) 454 B
declare function popCount32(int: number): number; declare function bitScanForward32(int: number): number; declare function bitScanReverse32(int: number): number; declare function clearLeastSigBit32(int: number): number; declare const _default: { popCount32: typeof popCount32; bitScanForward32: typeof bitScanForward32; bitScanReverse32: typeof bitScanReverse32; clearLeastSigBit32: typeof clearLeastSigBit32; }; export default _default;