Doubled Pawns

Code, algorithms, languages, construction...

Doubled Pawns

Postby thevinenator » Thu Nov 24, 2016 6:16 pm

I'm implementing yet-another chess engine and i've finally gone to the dark side, having fully embraced bitboards!.

There are many new coding techniques to take advantage of and to support this I have been doing some research on how various eval elements are measured.

Regarding "doubled pawns", I found some inconsistencies regarding the definitions and the examples.

It seems the general definition is two pawns of the same color on the same file. This is how most authors describes it in most cases, but when they show examples, they always show the pawns adjacent to each other, rank-wise, such as d3 and d4.

ok, so pawns on d3 and d4 qualify, but do pawns on d3 and d5 as doubled? what if there is an intervening piece between them? still considered doubled?
what if there are 3 empty squares between them?

Exhibit A:

the examples only show pawns that are adjacent.


"An Engine's strength flows from the Search. But beware, pruning, extensions, reductions; the dark side of the Search are they. Once you start down the dark path, it will dominate and consume you, as it has to so many developers before.” -- Yoda
Posts: 68
Joined: Tue Jun 02, 2015 11:02 pm

Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 1 guest