I am by no means a chess person (like 1200 haha). I am designing a computer science challenge where the player has to find a bug in my chess program to beat stockfish in a game of chess. The bug is that en passant is incorrectly programmed.
| | |
In the above diagram, Q is a black queen, and P is a white pawn.
Imagine a position where our pawn is next to an enemy piece, like a queen. The program forgets to check that the piece it is trying to en-passant is a pawn.
This allows it to capture the enemy queen, like so:
(X being the position of the queen, that was "captured")
So I am looking for an opening that can draw the enemy queen out in this fashion. It doesn't have to be a particularly strong opening, since we will gain 9 pts advantage from taking the queen.
Does an opening like this exist, where the white player is able to get one of their pawns adjacent to the black queen?