I was going to say the same as paul.
As an extra point, we can't give you a general rule for all points in the game because it will always depend on the position of the board
I was going to say the same as paul.
As an extra point, we can't give you a general rule for all points in the game because it will always depend on the position of the board
In general, you want to tie down a piece of lesser value to defense. It's worth pointing out though that in your diagram neither move will tie down a defender, because as the game goes on it's likely other pieces will defend e5 / e5 will be traded off.
But also in general, good moves do more than 1 thing for your position. Nc6 develops a piece and defends the pawn. The other positives are noted by paul e.g. doesn't block the bishop.
In your diagram, both are known opening moves. d6 is considered solid but passive while Nc6 can lead to many different and complex types of positions. For that reason you'll almost always see Nc6 from very strong players.
Given the following two data points:
One rule could be when a pawn is attacked with a pawn, defend with a pawn. When a pawn is attacked with a piece, defend with a piece.
Too simplistic, I know. In the middlegame, tactics will dictate which is best. In the opening, really you should just know. If you don't, try one and then the other, see which one works better for you.
For example, in this common situation:
Does black play d6 or Nc6. If you can, try to give guidelines for when to defend with a knight and when to defend with a pawn.