From: Fabian Fichter Date: Tue, 25 Aug 2020 21:41:57 +0000 (+0200) Subject: Tweak king proximity X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=bf426fe89c19bb528f765b3a076bd3d2ff709c79;p=fairystockfish.git Tweak king proximity shogi STC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 2506 W: 1314 L: 1176 D: 16 http://www.variantfishtest.org:6543/tests/view/5f3fb2cb6e23db221d9e9018 shogi LTC LLR: 2.97 (-2.94,2.94) [0.00,10.00] Total: 976 W: 546 L: 429 D: 1 http://www.variantfishtest.org:6543/tests/view/5f435c1e6e23db221d9e903e crazyhouse STC LLR: -2.97 (-2.94,2.94) [0.00,10.00] Total: 18825 W: 9170 L: 8999 D: 656 http://www.variantfishtest.org:6543/tests/view/5ee348126e23db104fb88ada crazyhouse LTC LLR: -2.96 (-2.94,2.94) [0.00,10.00] Total: 13908 W: 6715 L: 6614 D: 579 http://www.variantfishtest.org:6543/tests/view/5ee68ebb6e23db104fb88bad --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 70f47dd..eba72b0 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -132,7 +132,7 @@ namespace { }; // KingProximity contains a penalty according to distance from king - constexpr Score KingProximity = S(1, 3); + constexpr Score KingProximity = S(2, 4); constexpr Score EndgameKingProximity = S(0, 10); // Assorted bonuses and penalties