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

Go to the source code of this file.

Classes

struct  chess::moves::pseudo_legal::Bitboard

Namespaces

namespace  chess
namespace  chess::moves
namespace  chess::moves::pseudo_legal

Enumerations

enum class  chess::moves::pseudo_legal::Color

Functions

constexpr auto chess::moves::pseudo_legal::bishop (Bitboard startingBishops, Bitboard emptySquares, Bitboard friendlyPieces) noexcept -> Bitboard
constexpr auto chess::moves::pseudo_legal::king (Bitboard startingKing, Bitboard friendlyPieces) noexcept -> Bitboard
constexpr auto chess::moves::pseudo_legal::knight (Bitboard startingKnights, Bitboard friendlyPieces) noexcept -> Bitboard
template<Color Side>
constexpr auto chess::moves::pseudo_legal::pawn_captures (Bitboard startingPawns, Bitboard enemyPieces) noexcept -> Bitboard
template<Color Side>
constexpr auto chess::moves::pseudo_legal::pawn_double_pushes (Bitboard startingPawns, Bitboard occupiedSquares) noexcept -> Bitboard
template<Color Side>
constexpr auto chess::moves::pseudo_legal::pawn_pushes (Bitboard startingPawns, Bitboard emptySquares) noexcept -> Bitboard
constexpr auto chess::moves::pseudo_legal::queen (Bitboard startingQueens, Bitboard emptySquares, Bitboard friendlyPieces) noexcept -> Bitboard
constexpr auto chess::moves::pseudo_legal::rook (Bitboard startingRooks, Bitboard emptySquares, Bitboard friendlyPieces) noexcept -> Bitboard

Detailed Description

This file provides functions for generating pseudo-legal moves.

Definition in file PseudoLegal.hpp.