hcm444 / chess

0 stars 0 forks source link

en passant #1

Open hcm444 opened 5 months ago

hcm444 commented 5 months ago

https://en.wikipedia.org/wiki/En_passant

hcm444 commented 5 months ago

En passant squares should appear directly behind pawns that move 2 spaces initially. By this logic they should appear in only 2 rows of the chessboard

moving an opponent pawn into one of these en passant squares should remove the piece from the board