Closed lu4 closed 6 years ago
@lu4 As this is not really an issue or a bug report, I re-post your question in the fishcooking forum as the forum is probably a better place to get this kind of answer :-) https://groups.google.com/forum/#!topic/fishcooking/x4UYXu7YgFs
Oh, got it, thanks!
I've spent last day trying to figure out how to programmatically check game outcome, i.e. draw / white wins / black wins / unknown for a specific position. Is there a simple way to do so?
I have the following piece of code:
The FEN used in this example is a checkmated position, however it is not clear how to get this information from stockfish.
It's obvious though that if the game has ended then there is no moves for a specific side, but what is the outcome of the game?
Thank you in advance!