This module contains functions to calculate attack bitboards for different pieces.
The direct exports are the recommended way to calculate attack masks.
However, the precomputed, manual, and magic submodules may also be used.
This module contains various utility functions, structs, and types that are
useful (internally and externally), but are not needed in the top-level API.
A type alias for a bitboard. A bitboard is a 64-bit unsigned integer that represents an aspect of board state.
Each bit represents a square on the board, with the most significant bit representing A8 and the least significant bit representing H1.