I have just started to play and study the Ruy Lopez. 4. d4 felt natural here. MCO-15 says this line is the Old Steinitz Defense and that after 3...d6 4. d4 is the best move.
4... a6
?! Confusing two different variations of the opening. Typically Black plays: 4...Bd7 here. As we will see in the game, Black is forced into have a few pawn weaknesses (and in this case, it loses a pawn as well) because of this move, which gives White a better than normal advantage.
5. Bb5xc6 bxc6 6. dxe5 Bc8g4 7. exd6
Winning the pawn.
7... cxd6 8. O-O Ng8f6 9. Rf1e1
Defending the pawn and setting up threats against the Un-castled Black King.
9... g6 10. Bc1g5 Bf8e7
? Why not Bg7 now Black is very weak on the dark-squares and g6 was a wasted move.
11. e5
! Prying open the center. White has a nice edge with the extra pawn and Black's weak a and c pawns, so trading queens is fine for White.
11... dxe5 12. Qd1xd8 Ra8xd8 13. Nf3xe5 c5
? Losing a piece because of the pinned d7 bishop to the un-castled king.
14. Ne5xg4 Nf6xg4 15. Re1xe7 Ke8f8 16. Nb1c3
Removing the back rank threat and developing the final pieces.
16... Rd8d2 17. Ra1e1
? Attempting to mate the Black King, but missing that the g4 knight is guarding f6 and h6. Though I can play h3 after Rxc2.