Closed mmcnl closed 6 years ago
@mmcnl thank you very much for reporting this bug! This commit should now fix the issue. Let me if now works!
Thank you for the quick response! The test cases in your code look great but I will verify it works for me as well.
Yes, works perfectly, thanks again!
Hello and thank you for this valuable library!
I believe I have found a case where an invalid FEN is generated. In the example below, after the move
Qxh8
, black is not legally able to castle (both black rooks are no longer in their original positions) and yet the generated FEN string indicates black can castle kingside:KQk
.