io-chess
UCI chess engine
Loading...
Searching...
No Matches
MoveOrderConstants Namespace Reference

Scores used to sort moves during the move picking phase. More...

Variables

constexpr int16_t HASH_MOVE_SCORE = 30000
 Highest priority for moves retrieved from the Transposition Table.
constexpr int16_t CAPTURE_BASE = 10000
 Base score for captures, adjusted by MVV-LVA.
constexpr int16_t KILLER_SCORE_1 = 9000
 Score for the primary killer move.
constexpr int16_t KILLER_SCORE_2 = 8000
 Score for the secondary killer move.
constexpr int16_t HISTORY_MAX = 8000
 Maximum possible history heuristic score.

Detailed Description

Scores used to sort moves during the move picking phase.

Variable Documentation

◆ CAPTURE_BASE

int16_t MoveOrderConstants::CAPTURE_BASE = 10000
constexpr

Base score for captures, adjusted by MVV-LVA.

◆ HASH_MOVE_SCORE

int16_t MoveOrderConstants::HASH_MOVE_SCORE = 30000
constexpr

Highest priority for moves retrieved from the Transposition Table.

◆ HISTORY_MAX

int16_t MoveOrderConstants::HISTORY_MAX = 8000
constexpr

Maximum possible history heuristic score.

◆ KILLER_SCORE_1

int16_t MoveOrderConstants::KILLER_SCORE_1 = 9000
constexpr

Score for the primary killer move.

◆ KILLER_SCORE_2

int16_t MoveOrderConstants::KILLER_SCORE_2 = 8000
constexpr

Score for the secondary killer move.