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


user14079: 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.

29780: <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.stack.imgur.com/OVC74.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OVC74.png" alt="enter image description here" /></a></p>
 14079: <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>
