user24117: I am training with an app and have played about 10 games in my life, most years apart. However, now I became interested in the game.
I have this situation:
[FEN "4kbnr/p2npppp/1p6/4P3/q2N4/P6P/1PPP1P1P/RNBQ1RK1 w k - 0 1"]

I was going to move Nf3, thereby moving the knight to (temporary) safety, protecting the e5 pawn, and having the queen additionally protect knight. However, the app wants me to make the move Qf3.
The only advantages I see to that are d eveloping the queen and having a more versatile queen instead of a knight control centre
But it seems like this should easily cost me the knight. So, can you help me realise why the app is right?

user24171: 
a general rule is to solve problems with devolopment, here your problem is your N is under attack and you threat QA8+
the threat of QA8 is very dangerous and is winning.


user24131: Qf3 threatens the king with Qa8 on the next move. Your oppenent could capture your knight and defend with Nb8 afterwards, but this will cost him a knight as well (and also a bishop or an exchange of queens), so he won't capture your knight.
Always keep in mind that there are four possible defences if one of your pieces is under attack:

Move the piece to safety, preferably somewhere where it's still dangerous. Don't retreat.
If the attacking piece is more valuable than yours, back it up and make it an exchange.
Move a cheaper piece into the line of fire and block the attack, preferably making it an exchange as well.
Press and unrelated attack, which forces the opponent to defend his pieces instead of attacking yours.

In your example, all four defences are available. You can move the knight to safety with Nf3, back it up with c2, block the attack with b3 or press an unrelated attack with Qf3. Qf3 is the best option, because it puts you in a great position, forces the opponent to waste a tempo defending his king, and you can still protect your knight with c2 of b3 afterwards. Retreating the knight to Nf3 is the worst option.

user13074: Welcome Ludi!
As RemcoG points out, Qf3!
This is an example of a zwischenzug or "intermediate or interpolated move".
Often a surprise move or an unexpected move.
Black thinks you are forced to attend to your attacked knight, but you have a surprise in store!
But, how would you come to consider such moves?
Your knight is attacked as you point out, so the first thought is to either defend it or to move it to safety.
However a useful thought pattern in chess is: I have found a good move, but is there an even better one?
This skill comes about from developing sight-of-the-board.
You can develop this skill by practise.
A quick scan should allow you to notice several general things:

You are the exchange and two pawns up.
Your king is a bit exposed but your opponent does not have any effective threat against you king.
Your opponent's king is in a precarious position: a check delivered on a8 or c8 by either a rook or queen would be checkmate!
Any threat to do this cannot be ignored so one thought is: can any of my pieces attack either of those squares?
It leads you to Qf3!

This general scan of the board routinely can be done when it is your opponent's move.
Then when it is your turn to move you already have a useful framework to decide on a specific move.

user924: It comes with the threat of Qa8+, which forces black to return the knight.
And white is up material, so exchanges are good.

24117: <p>I am training with an app and have played about 10 games in my life, most years apart. However, now I became interested in the game.</p>
<p>I have this situation:</p>
<pre><code>[FEN &quot;4kbnr/p2npppp/1p6/4P3/q2N4/P6P/1PPP1P1P/RNBQ1RK1 w k - 0 1&quot;]
</code></pre>
<p>I was going to move Nf3, thereby moving the knight to (temporary) safety, protecting the e5 pawn, and having the queen additionally protect knight. However, the app wants me to make the move Qf3.</p>
<p>The only advantages I see to that are d eveloping the queen and having a more versatile queen instead of a knight control centre</p>
<p>But it seems like this should easily cost me the knight. So, can you help me realise why the app is right?</p>
 24171: <ol>
<li>a general rule is to solve problems with devolopment, here your problem is your N is under attack and you threat QA8+</li>
<li>the threat of QA8 is very dangerous and is winning.</li>
</ol>
 24131: <p>Qf3 threatens the king with Qa8 on the next move. Your oppenent could capture your knight and defend with Nb8 afterwards, but this will cost him a knight as well (and also a bishop or an exchange of queens), so he won't capture your knight.</p>
<p>Always keep in mind that there are four possible defences if one of your pieces is under attack:</p>
<ol>
<li>Move the piece to safety, preferably somewhere where it's still dangerous. Don't retreat.</li>
<li>If the attacking piece is more valuable than yours, back it up and make it an exchange.</li>
<li>Move a cheaper piece into the line of fire and block the attack, preferably making it an exchange as well.</li>
<li>Press and unrelated attack, which forces the opponent to defend his pieces instead of attacking yours.</li>
</ol>
<p>In your example, all four defences are available. You can move the knight to safety with Nf3, back it up with c2, block the attack with b3 or press an unrelated attack with Qf3. Qf3 is the best option, because it puts you in a great position, forces the opponent to waste a tempo defending his king, and you can still protect your knight with c2 of b3 afterwards. Retreating the knight to Nf3 is the worst option.</p>
 13074: <p>Welcome Ludi!</p>
<p>As RemcoG points out, Qf3!</p>
<p>This is an example of a <a href="https://en.wikipedia.org/wiki/Zwischenzug" rel="nofollow noreferrer">zwischenzug</a> or &quot;intermediate or interpolated move&quot;.
Often a surprise move or an unexpected move.
Black thinks you are forced to attend to your attacked knight, but you have a surprise in store!</p>
<p>But, how would you come to consider such moves?</p>
<p>Your knight is attacked as you point out, so the first thought is to either defend it or to move it to safety.</p>
<p>However a useful thought pattern in chess is: I have found a good move, but is there an even better one?</p>
<p>This skill comes about from developing sight-of-the-board.</p>
<p>You can develop this skill by practise.
A quick scan should allow you to notice several general things:</p>
<ol>
<li>You are the exchange and two pawns up.</li>
<li>Your king is a bit exposed but your opponent does not have any effective threat against you king.</li>
<li>Your opponent's king is in a precarious position: a check delivered on a8 or c8 by either a rook or queen would be checkmate!
Any threat to do this cannot be ignored so one thought is: can any of my pieces attack either of those squares?
It leads you to Qf3!</li>
</ol>
<p>This general scan of the board routinely can be done when it is your opponent's move.
Then when it is your turn to move you already have a useful framework to decide on a specific move.</p>
 924: <p>It comes with the threat of <strong>Qa8+</strong>, which forces black to return the knight.</p>
<p>And white is up material, so exchanges are good.</p>
