From ffc2671c4a8820d296583f9ab2fc35a800acd1bd Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Tue, 24 Dec 2024 20:11:43 -0500 Subject: [PATCH] tune: PST for pawns in endgame seemingly setting their value too high makes the engine believe it can sacrifice material to push non-passed pawns --- src/eval.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/eval.rs b/src/eval.rs index 38df8ba..9b45f63 100644 --- a/src/eval.rs +++ b/src/eval.rs @@ -350,11 +350,11 @@ pub const PST_ENDGAME: Pst = Pst([ // pawn make_pst([ 10, 10, 10, 10, 10, 10, 10, 10, // 8 - 139, 139, 139, 139, 139, 139, 139, 139, // 7 - 138, 138, 138, 138, 138, 138, 138, 108, // 6 - 67, 67, 67, 68, 68, 67, 67, 67, // 5 - 36, 36, 36, 36, 36, 36, 36, 36, // 4 - 32, 32, 32, 34, 34, 30, 32, 30, // 3 + 30, 30, 30, 30, 30, 30, 30, 30, // 7 + 25, 25, 25, 25, 25, 25, 25, 25, // 6 + 20, 20, 20, 20, 20, 20, 20, 20, // 5 + 10, 10, 10, 10, 10, 10, 10, 10, // 4 + 0, 0, 0, 0, 0, 0, 0, 0, // 3 0, 0, 0, 0, 0, 0, 0, 0, // 2 0, 0, 0, 0, 0, 0, 0, 0, // 1 // a b c d e f g h