From: Fabian Fichter Date: Fri, 18 Jan 2019 19:47:51 +0000 (+0100) Subject: Increase king danger without queen for nCheck X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=8bc98143247432b024787928d9f2822b67c9df69;p=fairystockfish.git Increase king danger without queen for nCheck 3check STC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 5565 W: 2630 L: 2456 D: 479 http://35.161.250.236:6543/tests/view/5c3d027e6e23db07348e85b8 3check LTC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 6185 W: 2922 L: 2739 D: 524 http://35.161.250.236:6543/tests/view/5c3ed2d66e23db07348e85c2 --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index fed73da..0062d98 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -559,7 +559,7 @@ namespace { + 102 * kingAttacksCount[Them] * (1 + pos.captures_to_hand() + !!pos.max_check_count()) + 191 * popcount(kingRing[Us] & weak) * (1 + pos.captures_to_hand() + !!pos.max_check_count()) + 143 * popcount(pos.blockers_for_king(Us) | unsafeChecks) - - 848 * !(pos.count(Them) || pos.captures_to_hand()) + - 848 * !(pos.count(Them) || pos.captures_to_hand()) / (1 + !!pos.max_check_count()) - 9 * mg_value(score) / 8 + 40;