Answers.Body: <p>Most probably White resigned.</p>
  <p>This is a common decision to be made in a desperate position such as this one, where there is no doubt Black will be able to win anyway and the 10 or 20 more moves technically needed before checkmate are merely a waste of time.</p>
  <p>My hypothesis can only be confirmed if you give us some informations about where the found this game and the circumstances in which it was played.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-09T22:03:05.657Z
Answers.Text: Here's the chess.com link for more info: https://www.chess.com/games/view/15772319 (it was two humans so you're likely right about one resigning)
  Thanks for the insight!
Answers.UserDisplayName: Jam
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-10T14:34:26.043Z
Answers.Text: @Jam Click on "Computer analysis" near the bottom right and then the "Analysis" tab near the *top* right. It will show you how the game may have continued. You can also start moving pieces for each side and it'll analyze that move as well as tell you what it judges to be best. I did that for each side until I reached checkmate at move 48.
Answers.UserDisplayName: Engineer Toast
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-10T17:27:43.170Z
Answers.Text: @EngineerToast: I did that, and was startled to discover that the knight on b1 is a mirage. When you go to analysis, it vanishes. Apparently, White gave Black knight odds. It is unfortunate that the /games/view page displays a knight that isn't there...
Answers.UserDisplayName: Kevin
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-10T17:41:51.583Z
Answers.Text: @Kevin It displays this poorly in the original viewer but the game was playing [knight odds](https://en.wikipedia.org/wiki/Handicap_(chess)#:~:text=Knight%20odds%3A%20One%20of%20the,or%20b8.). This is shown on the right hand side with the text `Event: Havana - Knight Odds`.
Answers.UserDisplayName: Engineer Toast
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-09T14:38:38.973Z
Answers.LastActivityDate: 2021-09-09T14:38:38.973Z
Answers.UserDisplayName: Evargalo
Body: <p>I'm programming chess in python for my cs class and I'm doing some testing using chess.com. However, I'm confused as to why <a href="https://www.chess.com/games/view/15772319" rel="nofollow noreferrer">this game</a> (and several others) seem to prematurely come to an end?</p>
  <p>AFAIK the end-conditions to chess are</p>
  <ul>
  <li>checkmate, where the king theoretically will be taken next move</li>
  <li>stalemate, where there are no valid moves</li>
  <li>running out of time.</li>
  </ul>
  <p>This game is only 19 moves long and ended with black winning. Can anyone tell me why?</p>
  <p><a href="https://i.sstatic.net/OVC74.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/OVC74.png" alt="enter image description here" /></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-09T14:42:22.767Z
Comments.Text: You're missing at least three more ways to finish a game; draw by threefold repetition, 50 move rules, and resignation. I don't include accorded draw since you're talking about engines.
Comments.UserDisplayName: emdio
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-09T17:15:46.333Z
Comments.Text: White is in a hopeless position so he either resigned or lost on time
Comments.UserDisplayName: David
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-09T18:41:21.953Z
Comments.Text: More information would be helpful here. Were both players human? Engines? One of each? As already indicated, humans have resignation as an option - i.e. stopping play and giving the other player the win (usually - I've seen programs that don't provide resignation as an option). As already indicated, white is in a hopeless situation, so if a human was playing white, they likely resigned.
Comments.UserDisplayName: GreenMatt
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-10T20:56:47.820Z
Comments.Text: Resigning is an end-condition too. White's rock is pinned, and there's no way of not losing material here.
Comments.UserDisplayName: Quora Feans
Tags: <rules><winning>
Title: There is neither checkmate nor stalemate, so why did black win?
ThreadText: # There is neither checkmate nor stalemate, so why did black win?
  
  (Asked by: username_0 on 2021-09-09)
  
  I'm programming chess in python for my cs class and I'm doing some testing using chess.com. However, I'm confused as to why [this game](https://www.chess.com/games/view/15772319) (and several others) seem to prematurely come to an end?
  
  AFAIK the end-conditions to chess are
  
  * checkmate, where the king theoretically will be taken next move
  * stalemate, where there are no valid moves
  * running out of time.
  
  This game is only 19 moves long and ended with black winning. Can anyone tell me why?
  
  [![enter image description here](https://i.sstatic.net/OVC74.png)](https://i.sstatic.net/OVC74.png)
  
  **Tags:** rules, winning
  
  > **Comments:**
  > **username_1**: You're missing at least three more ways to finish a game; draw by threefold repetition, 50 move rules, and resignation. I don't include accorded draw since you're talking about engines.  
  > **username_2**: White is in a hopeless position so he either resigned or lost on time  
  > **username_3**: More information would be helpful here. Were both players human? Engines? One of each? As already indicated, humans have resignation as an option - i.e. stopping play and giving the other player the win (usually - I've seen programs that don't provide resignation as an option). As already indicated, white is in a hopeless situation, so if a human was playing white, they likely resigned.  
  > **username_4**: Resigning is an end-condition too. White's rock is pinned, and there's no way of not losing material here.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_5 on 2021-09-09. Score: 18 | Accepted answer
  
  Most probably White resigned.
  
  This is a common decision to be made in a desperate position such as this one, where there is no doubt Black will be able to win anyway and the 10 or 20 more moves technically needed before checkmate are merely a waste of time.
  
  My hypothesis can only be confirmed if you give us some informations about where the found this game and the circumstances in which it was played.
  
  > **Comments:**
  > **username_0**: Here's the chess.com link for more info: https://www.chess.com/games/view/15772319 (it was two humans so you're likely right about one resigning) Thanks for the insight!  
  > **username_6**: @username_0 Click on "Computer analysis" near the bottom right and then the "Analysis" tab near the *top* right. It will show you how the game may have continued. You can also start moving pieces for each side and it'll analyze that move as well as tell you what it judges to be best. I did that for each side until I reached checkmate at move 48.  
  > **username_7**: @username_6: I did that, and was startled to discover that the knight on b1 is a mirage. When you go to analysis, it vanishes. Apparently, White gave Black knight odds. It is unfortunate that the /games/view page displays a knight that isn't there...  
  > **username_6**: @username_7 It displays this poorly in the original viewer but the game was playing [knight odds](https://en.wikipedia.org/wiki/Handicap_(chess)#:~:text=Knight%20odds%3A%20One%20of%20the,or%20b8.). This is shown on the right hand side with the text `Event: Havana - Knight Odds`.  
  
  ---
  
  