🕸Fergus Duniho wrote on Tue, Nov 12, 2019 02:54 AM UTC:
So if the player moved a pawn two spaces and the placed a piece on the square passed over you would allow capture of both with a single move?
The way it is coded, that would not happen. The first thing it checks for is an ordinary diagonal capture. If the move involves one, that's what it does, and it doesn't get around to checking for an en passant move.
I have started to look at the thread you provided a link to, and I will continue to look at it tomorrow.
The way it is coded, that would not happen. The first thing it checks for is an ordinary diagonal capture. If the move involves one, that's what it does, and it doesn't get around to checking for an en passant move.
I have started to look at the thread you provided a link to, and I will continue to look at it tomorrow.