Chess Engine
A Chess Engine project written in C++.
Loading...
Searching...
No Matches
AttackGenerator Class Reference

Static Public Member Functions

static constexpr Bitboard pawnAttacksBB (Color color, Square square)
static constexpr Bitboard knightAttacksBB (Square square)
static constexpr Bitboard kingAttacksBB (Square square)
template<uint8_t PIECETYPE>
static constexpr Bitboard attacksBB (Square square, Bitboard occupied=Bitboard::zero())
template<uint8_t PIECETYPE>
static constexpr Bitboard attacksBB (Color color, Square square, Bitboard occupied=Bitboard::zero())
static constexpr Bitboard rookAttacks (Square square, Bitboard occupied)
static constexpr Bitboard bishopAttacks (Square square, Bitboard occupied)
static constexpr Bitboard queenAttacks (Square square, Bitboard occupied)
static constexpr Bitboard knightAttacks (Square square)
static constexpr Bitboard kingAttacks (Square square)
static constexpr Bitboard pawnAttacks (Color color, Square square)
template<uint8_t PIECETYPE>
static constexpr bool isAttackedBy (Square target, Square attacker, Bitboard occupied=Bitboard::zero())
template<uint8_t PIECETYPE>
static constexpr bool isAttackedBy (Color color, Square target, Square attacker, Bitboard occupied=Bitboard::zero())

The documentation for this class was generated from the following file: