mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 17:19:36 +00:00
Move game phase constants to enum Value
No functional change.
This commit is contained in:
parent
cb4ac4221e
commit
057c3d60cd
2 changed files with 3 additions and 5 deletions
|
@ -27,10 +27,6 @@ using namespace std;
|
|||
|
||||
namespace {
|
||||
|
||||
// Values modified by Joona Kiiski
|
||||
const Value MidgameLimit = Value(15581);
|
||||
const Value EndgameLimit = Value(3998);
|
||||
|
||||
// Polynomial material balance parameters
|
||||
|
||||
// pair pawn knight bishop rook queen
|
||||
|
|
|
@ -191,7 +191,9 @@ enum Value {
|
|||
KnightValueMg = 817, KnightValueEg = 846,
|
||||
BishopValueMg = 836, BishopValueEg = 857,
|
||||
RookValueMg = 1270, RookValueEg = 1278,
|
||||
QueenValueMg = 2521, QueenValueEg = 2558
|
||||
QueenValueMg = 2521, QueenValueEg = 2558,
|
||||
|
||||
MidgameLimit = 15581, EndgameLimit = 3998
|
||||
};
|
||||
|
||||
enum PieceType {
|
||||
|
|
Loading…
Add table
Reference in a new issue