Answers.Body: <p>As far as I know, there is no engine that does what you are looking for. An engine is a program that does nothing more than take certain positional and material elements into account, and gives it an evaluation. It does not break down the elements and show you how it evaluated each of them. Sometimes, it can be obvious because the analysis is a clear win of material, but most of chess is more deeply hidden than that....sometimes VERY deeply hidden.</p>
  
  <p>I found a site that does what you are asking. It takes those evaluations, and tries to put words and understanding to the numbers.</p>
  
  <p>You it on one of the problems with chess-analysis software for weaker players, and that is that it just shows the strongest move per the computer, without any explanation why. There are some programs, like the ChessBase programs that, using their "Tactical Analysis" feature, attempt to give some explanation to the moves, but they are all wanting.</p>
  
  <p>That said, decodechess.com seems to do better than most for newbies. As a USCF Master, the explanations are pretty good from what I can see, and the underlying "engine" is the same Stockfish that you use. Although a premium account is $99/year (right now, 50% off with the promo code "getserious". for the record, I have no affiliation with the site, nor am I a member), you can create an account, and "decode", or analyze three games per day for free. If you like it, I would jump on the promo.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-16T11:42:53.163Z
Answers.Text: Why would someone downvote this? Engines give you a number, but do not tell you WHY or HOW it got that number, which is what the OP was asking.
Answers.UserDisplayName: PhishMaster
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-12T10:17:39.307Z
Answers.LastActivityDate: 2020-02-12T10:17:39.307Z
Answers.UserDisplayName: PhishMaster
Answers.Body: <p>Heuristics can only get you so far, at the end of the day chess is a highly contextual game which means, in order to understand why a given move is <em>good</em> or <em>bad,</em> you can never do without the concrete assessment of lines of play that can arise from that move. Obviously, one cannot go to arbitrary depths in the calculations, so at some point you need to make a judgement, based on your experience and positional understanding, and stop your calculations and evaluate the reached positions. </p>
  
  <p>On the one hand, learning more about chess principles will render your calculations more efficient, as you'll get better at dismissing the irrelevant move candidates. It will also allow you to evaluate more accurately the intermediate and end positions that you reach at the end of your calculations. On the other hand, experience and practice will improve your tactical awareness, calculation speed and the depth you can see without moving the pieces.</p>
  
  <p>When it comes to understanding why an engine evaluates a move as <em>good</em> or <em>bad</em>, if at first according to your calculations and your knowledge of chess principles it is not clear to you, then you should simply rely on the concrete lines of play and explore them with/without the engine. In other words, in a live analysis session, simply play out the main lines that ensue <strong>with</strong> and <strong>without</strong> the move you're trying to understand, then compare them. The comparison will better highlight the impact of the move on the consequent positions. This does not mean you can expect to understand any move in any positions, because chess is a highly complex game, and with time, as you get better at it, you'll discover deeper concepts and layers of reasoning behind a move or plan.</p>
  
  <p>These discussions basically mean that in order to evaluate a move, concrete play and principle-based assessment of positions will always and unavoidably go hand in hand. Think of for instance how we find positional combinations (other combinations would be mating ones, or ones that win material) in chess: First we <strong>spot an idea</strong> (e.g. doubling our opponent's pawns), then we <strong>calculate the relevant variations</strong> (such as the repercussion of intermezzo check moves), and last, we <strong>evaluate the final positions</strong> (e.g. in terms of king safety, material balance, pawn structure etc). Therefore to find a combination, the concrete and positional assessment are both required.</p>
  
  <hr>
  
  <p>Let's end with an example:</p>
  
  <p>A typical Dragon position, and say we played the move <code>8.Qd2</code> in the diagram below, and afterwards learned that the engine did not like it at all. Then we see the engine suggests immediately <code>8...Ng4!!</code> attacking the bishop on <code>e3</code> first chance given! </p>
  
  <p><img src="https://i.sstatic.net/3XKeg.jpg" width="250" height="250"> <sup><i> A strategic blunder by white to allow the trade of the dark-squared B for a N. </i></sup></p>
  
  <p>Strategically, if the trade of the <code>g4</code> knight with the <code>e3</code> bishop happens, then black will stand really well thank to their dark squared bishop dominating the long diagonal. So we realise <code>8.Qd2</code> was premature as first  we needed to secure the <code>g4</code> square with e.g. <code>8.f3</code> then <code>Qd2</code> can be played having ensured we preserve our dark-squared bishop. This entails the principled approach to understanding <code>Ng4,</code> since the dark-squared bishop is vital to black's play in the Dragon variation of the Sicilian.</p>
  
  <p>Next question should be: "but can white really not avoid the trade by some dynamic play?" By their nature, these questions cannot be answered by the mere application of chess principles, instead, one needs to concretely go through some of the possible lines of play for white and see what kinds of positions they are leading too. For instance, starting from <code>9.Nxc6</code> with the idea to play <code>Bd4</code> trading the bishops in case of <code>9...bxc6</code> (left diagram, green marks white moves, red black's). But then we need to step back again, and consider what if black recaptures on <code>c6</code> with the <code>d</code> pawn (right diagram) and thus preventing <code>Bd4</code>? Then we need to assess which side has a better development and minor piece coordination after the trade of queens, and the fun continues... </p>
  
  <p><img src="https://i.sstatic.net/MMNwm.jpg" width="250" height="250"> <sup><i> 9...bxc6 </i></sup>
  <img src="https://i.sstatic.net/bjkCE.jpg" width="250" height="250"> <sup><i> 9...dxc6 </i></sup></p>
  
  <pre><code> [title "Sicilian Dragon, example 1: why 8.Qd2 is bad?"]
   [fen ""]
   [startply "15"]
  
   1. e4 c5 2. Nf3 Nc6 3. d4 cxd4 4. Nxd4 g6 5. Nc3 Bg7 6. Be3 Nf6 7. Bc4 O-O 8. Qd2 Ng4 9. Nxc6 dxc6 (9...bxc6 10. Bd4) 10. Qxd8 Rxd8 11. Bf4
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-12T15:38:02.720Z
Answers.LastActivityDate: 2020-03-16T11:29:18.843Z
Answers.LastEditDate: 2020-03-16T11:29:18.843Z
Answers.UserDisplayName: Ellie
Answers.Body: <p>Engine will rate a move as bad when it leads to a disadvantage that can be exploited (sometimes only by a very strong player). There's a myriad of ways in which you can weaken your position and there's no heuristic that guarantees you'll be able to avoid them (that's the beauty of the game!). I'd suggest doing an analysis of the game and following the variation with the help of the engine. Often the answer on what the threat was reveals itself quite within couple / several moves!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-12T15:23:43.683Z
Answers.Text: Following variations isn't bad advice in general, but I think OP already knows that. The problem is that analysis is very difficult if you don't have a good understanding of what you're analysing. For a beginner (that group includes me, and I assume OP) it's sometimes still not clear what's so good/bad about a move that results in significant evaluation change, even after following a variation several moves along. As an example, I played a game on chess.com earlier today. I won, but the analysis tool flagged my turn on move 8 as a "missed win" [...]
Answers.UserDisplayName: Chris H
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-12T15:39:57.470Z
Answers.Text: the move flagged "missed win" was sacrificing a bishop in exchange for one of the opposing knights. I'd considered but decided against taking it. It's not that I thought it was a *bad* move as such, but nor did I think it was a particularly good one. In the analysis tool I can see that it improves the position evaluation by a little over 2 pawns. Using the tool I've followed that variation along all the way to move 18, and I still have no idea why. It hasn't led to me gaining additional material or developing pieces into clearly strong positions.
Answers.UserDisplayName: Chris H
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-12T15:45:19.883Z
Answers.Text: Maybe that's because it matches against people of similar strength, and so my opponent failed to capitalise on an opening my chosen move left. But doing the same thing and following stockfish's suggestions for 10 moves after the move I did play gets the same result - a few minor pieces exchanged, no obvious threats. I'm sure there *is* some actual difference in the strength of the move I made vs. the one I could have made, but after 10 moves of analysis along both options I've learnt nothing. A tool that could *explain* rather than just tell would be so valuable.
Answers.UserDisplayName: Chris H
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-12T14:35:48.630Z
Answers.LastActivityDate: 2020-02-12T14:35:48.630Z
Answers.UserDisplayName: kyokpae
Body: <p>When I play chess on say lichess.org, I can see whether my move is good or not according to Stockfish. I can see why some moves are obvious blunders or mistakes, but for some other moves I don't really know why said move is bad/good. Is there a heuristic or engine or some rules I can use to see why a move is good or bad? </p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-02-12T04:48:12.997Z
Comments.Text: *heuristic or engine or some rules* - if you're allowing engines, why not just use an engine like Stockfish?
Comments.UserDisplayName: Allure
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-02-12T08:50:03.803Z
Comments.Text: @Allure Stockfish only allows me to see whether or not a move is good, as far as I know. And not why a move is good or bad.
Comments.UserDisplayName: Nico Damascus
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-02-12T09:13:55.737Z
Comments.Text: There are tons of possible reasons for bad moves, ranging from "this loses this queen for no compensation" to "this weakens the pawn structure". Are you asking for heuristics for *all* of them?
Comments.UserDisplayName: Allure
Tags: <engines><analysis><learning>
Title: How would I know why a move is good or not?
ThreadText: # How would I know why a move is good or not?
  
  (Asked by: username_0 on 2020-02-12)
  
  When I play chess on say lichess.org, I can see whether my move is good or not according to Stockfish. I can see why some moves are obvious blunders or mistakes, but for some other moves I don't really know why said move is bad/good. Is there a heuristic or engine or some rules I can use to see why a move is good or bad?
  
  **Tags:** engines, analysis, learning
  
  > **Comments:**
  > **username_1**: *heuristic or engine or some rules* - if you're allowing engines, why not just use an engine like Stockfish?  
  > **username_0**: @username_1 Stockfish only allows me to see whether or not a move is good, as far as I know. And not why a move is good or bad.  
  > **username_1**: There are tons of possible reasons for bad moves, ranging from "this loses this queen for no compensation" to "this weakens the pawn structure". Are you asking for heuristics for *all* of them?  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2020-02-12. Score: 5
  
  As far as I know, there is no engine that does what you are looking for. An engine is a program that does nothing more than take certain positional and material elements into account, and gives it an evaluation. It does not break down the elements and show you how it evaluated each of them. Sometimes, it can be obvious because the analysis is a clear win of material, but most of chess is more deeply hidden than that....sometimes VERY deeply hidden.
  
  I found a site that does what you are asking. It takes those evaluations, and tries to put words and understanding to the numbers.
  
  You it on one of the problems with chess-analysis software for weaker players, and that is that it just shows the strongest move per the computer, without any explanation why. There are some programs, like the ChessBase programs that, using their "Tactical Analysis" feature, attempt to give some explanation to the moves, but they are all wanting.
  
  That said, decodechess.com seems to do better than most for newbies. As a USCF Master, the explanations are pretty good from what I can see, and the underlying "engine" is the same Stockfish that you use. Although a premium account is $99/year (right now, 50% off with the promo code "getserious". for the record, I have no affiliation with the site, nor am I a member), you can create an account, and "decode", or analyze three games per day for free. If you like it, I would jump on the promo.
  
  > **Comments:**
  > **username_2**: Why would someone downvote this? Engines give you a number, but do not tell you WHY or HOW it got that number, which is what the OP was asking.  
  
  ---
  
  ### Answer by username_3 on 2020-02-12. Score: 4
  
  Heuristics can only get you so far, at the end of the day chess is a highly contextual game which means, in order to understand why a given move is good or bad, you can never do without the concrete assessment of lines of play that can arise from that move. Obviously, one cannot go to arbitrary depths in the calculations, so at some point you need to make a judgement, based on your experience and positional understanding, and stop your calculations and evaluate the reached positions. 
  On the one hand, learning more about chess principles will render your calculations more efficient, as you'll get better at dismissing the irrelevant move candidates. It will also allow you to evaluate more accurately the intermediate and end positions that you reach at the end of your calculations. On the other hand, experience and practice will improve your tactical awareness, calculation speed and the depth you can see without moving the pieces.
  When it comes to understanding why an engine evaluates a move as good or bad, if at first according to your calculations and your knowledge of chess principles it is not clear to you, then you should simply rely on the concrete lines of play and explore them with/without the engine. In other words, in a live analysis session, simply play out the main lines that ensue with and without the move you're trying to understand, then compare them. The comparison will better highlight the impact of the move on the consequent positions. This does not mean you can expect to understand any move in any positions, because chess is a highly complex game, and with time, as you get better at it, you'll discover deeper concepts and layers of reasoning behind a move or plan.
  These discussions basically mean that in order to evaluate a move, concrete play and principle-based assessment of positions will always and unavoidably go hand in hand. Think of for instance how we find positional combinations (other combinations would be mating ones, or ones that win material) in chess: First we spot an idea (e.g. doubling our opponent's pawns), then we calculate the relevant variations (such as the repercussion of intermezzo check moves), and last, we evaluate the final positions (e.g. in terms of king safety, material balance, pawn structure etc). Therefore to find a combination, the concrete and positional assessment are both required.
  
  Let's end with an example:
  A typical Dragon position, and say we played the move 8.Qd2 in the diagram below, and afterwards learned that the engine did not like it at all. Then we see the engine suggests immediately 8...Ng4!! attacking the bishop on e3 first chance given! 
    A strategic blunder by white to allow the trade of the dark-squared B for a N. 
  Strategically, if the trade of the g4 knight with the e3 bishop happens, then black will stand really well thank to their dark squared bishop dominating the long diagonal. So we realise 8.Qd2 was premature as first  we needed to secure the g4 square with e.g. 8.f3 then Qd2 can be played having ensured we preserve our dark-squared bishop. This entails the principled approach to understanding Ng4, since the dark-squared bishop is vital to black's play in the Dragon variation of the Sicilian.
  Next question should be: "but can white really not avoid the trade by some dynamic play?" By their nature, these questions cannot be answered by the mere application of chess principles, instead, one needs to concretely go through some of the possible lines of play for white and see what kinds of positions they are leading too. For instance, starting from 9.Nxc6 with the idea to play Bd4 trading the bishops in case of 9...bxc6 (left diagram, green marks white moves, red black's). But then we need to step back again, and consider what if black recaptures on c6 with the d pawn (right diagram) and thus preventing Bd4? Then we need to assess which side has a better development and minor piece coordination after the trade of queens, and the fun continues... 
    9...bxc6 
    9...dxc6 
   [title "Sicilian Dragon, example 1: why 8.Qd2 is bad?"]
   [fen ""]
   [startply "15"]
  
   1. e4 c5 2. Nf3 Nc6 3. d4 cxd4 4. Nxd4 g6 5. Nc3 Bg7 6. Be3 Nf6 7. Bc4 O-O 8. Qd2 Ng4 9. Nxc6 dxc6 (9...bxc6 10. Bd4) 10. Qxd8 Rxd8 11. Bf4
  
  
  ---
  
  ### Answer by username_4 on 2020-02-12. Score: 2
  
  Engine will rate a move as bad when it leads to a disadvantage that can be exploited (sometimes only by a very strong player). There's a myriad of ways in which you can weaken your position and there's no heuristic that guarantees you'll be able to avoid them (that's the beauty of the game!). I'd suggest doing an analysis of the game and following the variation with the help of the engine. Often the answer on what the threat was reveals itself quite within couple / several moves!
  
  > **Comments:**
  > **username_5**: Following variations isn't bad advice in general, but I think OP already knows that. The problem is that analysis is very difficult if you don't have a good understanding of what you're analysing. For a beginner (that group includes me, and I assume OP) it's sometimes still not clear what's so good/bad about a move that results in significant evaluation change, even after following a variation several moves along. As an example, I played a game on chess.com earlier today. I won, but the analysis tool flagged my turn on move 8 as a "missed win" [...]  
  > **username_5**: the move flagged "missed win" was sacrificing a bishop in exchange for one of the opposing knights. I'd considered but decided against taking it. It's not that I thought it was a *bad* move as such, but nor did I think it was a particularly good one. In the analysis tool I can see that it improves the position evaluation by a little over 2 pawns. Using the tool I've followed that variation along all the way to move 18, and I still have no idea why. It hasn't led to me gaining additional material or developing pieces into clearly strong positions.  
  > **username_5**: Maybe that's because it matches against people of similar strength, and so my opponent failed to capitalise on an opening my chosen move left. But doing the same thing and following stockfish's suggestions for 10 moves after the move I did play gets the same result - a few minor pieces exchanged, no obvious threats. I'm sure there *is* some actual difference in the strength of the move I made vs. the one I could have made, but after 10 moves of analysis along both options I've learnt nothing. A tool that could *explain* rather than just tell would be so valuable.  
  
  ---
  
  