|
BenBot 1.7.5
A chess engine
|
Classes | |
| struct | Bitboard |
| struct | Square |
Functions | |
| auto | bishop (Square bishopPos, Bitboard occupiedSquares, Bitboard friendlyPieces) -> Bitboard |
| auto | rook (Square rookPos, Bitboard occupiedSquares, Bitboard friendlyPieces) -> Bitboard |
| auto | queen (Square queenPos, Bitboard occupiedSquares, Bitboard friendlyPieces) -> Bitboard |
This namespace contains functions for "magic bitboard" move generation for sliding pieces. The generated moves are pseudo-legal, not strictly legal, because they do not consider whether the king would be left in check. The returned move sets do not include the starting square.