Geras1mleo / Chess

C# .NET 6.0 Chess Library
MIT License
49 stars 15 forks source link

Fix end game detection when a castling escape is theoretically possible #15

Closed rstarkov closed 1 year ago

rstarkov commented 1 year ago

This is not a pretty fix because of how Board.IsValidMove populates the move. I see there's refactoring work on the dev branch so perhaps this fix will eventually not be needed, but at least the test would be worth keeping.

Geras1mleo commented 1 year ago

Thank you!