How to counter g5 as black?

Sort:
ProfessorThawne

For context, this is the position I am referring to (move 15):

It was around move 15 that the game started to go badly. This was a bullet game (1 min) so obviously there was not time to think through each move properly, but after analysing the game, I am still at a loss over how I could have stopped white from attacking g5 and breaking up my defence after castling.

classclown2

I think your game would not have gone badly had you simply moved the knight on move 15.