Concept

Check and mate

You might say: check, checkmate

Check is an attack on the king; checkmate is check for which the player has no legal answer.

What it does
Makes king safety the immediate legal constraint and the game's winning condition.
Ask
Is the king attacked, and can any legal move remove the attack?

Sources

  1. FIDE, Laws of Chess (from 1 January 2023), Article 1.4–1.4.1The objective of each player is to place the opponent’s king ‘under attack’ in such a way that the opponent has no legal move.
  2. FIDE, Laws of Chess (from 1 January 2023), Article 1.4.1The player who achieves this goal is said to have ‘checkmated’ the opponent’s king and to have won the game.
  3. FIDE, Laws of Chess (from 1 January 2023), Article 3.9.1–3.9.2The king is said to be 'in check' if it is attacked by one or more of the opponent’s pieces, even if such pieces are constrained from moving to the square occupied by the king because they would then leave or place their own king in check.

Use it on your project

teardown-apply: hold "Check and mate" (check-and-mate) 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