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?