Type Definition alcibiades::Bitboard [] [src]

type Bitboard = u64;

A set of squares on the chessboard.

u64 bit-sets called bitboards can be used to represent a set of squares on the chessboard. For example, the set of squares that are occupied by white rooks in the beginning of the game is: 1 << A1 | 1 << H1. 0 represents the empty set, 0xffffffffffffffff represents the set of all 64 squares on the board.