From: Fabian Fichter Date: Sat, 14 Mar 2020 18:56:11 +0000 (+0100) Subject: Increase king danger for bughouse X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=d25093874e01c3f961ba6ddd646618bf3b7ee3c0;p=fairystockfish.git Increase king danger for bughouse bughouse Total: 250 W: 143 L: 106 D: 1 --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index ff0b25b..8982ec1 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -567,7 +567,7 @@ namespace { + 69 * kingAttacksCount[Them] * (2 + 8 * pos.check_counting() + pos.captures_to_hand()) / 2 + 3 * kingFlankAttack * kingFlankAttack / 8 + mg_value(mobility[Them] - mobility[Us]) - - 873 * !(pos.major_pieces(Them) || pos.captures_to_hand() || pos.king_type() == WAZIR) / (1 + pos.check_counting()) + - 873 * !(pos.major_pieces(Them) || pos.captures_to_hand() || pos.king_type() == WAZIR) / (1 + pos.check_counting() + pos.two_boards()) - 100 * bool(attackedBy[Us][KNIGHT] & attackedBy[Us][KING]) - 6 * mg_value(score) / 8 - 4 * kingFlankDefense