From: Fabian Fichter Date: Thu, 10 Sep 2020 06:39:27 +0000 (+0200) Subject: Increase bonus for leapers in hand X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=e4f493401003d5c50887c87de8c7704cbfa6caca;p=fairystockfish.git Increase bonus for leapers in hand shogi STC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 2062 W: 1091 L: 959 D: 12 http://www.variantfishtest.org:6543/tests/view/5f520b616e23db221d9e90a7 shogi LTC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 2069 W: 1095 L: 963 D: 11 http://www.variantfishtest.org:6543/tests/view/5f563b0e6e23db221d9e90f8 crazyhouse STC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 3850 W: 1930 L: 1776 D: 144 http://www.variantfishtest.org:6543/tests/view/5f403e706e23db221d9e903c crazyhouse LTC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 6821 W: 3352 L: 3156 D: 313 http://www.variantfishtest.org:6543/tests/view/5f520be76e23db221d9e90a9 --- diff --git a/src/psqt.cpp b/src/psqt.cpp index 7fd01b3..40c13c7 100644 --- a/src/psqt.cpp +++ b/src/psqt.cpp @@ -198,7 +198,7 @@ void init(const Variant* v) { psq[~pc][rank_of(s) <= v->maxRank ? flip_rank(s, v->maxRank) : s] = -psq[pc][s]; } // pieces in pocket - psq[ pc][SQ_NONE] = score + make_score(45, 10); + psq[ pc][SQ_NONE] = score + make_score(35, 10) * (1 + !(isSlider || pt == SHOGI_PAWN)); psq[~pc][SQ_NONE] = -psq[pc][SQ_NONE]; } }