Bug in the system?

Sort:
Avatar of TheIntrovert

Perhaps I don't understand all of the rules of the game, but watch what happens in the game, move 5. 

 

http://www.chess.com/livechess/game?id=682131293

 

I'm playing black.  I move g pawn to g-5 in move 4; opponent promptly attaks diagonally with hxg6 to a spot behind my pawn in move 5.

What happened here?

Avatar of Zigwurst

en passant. Look it up.

Avatar of TheIntrovert
Zigwurst wrote:

en passant. Look it up.

Ah. I tried searching for the rule but couldn't find anything.  Thanks!

Avatar of erik

http://www.chess.com/learn-how-to-play-chess#special