Further increase king tropism for drop variants
authorFabian Fichter <ianfab@users.noreply.github.com>
Thu, 20 Jun 2019 20:32:10 +0000 (22:32 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Fri, 21 Jun 2019 17:28:11 +0000 (19:28 +0200)
crazyhouse STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1748 W: 909 L: 784 D: 55
http://35.161.250.236:6543/tests/view/5d0bee496e23db34f4206c11

crazyhouse LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2033 W: 1054 L: 925 D: 54
http://35.161.250.236:6543/tests/view/5d0c0daa6e23db34f4206c14

src/evaluate.cpp

index 1c3bf37..7ecfd1f 100644 (file)
@@ -568,7 +568,7 @@ namespace {
         score -= PawnlessFlank;
 
     // King tropism bonus, to anticipate slow motion attacks on our king
-    score -= FlankAttacks * kingFlankAttacks * (1 + 3 * pos.captures_to_hand() + !!pos.max_check_count());
+    score -= FlankAttacks * kingFlankAttacks * (1 + 5 * pos.captures_to_hand() + !!pos.max_check_count());
 
     // For drop games, king danger is independent of game phase
     if (pos.captures_to_hand())