Answers.Body: <p>I would love to see the position; please add it to your question somehow (we can always edit it to look nice). However, there is no such rule. Either your computer doesn't implement captures en passant (improbable these days) or the capture was not valid for some other reason.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-04T06:52:00.477Z
Answers.Text: Maybe the computer cheated you. This a new phenomenon that has arisen with smarter engines :D
Answers.UserDisplayName: chackerian
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-02T18:31:23.333Z
Answers.Text: As for the "improbable these days" part... I know of current high volume "chess" implementations that don't even implement castling!
Answers.UserDisplayName: Eiko
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-09-12T22:13:45.153Z
Answers.Text: On reflection it was played on my nintendo, not my computer, and I have no record of the position.
Answers.UserDisplayName: Keith Ellel
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-09-08T22:44:43.133Z
Answers.LastActivityDate: 2013-09-08T22:44:43.133Z
Answers.UserDisplayName: yrodro
Answers.Body: <p>Maybe your pawn happened to be pinned?</p>
  
  <pre><code> 8/8/7r/5K1k/7p/8/6P1/7R w - - 0 1
  
   1. g4+# hxg3?? 2. Rxh5
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-03T02:37:06.530Z
Answers.Text: There cannot be moves after checkmate
Answers.UserDisplayName: M.M
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-03T03:35:35.393Z
Answers.Text: Yes, of course; I was using "??" to indicate not a weak but an illegal move, with "2 Rxh5" explaining why.
Answers.UserDisplayName: Noam D. Elkies
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-04T05:33:17.617Z
Answers.LastActivityDate: 2016-08-04T05:33:17.617Z
Answers.UserDisplayName: Noam D. Elkies
Answers.Body: <p>As I understand your question, the <em>computer checkmated you</em> with a pawn move from the 2nd to the 4th rank. (Such a move is the only situation that invokes the en passant rule.)</p>
  
  <p>Checkmate ends the game.  That is why you were not permitted to capture; the game is already over.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-02T18:33:08.780Z
Answers.Text: This misses the question, being if an ep-capture is allowed in that scenario (which of course it is). It just isn't checkmate if e.p. is a legal move.
Answers.UserDisplayName: Eiko
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-02T18:40:51.147Z
Answers.Text: It seems I misunderstood the timing of events in your game (the question doesn't state that the e.p. capture should have been possible prior to the computer's move, or that the computer checkmated you by moving the same pawn again (the one that you were unable to capture e.p. on your prior move).  Is that the correct description of the events? I.e. 1. Computer advances a2-a4. 2. You attempt to capture b4xa3, but are not allowed to. 3. The computer advances a4-a5, giving checkmate. Is that it?
Answers.UserDisplayName: jaxter
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-02T18:51:01.687Z
Answers.Text: It's not my question, but I think it's like this: computer played a2-a4 and announced checkmate (although b4xe3 e.p. *might* have been possible). Without the game record impossible to answer for sure. But I've seen too many low quality mass-product "chess" apps that got the rules wrong that I wouldn't be surprised if it was a bug.
Answers.UserDisplayName: Eiko
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-02T19:20:47.360Z
Answers.Text: @Eiko OP needs to provide details of the chronology of events, it seems, since there is sufficient ambiguity in the account to make the question impossible to answer correctly with any certainty. I've offered 2 interpretations; the 2nd would require further details to determine why the move was disallowed.
Answers.UserDisplayName: jaxter
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-03T02:38:19.317Z
Answers.Text: I think the question is clearly saying that the computer played a2-a4 and said that it was checkmate, even though b4xa3 is possible. (Of course OP may be mistaken too and b4xa3 was illegal for some other reason)
Answers.UserDisplayName: M.M
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-06T21:03:56.610Z
Answers.Text: This answer is incorrect.  If the pawn can legally be captured en passant, it is not checkmate, only check.  By your logic, it would be impossible to get out of check, because the game would end. For it to end the game, the en passant capture would have to be illegal for some other reason (a pin being the only one that springs to mind, since a double check isn't possible in this specific scenario).
Answers.UserDisplayName: foiwofjwej
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-02T16:39:38.600Z
Answers.LastActivityDate: 2016-10-02T16:39:38.600Z
Answers.UserDisplayName: jaxter
Body: <p>My computer checkmated me with a pawn move.</p>
  
  <p>I could have taken that pawn en passant but I wasn't given a chance to do that.</p>
  
  <p>Was that a fault of my computer, or is there a rule stating that a pawn giving checkmate cannot be taken en passant?</p>
  
Tags: <rules><pawns><checkmate><kings><en-passant>
Title: Pawn giving checkmate
ThreadText: # Pawn giving checkmate
  
  (Asked by: username_0 on 2013-09-08)
  
  My computer checkmated me with a pawn move.
  
  I could have taken that pawn en passant but I wasn't given a chance to do that.
  
  Was that a fault of my computer, or is there a rule stating that a pawn giving checkmate cannot be taken en passant?
  
  **Tags:** rules, pawns, checkmate, kings, en-passant
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2013-09-08. Score: 12
  
  I would love to see the position; please add it to your question somehow (we can always edit it to look nice). However, there is no such rule. Either your computer doesn't implement captures en passant (improbable these days) or the capture was not valid for some other reason.
  
  > **Comments:**
  > **username_0**: On reflection it was played on my nintendo, not my computer, and I have no record of the position.  
  > **username_2**: Maybe the computer cheated you. This a new phenomenon that has arisen with smarter engines :D  
  > **username_3**: As for the "improbable these days" part... I know of current high volume "chess" implementations that don't even implement castling!  
  
  ---
  
  ### Answer by username_4 on 2016-08-04. Score: 11
  
  Maybe your pawn happened to be pinned?
   8/8/7r/5K1k/7p/8/6P1/7R w - - 0 1
  
   1. g4+# hxg3?? 2. Rxh5
  
  > **Comments:**
  > **username_5**: There cannot be moves after checkmate  
  > **username_4**: Yes, of course; I was using "??" to indicate not a weak but an illegal move, with "2 Rxh5" explaining why.  
  
  ---
  
  ### Answer by username_6 on 2016-10-02. Score: 0
  
  As I understand your question, the *computer checkmated you* with a pawn move from the 2nd to the 4th rank. (Such a move is the only situation that invokes the en passant rule.)
  
  Checkmate ends the game. That is why you were not permitted to capture; the game is already over.
  
  > **Comments:**
  > **username_3**: This misses the question, being if an ep-capture is allowed in that scenario (which of course it is). It just isn't checkmate if e.p. is a legal move.  
  > **username_6**: It seems I misunderstood the timing of events in your game (the question doesn't state that the e.p. capture should have been possible prior to the computer's move, or that the computer checkmated you by moving the same pawn again (the one that you were unable to capture e.p. on your prior move).  Is that the correct description of the events? I.e. 1. Computer advances a2-a4. 2. You attempt to capture b4xa3, but are not allowed to. 3. The computer advances a4-a5, giving checkmate. Is that it?  
  > **username_3**: It's not my question, but I think it's like this: computer played a2-a4 and announced checkmate (although b4xe3 e.p. *might* have been possible). Without the game record impossible to answer for sure. But I've seen too many low quality mass-product "chess" apps that got the rules wrong that I wouldn't be surprised if it was a bug.  
  > **username_6**: @username_3 OP needs to provide details of the chronology of events, it seems, since there is sufficient ambiguity in the account to make the question impossible to answer correctly with any certainty. I've offered 2 interpretations; the 2nd would require further details to determine why the move was disallowed.  
  > **username_5**: I think the question is clearly saying that the computer played a2-a4 and said that it was checkmate, even though b4xa3 is possible. (Of course OP may be mistaken too and b4xa3 was illegal for some other reason)  
  > **username_7**: This answer is incorrect.  If the pawn can legally be captured en passant, it is not checkmate, only check.  By your logic, it would be impossible to get out of check, because the game would end. For it to end the game, the en passant capture would have to be illegal for some other reason (a pin being the only one that springs to mind, since a double check isn't possible in this specific scenario).  
  
  ---
  
  