user3835: I'm a beginner with openings and Steinitz principles, and I'm in the interesting position where I can develop an artificial intelligence which is better than me in chess.
After the e4 c6, I have played the following variant against my machine, where I tried to refuse the Caro-Kann game to see if I can manage outside the commonly known combinations:
[Title "Caro-Kann refutation"]
[StartPly "36"]
[FEN "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"]

1. e4 c6
2. c3 d5
3. Qc2 Be6
4. d4 Nbd7
5. h3 f6
6. Bd3 dxe4
7. Bxe4 g6
8. Bf4 g5
9. Bg3 Qa5
10. Nge2 h5
11. Bg6+ Kd8
12. Nbd2 h4
13. Nb3 Qb6
14. Bh2 Qb5
15. Bd3 Qa4
16. Kd2 Bd5
17. Rhg1 Rh5
18. Be4 Rh8

At this point I'm stuck and still haven't managed to gain a real advantage and every idea I get seems to lead to a draw.
Were my moves relevant or is my defense fragile? Can I still overthrow black at this point?

user2997: There are in fact quite a few mistakes on both sides, but I can't correct the AI, so this is for White:

3.Qc2 is already bad - it is does not contribute to the fight for the center (and this is a fast one, no time for slow moves). After pawns exchange on e4 black plays Nf6 with tempo and gains the "first move advantage".
6.h3 is slow in that it doesn't develop anything and doesn't stop any threat (Black's white bishop already chose a square which is not g4).
10.Nf3 is better than Ne2 - controls more critical square and looks over Black's weakened kingside.
13.Nb3 is a straight up blunder. 13...Bxb3 with threat on the queen forces 14.Qxb3 with time for Black's 14...hxg3 - up a piece.
15.Nc5 is winning. There are many variations here but after knights are exchanged you threaten 0-0-0 with check and some very strong tactics.
16.Kd2 is weak - centralizing the king while still in the midgame is risky and serves little purpose. Better is 0-0 at least.
17.Rhg1 while not a mistake seems uncalled for. The h rook seems better placed at e1 aiming at the half-open file and close to Black's king (with no castle rights). I think that Bxg2 for Black will be too slow as white has chances of trapping Black's Queen with moves like c4, Nc3 and a3 etc.
You have a better position, don't exchange pieces with 18.Be4. Something like c4 forces his bishop away, then follow with something along the lines of Rooks to e1 and d1, N to c3 (not necessarily in this order) and remember that if Black moves Q to a6 you have c5 with discovery of the bishop on the queen.


3835: <p>I'm a beginner with openings and Steinitz principles, and I'm in the interesting position where I can develop an artificial intelligence which is better than me in chess.</p>

<p>After the <code>e4 c6</code>, I have played the following variant against my machine, where I tried to refuse the Caro-Kann game to see if I can manage outside the commonly known combinations:</p>

<pre><code>[Title "Caro-Kann refutation"]
[StartPly "36"]
[FEN "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"]

1. e4 c6
2. c3 d5
3. Qc2 Be6
4. d4 Nbd7
5. h3 f6
6. Bd3 dxe4
7. Bxe4 g6
8. Bf4 g5
9. Bg3 Qa5
10. Nge2 h5
11. Bg6+ Kd8
12. Nbd2 h4
13. Nb3 Qb6
14. Bh2 Qb5
15. Bd3 Qa4
16. Kd2 Bd5
17. Rhg1 Rh5
18. Be4 Rh8
</code></pre>

<p>At this point I'm stuck and still haven't managed to gain a real advantage and every idea I get seems to lead to a draw.</p>

<p>Were my moves relevant or is my defense fragile? Can I still overthrow black at this point?</p>
 2997: <p>There are in fact quite a few mistakes on both sides, but I can't correct the AI, so this is for White:</p>

<ul>
<li><p>3.Qc2 is already bad - it is does not contribute to the fight for the center (and this is a fast one, no time for slow moves). After pawns exchange on e4 black plays Nf6 with tempo and gains the "first move advantage".</p></li>
<li><p>6.h3 is slow in that it doesn't develop anything and doesn't stop any threat (Black's white bishop already chose a square which is not g4).</p></li>
<li><p>10.Nf3 is better than Ne2 - controls more critical square and looks over Black's weakened kingside.</p></li>
<li><p>13.Nb3 is a straight up blunder. 13...Bxb3 with threat on the queen forces 14.Qxb3 with time for Black's 14...hxg3 - up a piece.</p></li>
<li><p>15.Nc5 is winning. There are many variations here but after knights are exchanged you threaten 0-0-0 with check and some very strong tactics.</p></li>
<li><p>16.Kd2 is weak - centralizing the king while still in the midgame is risky and serves little purpose. Better is 0-0 at least.</p></li>
<li><p>17.Rhg1 while not a mistake seems uncalled for. The h rook seems better placed at e1 aiming at the half-open file and close to Black's king (with no castle rights). I think that Bxg2 for Black will be too slow as white has chances of trapping Black's Queen with moves like c4, Nc3 and a3 etc.</p></li>
<li><p>You have a better position, don't exchange pieces with 18.Be4. Something like c4 forces his bishop away, then follow with something along the lines of Rooks to e1 and d1, N to c3 (not necessarily in this order) and remember that if Black moves Q to a6 you have c5 with discovery of the bishop on the queen.</p></li>
</ul>
