From: Fabian Fichter Date: Mon, 11 May 2020 19:21:13 +0000 (+0200) Subject: Double unsafe check bonus X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=64a8bd9d2cf0e90bd075e6e55ee2bdfd1c1c5059;p=fairystockfish.git Double unsafe check bonus 3check STC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 3690 W: 1773 L: 1625 D: 292 http://www.variantfishtest.org:6543/tests/view/5eb7c9ec6e23db36d55f2b3f 3check LTC LLR: 2.97 (-2.94,2.94) [0.00,10.00] Total: 3164 W: 1528 L: 1387 D: 249 http://www.variantfishtest.org:6543/tests/view/5eb818e56e23db36d55f2b46 --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index d2209fd..7ff091f 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -564,7 +564,7 @@ namespace { + kingAttackersCountInHand[Them] * kingAttackersWeight[Them] + kingAttackersCount[Them] * kingAttackersWeightInHand[Them] + 185 * popcount(kingRing[Us] & (weak | ~pos.board_bb(Us, KING))) * (1 + pos.captures_to_hand() + pos.check_counting()) - + 148 * popcount(unsafeChecks) + + 148 * popcount(unsafeChecks) * (1 + pos.check_counting()) + 98 * popcount(pos.blockers_for_king(Us)) + 69 * kingAttacksCount[Them] * (2 + 8 * pos.check_counting() + pos.captures_to_hand()) / 2 + 3 * kingFlankAttack * kingFlankAttack / 8