bitboards
Bitboards are a compact data structure used to represent the state of board games, most notably chess. In a bitboard, the board is mapped to the bits of one or more integers; a set bit indicates the presence of a piece or occupancy on the corresponding square. On an 8x8 chessboard, a 64-bit unsigned integer can represent a single plane, and engines commonly allocate one bitboard per piece type and color (for example white pawns, black pawns, white knights, etc.), along with bitboards for occupancy of all pieces, white, and black.
Common practice in chess engines involves multiple bitboards to describe the full position. A typical configuration
Advantages include fast move generation and evaluation, use of native CPU bitwise instructions, and compact memory