The game ends when one of the players captures his opponent's king, when one of the player's resigns or there is a stalemate.
When a player's king is threatened by an opposing piece, it is said to be "in check". When a player places the opposing king in check he should announce, "check". The object of a player is not merely to place his opponent's king in check but to make certain that every square where the king has a possibility of movement is also covered. This is called checkmate. The king is considered captured.
Either player may resign at any time. This generally happens when a player loses a major piece and the outlook for victory in his case appears bleak.
Stalemate is considered a tie. A stalemate occurs when a player's only move is to place his own king in check, but its current square is not threatened. As long as he can move another piece or the king can move to an open square, stalemate may not occur.
A draw also results when the only two pieces on the board are Kings, regardless of their position. If the pieces remaining on the board make check mate impossible, for example one cannot checkmate an opponent with only a king and a bishop a draw would also result.