BenBot 1.7.5
A chess engine
Loading...
Searching...
No Matches
Score.hpp File Reference
#include <cassert>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <format>
#include <libchess/uci/Printing.hpp>
#include <limits>
#include <utility>
Include dependency graph for Score.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  std::formatter< ben_bot::eval::Score >
struct  ben_bot::eval::Score

Namespaces

namespace  ben_bot
namespace  ben_bot::eval

Typedefs

using ben_bot::eval::Value = std::int16_t

Variables

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

Detailed Description

This file defines the Score struct.

Definition in file Score.hpp.