From: Fabian Fichter Date: Sat, 1 Sep 2018 09:24:37 +0000 (+0200) Subject: Increase king danger for drop variants X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=6f1c918a023162de55242ca98d5cde5c2d407102;p=fairystockfish.git Increase king danger for drop variants STC crazyhouse LLR: 2.97 (-2.94,2.94) [0.00,10.00] Total: 1516 W: 805 L: 682 D: 29 http://35.161.250.236:6543/tests/view/5b8a5c6f6e23db0fbab0dd11 --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 3e2d138..69a9ca4 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -488,7 +488,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) + - 848 * !(pos.count(Them) || pos.captures_to_hand()) - 9 * mg_value(score) / 8 + 100 * (pos.piece_drops() ? pos.count_in_hand(Them, ALL_PIECES) : 0) + 40;