Skip to content
Permalink
Browse files

Use quarter pawn value for phase calculation. Also adjust endgame lim…

…it. Bench: 3305490
  • Loading branch information...
Stefan Geschwentner
Stefan Geschwentner committed May 15, 2019
1 parent 120ba85 commit 80213d60d6b6a67d3b8548c79cfa09b5fcf7917c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/types.h
@@ -186,7 +186,7 @@ enum Value : int {
RookValueMg = 1289, RookValueEg = 1378,
QueenValueMg = 2529, QueenValueEg = 2687,

MidgameLimit = 15258 + 16 * PawnValuePhase, EndgameLimit = 3915
MidgameLimit = 15258 + 16 * PawnValuePhase, EndgameLimit = 3915 + 16 * PawnValuePhase
};

enum PieceType {

0 comments on commit 80213d6

Please sign in to comment.
You can’t perform that action at this time.