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

Doesn't show the very last move when a checkmate is performed

krestenlaust opened this issue · comments

Solution:
Probably just reorder the checkmate check till the move has been updated.

Doesn't appear to affect stalemate.

Also appears to work fine in CheckMateTest, possibly a bug in bots.

Stalemate is affected in bot vs. bot. Appears to only be a problem related to bots, the bot UI of the last move doesn't update to finished calculation status either.