Mate in 2
Black to move
Solution
One solution line: g1=Q Kh8 Qfh2#.
Position analysis
What happens on the board after the solution.
The key idea
g1=Q Kh8 Qfh2# The king on h8 is in check from queen h2. The other escape squares are covered: g7 — queen g1, h7 — queen h2, g8 — queen g1. No legal capture or block removes the check. It is checkmate. Every defense and mating continuation: Kh8 → Qfh2# / Qh4# / Qh6#.
How to find checkmate
Check the king’s escape squares and every available defense.
When check becomes checkmate
Checkmate occurs when the king is in check and its side has no legal move. With no legal move and no check, the result is stalemate.
Three ways to defend
First check whether the king can move to a safe square. Then look for a legal capture of the checking piece or a block. A knight check cannot be blocked. In double check, only a king move can get out of check.
Mate against every reply
For mate in two, choose a first move, list the opponent’s replies, and find a mate after each. The first move can be quiet. A quiet move leaving the opponent with no legal reply produces stalemate.
Sources
Check and king safety
How to identify check and test the legality of a reply.
King safety after a move
Check your own king after the move you are considering. A pawn can leave a file and expose its king to a rook check even if the king was safe before the move.
Pinned pieces
A pinned piece still attacks squares according to its movement rules. Count those attacks when testing a king move or castling.
Reading the line of check
Locate the checking piece first. If the check travels along a line, test whether it can be blocked. Then check captures and king moves.
Sources
Pawn promotion
Four choices on the last rank.
The four choices
A pawn that reaches the farthest rank immediately promotes to a queen, rook, bishop, or knight of its own colour. You can choose a piece even if you already have one on the board.
When a knight is needed
A knight attacks squares a queen on the same square does not. Compare all four promotions: one may give the required check while another allows a defense or even causes stalemate.
Sources
Sources · Lichess