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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing forced checkmate in dead positions

krestenlaust opened this issue · comments

Impossible checkmates in dead positions

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

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