user-1: I want to write a program to stop a chess game if Stockfish decides that checkmate is unavoidable for a player as a learning exercise. I downloaded Stockfish for Mac and it gives what it thinks is the best move but I can't figure out how to get it to show those more specific notes

user825: Stockfish is an UCI chess engine, so you shouldn't mess up with the engine. You will need to write a new chess GUI.
Useful links:

https://www.chess.com/forum/view/general/chess-engines-amp-gui-uci
How do I use the analysis output of a UCI engine?
What is the optimal way to use Stockfish programmatically?
How to get position evaluation with UCI?


-1: <p>I want to write a program to stop a chess game if Stockfish decides that checkmate is unavoidable for a player as a learning exercise. I downloaded Stockfish for Mac and it gives what it thinks is the best move but I can't figure out how to get it to show those more specific notes</p>
 825: <p>Stockfish is an UCI chess engine, so you shouldn't mess up with the engine. You will need to write a new chess GUI.</p>

<p>Useful links:</p>

<ul>
<li><a href="https://www.chess.com/forum/view/general/chess-engines-amp-gui-uci" rel="nofollow noreferrer">https://www.chess.com/forum/view/general/chess-engines-amp-gui-uci</a></li>
<li><a href="https://chess.stackexchange.com/questions/1095/how-do-i-use-the-analysis-output-of-a-uci-engine">How do I use the analysis output of a UCI engine?</a></li>
<li><a href="https://chess.stackexchange.com/questions/15704/what-is-the-optimal-way-to-use-stockfish-programmatically">What is the optimal way to use Stockfish programmatically?</a></li>
<li><a href="https://chess.stackexchange.com/questions/5945/how-to-get-position-evaluation-with-uci">How to get position evaluation with UCI?</a></li>
</ul>
