Longer chain pawn again

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Lyudmil Tsvetkov
Posts: 6052
Joined: Tue Jun 12, 2012 12:41 pm

Re: Longer chain pawn again

Post by Lyudmil Tsvetkov »

lantonov wrote:
Lyudmil Tsvetkov wrote:
So that there are different combinations of long chains: one side having chain of 3 and the other having none, or one side having chain of 4 and the other having none, or one side having chain of 5 and the other having chain of 3, etc.
How about differentiating those combinations, e.g. giving bonus for each pawn, resuting from the difference between white and black chains? So 5 white - 3 black = bonus for 2 pawns, 4 white - 3 black = bonus for 1 pawn, etc. In cases like 3 white - 5 black = bonus for -2 pawns (i.e, malus for 2 pawns), etc. This would make the code very simple and nevertheless able to differentiate the combinations.

Sure, rank and king proximity are important, but those require additional code.
Absolutely no clue what will work, whatever works would be perfect.

I have seen in the framework one and the same concept implemented in 2 different ways: the one fails with a bang, while the other succeeds.

So that tiny implementation details might solve difficult puzzles.