|
BenBot 1.7.5
A chess engine
|
#include <cstddef>#include <libchess/board/Bitboard.hpp>#include <libchess/board/Pieces.hpp>#include <libchess/moves/Patterns.hpp>#include <libchess/moves/PseudoLegal.hpp>#include <libchess/pieces/Colors.hpp>Go to the source code of this file.
Classes | |
| struct | chess::moves::Bitboard |
| struct | chess::moves::Pieces |
Namespaces | |
| namespace | chess |
| namespace | chess::moves |
Enumerations | |
| enum class | chess::moves::Color |
Functions | |
| template<Color Side> | |
| constexpr auto | chess::moves::num_squares_attacked (const Pieces &pieces, Bitboard targetSquares, Bitboard enemyPieces, bool includeKing=true) noexcept -> size_t |
| template<Color Side> | |
| constexpr auto | chess::moves::squares_attacked (const Pieces &pieces, Bitboard targetSquares, Bitboard enemyPieces) noexcept -> bool |
This file contains functions for calculating various attack sets.
Definition in file Attacks.hpp.