mwg API
    Preparing search index...

    Function startingBitboard

    • The standard opening array on bitboards, white to move with every right intact.

      Returns BitboardState

      import { bitboardMoves, startingBitboard } from '@datamoc/mwg/board';

      console.log(bitboardMoves(startingBitboard()).length); // 20 - 16 pawn moves, 4 knight moves