# Checkmate

> Checkmate ends a game of chess. The king is attacked (in check) and there is no legal move that gets it out of check.

URL: https://www.jessie-games.com/glossary/checkmate

Used in: Chess

**Checkmate** (often just "mate") is how a game of chess is won. A king is in **check** when an enemy piece attacks it. If the player in check has no legal move that ends the attack, by moving the king, capturing the attacker or blocking the line, it's checkmate and the game is over.

## Checkmate on Jessie Games

In [Chess](https://www.jessie-games.com/games/chess), you can never make a move that leaves your own king in check, so illegal moves simply aren't offered. When your king is attacked, its square glows so you can see it. If a player has no way out, the game ends with checkmate.

Don't confuse it with [stalemate](https://www.jessie-games.com/glossary/stalemate): if the player to move has no legal move but is *not* in check, the game is a draw.

## Example: the back-rank mate

Black's king is on g8, hemmed in by its own pawns on f7, g7 and h7. White moves a rook to e8. The king is in check, it can't step forward because of its pawns, nothing can capture the rook and nothing can block. Checkmate.

## Basic mates to learn

- **King and queen against king.** Use the queen to shrink the enemy king's box, then bring your king up to help.
- **King and rook against king.** Slower, but the same idea: drive the king to the edge.

Practise both against the Easy computer until they feel automatic. Look out for tactics like the [fork](https://www.jessie-games.com/glossary/fork) and the [double threat](https://www.jessie-games.com/glossary/double-threat), which often set up a mate.
