user3707: I am looking for a way to analyse the moves I play. I'm NOT looking for a suggestion of a GUI that does this, or using Chessbase to do this. I want to know how to do this by communicating directly with the UCI engine.
For example, when I tell the engine:
position startpos moves e2e4 e7e5 d2d4  g7g6
go depth 30
it returns the best move in this position:
info nodes 11295495 score cp -40
bestmove f7f5 ponder g8f6
But what I want is the evaluation of my latest move g7g6. How do i get that?

user3158: Enable multipv on the engine. When you are at "e2e4 e7e5 d2d4" it will list all possible best moves that the engine considers in order of their evaluation. If you find "g7g6" in this list, then what you have considered is one of the best moves also considered by the engine and you'll obviously have the score associated with "g7g6". So, you will find this information before you make the move "g7g6".

3707: <p>I am looking for a way to analyse the moves I play. I'm NOT looking for a suggestion of a GUI that does this, or using Chessbase to do this. I want to know how to do this by communicating directly with the UCI engine.</p>

<p>For example, when I tell the engine:</p>

<p>position startpos moves e2e4 e7e5 d2d4  g7g6</p>

<p>go depth 30</p>

<p>it returns the best move in this position:</p>

<p>info nodes 11295495 score cp -40</p>

<p>bestmove f7f5 ponder g8f6</p>

<p>But what I want is the evaluation of my latest move g7g6. How do i get that?</p>
 3158: <p>Enable multipv on the engine. When you are at "e2e4 e7e5 d2d4" it will list all possible best moves that the engine considers in order of their evaluation. If you find "g7g6" in this list, then what you have considered is one of the best moves also considered by the engine and you'll obviously have the score associated with "g7g6". So, you will find this information before you make the move "g7g6".</p>
