Closed brane-games closed 1 year ago
I forked the repo and started fixing it just to realize it's already fixed! So...when is the next version dropping? 😅
P.S. I'm making a chess game I think is really cool and your awesome library is one of the cornerstones: https://store.steampowered.com/app/2248900/Master_of_Chess
I forked the repo and started fixing it just to realize it's already fixed! So...when is the next version dropping? 😅
P.S. I'm making a chess game I think is really cool and your awesome library is one of the cornerstones: https://store.steampowered.com/app/2248900/Master_of_Chess
Looks very good!
Describe the bug In a position achieved via the given PGN, a checkmate isn't recognized. It recognizes this as just a check
To Reproduce `// "1. e3 e5 2. d4 e4 3. Nf3 exf3 4. Qxf3 d5 5. Qxf7+ Kxf7 6. e4 Nc6 7. exd5 Qxd5 8. c4 Qe4+ 9. Kd1 Nxd4 10. Bd3 Qxd3+ 11. Ke1 Be7 12. Nc3 Nc2+";
Expected behaviour board.IsEndGame returns true
Additional context Working on a game and this is a legitimate position I got while playing against AI. Needless to say the whole game just stopped in this moment as Checkmate wasn't flagged and I couldn't move 😀