Skip to content

Commit 667d24f

Browse files
committed
Increase weight for supported pawns
This patch changes the weight for counting supports of pawns from 17 to 21. Hopefully Stockfish will accept to play a bit more of closed or semi-closed positions. STC: LLR: 2.95 (-2.94,2.94) [0.00,4.00] Total: 13822 W: 3158 L: 2939 D: 7725 http://tests.stockfishchess.org/tests/view/5d89c3a10ebc595091802379 LTC: LLR: 2.96 (-2.94,2.94) [0.00,4.00] Total: 63066 W: 10590 L: 10236 D: 42240 http://tests.stockfishchess.org/tests/view/5d89ca7f0ebc595091802680 Future work: try to tweak the evaluation to better understand the French structures. Closes #2326 Bench: 3618154
1 parent d232a4a commit 667d24f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pawns.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ namespace {
131131
if (support | phalanx)
132132
{
133133
int v = Connected[r] * (2 + bool(phalanx) - opposed)
134-
+ 17 * popcount(support);
134+
+ 21 * popcount(support);
135135

136136
score += make_score(v, v * (r - 2) / 4);
137137
}

0 commit comments

Comments
 (0)