Hello,
I am using gnuchess as a chess engine for a website I have developed.
After a player makes a move, I generate a FEN file, spawn a process that
runs 'gnuchess -x' and sends commands via standard in and reads from
standard out.
I have come across a FEN position that gnuchess says is bad but is
being verified by other tools as being correct. I have verified the same
results manually.
Versions tried:
gnuchess 6.2.1, 6.1.2, 6.1.1
FEN string:
2kr4/pp3pp1/4b1p1/2R5/8/1P4P1/P1PP3r/2K5 b - 2 21
To cause the error:
1. Save the above FEN string into a file.
2. Run gnuchess -x
3. type load <pathandnameoffile>
>From my gnuchess I get this:
TimeLimit[0] = 0
TimeLimit[1] = 0
black a1
. . k r . . . .
p p . . . p p .
. . . . b . p .
. R . . . . . .
. . . . . . . .
. P . . . . P .
P . P P . . . r
. . K . . . . .
board_from_fen(): bad FEN (pos=45)
I have loaded the same FEN into a few viewers and they say the position is
fine. If you could confirm if this is an error or not that would be great.
_______________________________________________
Bug-gnu-chess mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnu-chess