From: Fabian Fichter Date: Fri, 6 Mar 2020 14:10:02 +0000 (+0100) Subject: Consider endgame king danger for bughouse X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=1361247b9f39c5c1d6c95dfadfb8e91eda45878a;p=fairystockfish.git Consider endgame king danger for bughouse bughouse Total: 500 W: 270 L: 225 D: 5 --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 34f8bcb..4fc31b0 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -583,7 +583,7 @@ namespace { score += make_score(0, mg_value(score) / 2); // For drop games, king danger is independent of game phase - if (pos.captures_to_hand()) + if (pos.captures_to_hand() || pos.two_boards()) score = make_score(mg_value(score), mg_value(score)) * 2 / (2 + 16 / pos.max_rank() * !pos.shogi_doubled_pawn()); if (T)