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

6 lines (5 loc) 312 B
import BitBoard from '../BitBoard/BitBoard'; export declare function slideUp(attacks: BitBoard): BitBoard; export declare function slideDown(attacks: BitBoard): BitBoard; export declare function removeHighestBit(attacks: BitBoard): BitBoard; export declare function removeLowestBit(attacks: BitBoard): BitBoard;