Skip to content

Commit

Permalink
tune weights
Browse files Browse the repository at this point in the history
  • Loading branch information
protonspring committed May 11, 2019
1 parent ec46a17 commit 20561f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/evaluate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ namespace {
constexpr Value SpaceThreshold = Value(12222);

// KingAttackWeights[PieceType] contains king attack weights by piece type
constexpr int KingAttackWeights[PIECE_TYPE_NB] = {55, 0, 133, 84, 64, 15 };
int KingAttackWeights[PIECE_TYPE_NB] = {55, 0, 133, 84, 64, 15 };

TUNE(KingAttackWeights);

// Penalties for enemy's safe checks
constexpr int QueenSafeCheck = 780;
Expand Down

0 comments on commit 20561f9

Please sign in to comment.