user27898: 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.
| | |
|Q|P|

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:
|P| |
|X| |

(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?

user18809: If you can en passant any enemy piece and the engine doesn't know about it, you don't need to trick Stockfish into bringing its queen out early. You can play almost any way you want and let the game come to you eventually.
I guess a quick example can come from the Alekhine Defence. After 1.e4 Nf6 2.e5 Nd5, if I understood correctly you can put yourself a piece up with 3.exd6 e.p

27898: <p>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.</p>
<pre><code>| | |
|Q|P|
</code></pre>
<p>In the above diagram, Q is a black queen, and P is a white pawn.</p>
<p>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.</p>
<p>This allows it to capture the enemy queen, like so:</p>
<pre><code>|P| |
|X| |
</code></pre>
<p>(X being the position of the queen, that was &quot;captured&quot;)</p>
<p>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.</p>
<p>Does an opening like this exist, where the white player is able to get one of their pawns adjacent to the black queen?</p>
 18809: <p>If you can en passant any enemy piece and the engine doesn't know about it, you don't need to trick Stockfish into bringing its queen out early. You can play almost any way you want and let the game come to you eventually.</p>
<p>I guess a quick example can come from the Alekhine Defence. After <strong>1.e4 Nf6 2.e5 Nd5</strong>, if I understood correctly you can put yourself a piece up with 3.exd6 e.p</p>
