Skip to content
Permalink
Browse files

Tweak KingDanger. Bench: 3305951

  • Loading branch information...
SFisGOD committed Mar 10, 2019
1 parent 4d0981f commit 5dc6b0f8111386490d317600fa6a814cd8c160a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/evaluate.cpp
@@ -469,7 +469,7 @@ namespace {
- 873 * !pos.count<QUEEN>(Them)
- 6 * mg_value(score) / 8
+ mg_value(mobility[Them] - mobility[Us])
+ 5 * kingFlankAttacks * kingFlankAttacks / 16
+ 3 * kingFlankAttacks * kingFlankAttacks / 8
- 25;

// Transform the kingDanger units into a Score, and subtract it from the evaluation

0 comments on commit 5dc6b0f

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