Concept
Draw rules
You might say: drawn game, ways a game is drawn
Chess can end without a winner by stalemate, dead position, agreement, repetition, or the move-count rules for positions without pawn moves or captures.
- What it does
- Stops a game when checkmate cannot be produced or when a defined draw condition is met.
- Ask
- Is the position a dead position, a stalemate, a repetition, an agreed draw, or a 50/75-move case?
Sources
- FIDE, Laws of Chess (from 1 January 2023), Article 5.2.1
The game is drawn when the player to move has no legal move and his/her king is not in check. The game is said to end in ‘stalemate’. This immediately ends the game, provided that the move producing the stalemate position was in accordance with Article 3 and Articles 4.2 – 4.7.
- FIDE, Laws of Chess (from 1 January 2023), Article 5.2.2
The game is drawn when a position has arisen in which neither player can checkmate the opponent’s king with any series of legal moves. The game is said to end in a ‘dead position’. This immediately ends the game, provided that the move producing the position was in accordance with Article 3 and Articles 4.2 – 4.7.
- FIDE, Laws of Chess (from 1 January 2023), Article 5.2.3
The game is drawn upon agreement between the two players during the game, provided both players have made at least one move. This immediately ends the game.
- FIDE, Laws of Chess (from 1 January 2023), Article 9.2
The game is drawn, upon a correct claim by a player having the move, when the same position for at least the third time (not necessarily by a repetition of moves):
- FIDE, Laws of Chess (from 1 January 2023), Article 9.3
9.3.2 the last 50 moves by each player have been completed without the movement of any pawn and without any capture.
- FIDE, Laws of Chess (from 1 January 2023), Article 9.6
If one or both of the following occur(s) then the game is drawn: 9.6.1 the same position has appeared, as in 9.2.2 at least five times.
- FIDE, Laws of Chess (from 1 January 2023), Article 9.6.2
9.6.2 any series of at least 75 moves have been made by each player without the movement of any pawn and without any capture. If the last move resulted in checkmate, that shall take precedence.
Use it on your project
teardown-apply: hold "Draw rules" (draw-rules) from the teardown at https://teardownatlas.com/chess/ against my project
Paste it into a coding agent that has the teardown skills.
An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal