forked from official-stockfish/Stockfish
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bonus for passed pawns much more advanced than enemy passed pawns
- Loading branch information
1 parent
69dc556
commit f6bdc83
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f6bdc83
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider this:
Let's take a first example:
If white passed pawn is on d5 and black is on h5, white has a S(163,167)-S(57,62) advantage
These values are before we add even more bonus when pawn is clear.
i don,t think that throwing another S(0, 4) would make a difference.
if it would, you can simply tweak the array as follow
Let's take a second example:
If black has no passed pawn, you can imply try, again White has already a huge advantage
But you can also try adding S(0, 4) to each term in the array.
In older stockfish, there once was a Unstoppable bonus. for the above reason, it was simplified away.
f6bdc83
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not S(0,4), it's S(0,4)*w ; with w being 27 on rank 7 and 18 on rank 6.
See Bryan's latest analysis to understand the sort of situation this patch try to improve on.
f6bdc83
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I see, sorry. I will try something.