BenBot 1.7.5
A chess engine
Loading...
Searching...
No Matches
ben_bot::eval Namespace Reference

Namespaces

namespace  detail
namespace  piece_values

Classes

struct  Position
struct  Score

Typedefs

using PieceType = chess::pieces::Type
using Value = std::int16_t

Functions

auto evaluate (const Position &position) -> Score
constexpr auto score_material (const Position &position) noexcept -> Value

Variables

constexpr Value DRAW { UINT16_C(0) }
constexpr Value MATE { MAX / UINT16_C(2) }
constexpr Value MAX { std::numeric_limits<Value>::max() - UINT16_C(5) }

Detailed Description

This namespace contains functions for evaluating positions.

Typedef Documentation

◆ PieceType

Definition at line 31 of file Material.hpp.