is it possible to generate FEN strings for endgames based on specific criteria: n-pieces, w/d/l, and side to move?
So say I wanted all FEN strings for King plus Rook vs King plus Pawn (KPKR) endgames, where it is white to move, and white draws with perfect play.
I know there would be an extremly large number of results, and the next step would be to then categorize those results further by other criteria, like say white king is in front of the pawn, or the black pawn has passed the 6th rank.
I assume an endgame tablebase (egtb) has this information stored in it already, but how to get this information out of them? Or is there some other way of generating this?
Thanks!!
That last case, does not specify the chess legal restriction type to those FEN being generated. The first, hidden input DB.
So which is it for the op. Only some input database subset or the second unrestricted set of FEN (which would be implement in the code generating the FENs).
– dbdb Feb 23 '24 at 00:53