From: Fabian Fichter Date: Sat, 20 Oct 2018 12:36:20 +0000 (+0200) Subject: Tweak capture the flag bonus X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=ddbf2f6b10790e7246361c8132b0a821a2caa733;p=fairystockfish.git Tweak capture the flag bonus king of the hill STC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 2713 W: 1223 L: 1095 D: 395 http://35.161.250.236:6543/tests/view/5bc9a43a6e23db7639060c0f racing kings STC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 1961 W: 955 L: 833 D: 173 http://35.161.250.236:6543/tests/view/5bc9a44b6e23db7639060c12 --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index e6772fb..6995e38 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -824,7 +824,7 @@ namespace { int dist = distance(s1, s2) + (can_block ? popcount(pos.attackers_to(s2) & pos.pieces(Them)) : 0) + !!(pos.pieces(Us) & s2); - score += make_score(3000, 3000) / (1 + dist * (can_block && pos.checking_permitted() ? dist : 1)); + score += make_score(2500, 2500) / (1 + dist * (can_block && pos.checking_permitted() ? dist : 1)); } } }