BenBot 1.7.5
A chess engine
Loading...
Searching...
No Matches
Magics.hpp File Reference
Include dependency graph for Magics.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  chess::moves::magics::Bitboard
struct  chess::moves::magics::Square

Namespaces

namespace  chess
namespace  chess::board
namespace  chess::moves
namespace  chess::moves::magics

Functions

auto chess::moves::magics::bishop (Square bishopPos, Bitboard occupiedSquares, Bitboard friendlyPieces) -> Bitboard
auto chess::moves::magics::queen (Square queenPos, Bitboard occupiedSquares, Bitboard friendlyPieces) -> Bitboard
auto chess::moves::magics::rook (Square rookPos, Bitboard occupiedSquares, Bitboard friendlyPieces) -> Bitboard

Detailed Description

This file provides functions for "magic bitboard" move generation for sliding pieces.

Definition in file Magics.hpp.