Stalemate is a situation in the game of
chess where the player whose turn it is to move is not in
check but has no legal move. The
rules of chess provide that when stalemate occurs, the game ends as a
draw (i.e. having no winner). During the
endgame, stalemate is a resource that can enable the player with the inferior position to draw the game rather than lose. In more complicated positions, stalemate is much rarer, usually taking the form of a
swindle that succeeds only if the superior side is inattentive. Stalemate is also a common theme in
endgame studies and other chess problems.