krestenlaust / ChessGame

Chess-engine designed and implemented by my friends, Cogo and Patrick, and I. Features AI opponent (using minimax), Lichess integration and multiplayer-on-LAN.
5 stars 1 forks source link

Missing forced checkmate in dead positions #18

Open krestenlaust opened 1 year ago

krestenlaust commented 1 year ago

Impossible checkmates in dead positions

krestenlaust commented 1 year ago

It seems pretty difficult to detect dead positions (https://chessily.com/glossary/dead-position/), but some basic scenarios, like two kings and a horse, or only two kings should be pretty easy to implement. But it might be a bit difficult to do and keep the same performance-level for the bot

krestenlaust commented 1 year ago

@danielweper if you're bored. Have you got any ideas for how to detect a dead position?