From 96bc8e81a6f3f12bebd5ea80f420844397dfb6f5 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Sat, 24 Oct 2020 18:00:50 +0200 Subject: [PATCH] Tweak horde chess evaluation horde STC LLR: 2.97 (-2.94,2.94) [0.00,10.00] Total: 5975 W: 3049 L: 2861 D: 65 http://www.variantfishtest.org:6543/tests/view/5f92cb296e23db221d9e936b horde LTC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 3220 W: 1671 L: 1523 D: 26 http://www.variantfishtest.org:6543/tests/view/5f935c4e6e23db221d9e9381 --- src/evaluate.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evaluate.cpp b/src/evaluate.cpp index b5e6270..8eb949d 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -1154,7 +1154,7 @@ 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(30, 30) * m / (1 + l * r); + score -= make_score(40, 40) * m / (1 + l * r); } } else if (pos.count(Them) == pos.count(Them) && pos.pieces(Us, ROOK, QUEEN)) @@ -1170,7 +1170,7 @@ namespace { int pawnsr = std::min(popcount(pos.pieces(Them, PAWN) & shift(file_bb(f))), pawns); dist = std::min(dist, pawnsl + pawnsr); } - score += make_score(50, 50) * pos.count(Them) / (1 + dist) / (pos.pieces(Us, QUEEN) ? 2 : 4); + score += make_score(60, 60) * pos.count(Them) / (1 + dist) / (pos.pieces(Us, QUEEN) ? 2 : 4); } } -- 1.7.0.4