From: Fabian Fichter Date: Sat, 19 Dec 2020 06:49:40 +0000 (+0100) Subject: File dependent horde imbalance X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=a9ebfc48bec555e8c8fa88ff8d3ad16317470d99;p=fairystockfish.git File dependent horde imbalance horde STC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 18445 W: 9313 L: 8946 D: 186 http://www.variantfishtest.org:6543/tests/view/5fd609b96e23db221d9e9520 horde LTC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 7637 W: 3892 L: 3680 D: 65 http://www.variantfishtest.org:6543/tests/view/5fd735576e23db221d9e952e --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index d039ec3..1dc3b65 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -1177,7 +1177,8 @@ namespace { for (File f = FILE_A; f <= pos.max_file(); ++f) { l = m; m = r; r = popcount(pos.pieces(Us, PAWN) & shift(file_bb(f))); - score -= make_score(70, 70) * m / (1 + l * r); + score -= make_score(80 - 10 * (edge_distance(f, pos.max_file()) % 2), + 80 - 15 * (edge_distance(f, pos.max_file()) % 2)) * m / (1 + l * r); } } else if (pos.count(Them) == pos.count(Them) && pos.pieces(Us, ROOK, QUEEN))