GNOME Bugzilla – Bug 704986
Improve error message when illegal move occurs
Last modified: 2014-01-07 21:32:25 UTC
Right now, if the GNOME Chess allows an illegal move (fortunately I'm not aware of any remaining such bugs), or if an engine makes an illegal move, you get an "AI hang": the game is effectively over, with no user feedback whatsoever. Instead, we need to report the error to the user.
The following fix has been pushed: 9324e7c Report an error when something goes wrong
Created attachment 252176 [details] [review] Report an error when something goes wrong * If an engine attempts to make an illegal move * If an engine claims we allowed an illegal move There ought to also be a descriptive error message, but there isn't yet. But it's way better than appearing to freeze.
The following fix has been pushed: 4d599e3 Differentiate a dead engine from illegal moves
Created attachment 265590 [details] [review] Differentiate a dead engine from illegal moves