From: Fabian Fichter Date: Tue, 20 Jul 2021 17:16:35 +0000 (+0200) Subject: Reintroduce tempo for drop variants X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=cbdc3f4aca6912e9af449183bee2497dfe8a1485;p=fairystockfish.git Reintroduce tempo for drop variants crazyhouse STC LLR: 2.97 (-2.94,2.94) [0.00,10.00] Total: 1439 W: 752 L: 632 D: 55 http://www.variantfishtest.org:6543/tests/view/60f4410abf545bb49fff86bc crazyhouse LTC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 1403 W: 741 L: 621 D: 41 http://www.variantfishtest.org:6543/tests/view/60f51db7bf545bb49fff86c6 Closes #332. --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index a8771c4..0e0dd46 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -1512,7 +1512,7 @@ make_v: v = (v / 16) * 16; // Side to move point of view - v = (pos.side_to_move() == WHITE ? v : -v); + v = (pos.side_to_move() == WHITE ? v : -v) + 80 * pos.captures_to_hand(); return v; }