Find an opening based on the position of one player only Given a position for just one player, how can I check to see if there is a standard opening that leads to that position?
For example, how could I find if there is an opening that leads (or may lead, if the line is followed by black) to a position like this for white?
[FEN &quot;8/8/8/8/3PP3/2P2P2/PP4PP/RNBQKBNR w KQ - 0 1&quot;]
Using my free, open source pgn-extract program you can specify a grep-like FEN pattern to be searched for in a PGN file of games. The program comes with a file of opening lines (eco.pgn) so a search such as:
pgn-extract --fenpattern &quot;*/*/*/*/3PP3/2P2P2/PP4PP/RNBQKBNR&quot; eco.pgn

would output any matches along with the associated ECO information in the tags. I didn't find anything for this particular pattern.