Total beginner at chess. I am analyzing a game I played.
The computer says the blue line here is the best:
r1bqr1k1/pp5p/2nb1p2/2p5/Q1Pp2pN/1P4B1/P3BPPP/4RRK1 b - - 0 1 1... d3 (1... Kg7 2. Bxd6 Qxd6 3. Nf5 Bxf5)
Why? If I move my pawn there, the bishop takes it without worries, it seems?
I instead moved King to g7, hoping to lure the white knight in a trap. If he went for a fork on f5 attacking my queen and king, I would take the knight with my bishop.
By going King to g7, his bishop would take my bishop on d6, then I would take his bishop with my queen, and then he would make his knight move to f5 for the fork. Then I would take knight with my bishop.
Ignoring the potentially better play, is this a bad move in and of itself?