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

Go to the source code of this file.

Namespaces

namespace  chess
namespace  chess::board
namespace  chess::board::shifts

Enumerations

enum class  chess::board::shifts::Color

Functions

constexpr auto chess::board::shifts::east (Bitboard board) noexcept -> Bitboard
constexpr auto chess::board::shifts::north (Bitboard board) noexcept -> Bitboard
constexpr auto chess::board::shifts::northeast (Bitboard board) noexcept -> Bitboard
constexpr auto chess::board::shifts::northwest (Bitboard board) noexcept -> Bitboard
template<Color Side>
constexpr auto chess::board::shifts::pawn_backward (Bitboard board) noexcept -> Bitboard
template<Color Side>
constexpr auto chess::board::shifts::pawn_capture_east (Bitboard board) noexcept -> Bitboard
template<Color Side>
constexpr auto chess::board::shifts::pawn_capture_west (Bitboard board) noexcept -> Bitboard
template<Color Side>
constexpr auto chess::board::shifts::pawn_forward (Bitboard board) noexcept -> Bitboard
template<Color Side>
constexpr auto chess::board::shifts::pawn_inv_capture_east (Bitboard board) noexcept -> Bitboard
template<Color Side>
constexpr auto chess::board::shifts::pawn_inv_capture_west (Bitboard board) noexcept -> Bitboard
constexpr auto chess::board::shifts::south (Bitboard board) noexcept -> Bitboard
constexpr auto chess::board::shifts::southeast (Bitboard board) noexcept -> Bitboard
constexpr auto chess::board::shifts::southwest (Bitboard board) noexcept -> Bitboard
constexpr auto chess::board::shifts::west (Bitboard board) noexcept -> Bitboard

Detailed Description

This file provides some bitboard shift algorithms.

Definition in file Shifts.hpp.