Skip to content

Commit

Permalink
Increase weight for supported pawns
Browse files Browse the repository at this point in the history
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
  • Loading branch information
snicolet committed Sep 24, 2019
1 parent d232a4a commit 667d24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pawns.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ namespace {
if (support | phalanx)
{
int v = Connected[r] * (2 + bool(phalanx) - opposed)
+ 17 * popcount(support);
+ 21 * popcount(support);

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

0 comments on commit 667d24f

Please sign in to comment.