66 min read

Lena Ortiz does her puzzles on the bus home from the night shift. She showed us two of them at the Thursday Night Chess Club, on her phone, with the look of someone who has been personally insulted by a piece of software.

Chapter 9 — Tactical Patterns: Forks, Pins, Skewers, Discovered Attacks, and the Building Blocks of Combination Play

Lena Ortiz does her puzzles on the bus home from the night shift. She showed us two of them at the Thursday Night Chess Club, on her phone, with the look of someone who has been personally insulted by a piece of software.

Lichess puzzle PcSpL: Black to move after 9.dxc6

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc1, Bb5, Ng1, b2, c2, f2, g2, h2, a3, c6; Black Ke8, Qd8, Ra8, Rh8, Bc8, Bf8, Na6, f6, a7, b7, e7, f7, h7 — Black to move. FEN: r1bqkb1r/pp2pp1p/n1P2p2/1B6/8/P7/1PP2PPP/R1BQK1NR b KQkq - 0 9

"This one took me four seconds," she said. It is a real position from a real Lichess game, now Lichess puzzle PcSpL (rated 1441, played more than 53,000 times). White has just captured on c6 and expects ...bxc6. Black instead plays 9...Qa5+!: the queen checks the king along the a5–e1 diagonal and, at the same moment, attacks the bishop on b5, which nothing defends. White must deal with the check (10.b4 is the puzzle's answer), and 10...Qxb5 collects the bishop. Stockfish 19 gives the position after 9...Qa5+ as −5.99 (Stockfish 19, depth 20); the next-best move, trading queens with 9...Qxd1+, is +1.36 — the difference between winning a piece and being worse.

Lichess puzzle S8quN: White to move after 12...Qxh1

♟️ Position: White Kc1, Qf4, Rd1, Bc4, Ng1, a2, b2, c2, h2, e5; Black Kg8, Qh1, Ra8, Rf8, Bc8, Nb8, a7, b7, c7, f7, g7, h7 — White to move. FEN: rnb2rk1/ppp2ppp/8/4P3/2B2Q2/8/PPP4P/2KR2Nq w - - 0 13

"And this one took me twelve minutes, and I still got it wrong." Puzzle S8quN (rated 1680, more than 150,000 plays). Black has just grabbed a rook with 12...Qxh1, and White is a rook down. The answer is 13.Qxf7+!! Rxf7 14.Rd8#. White throws the queen away to drag the black rook onto f7 — and on f7 that rook is pinned by the bishop on c4 against the king on g8. When the white rook lands on d8 with check, the rook that should block on f8 cannot leave the c4–g8 diagonal. Stockfish 19 at depth 20 finds mate in two; its second choice, 13.Bd5, is only +1.14.

Lena's experience is not personal. It is in the data. The Lichess puzzle database — 6,193,530 puzzles, each built from a real game and tagged by an automatic program — has 795,016 fork puzzles with a median puzzle rating of 1312, and 371,586 pin puzzles with a median of 1637. That gap, 325 rating points, survives when you compare puzzles of the same length: among two-move puzzles, the median fork is rated 1094 and the median pin 1452 (our run of code/01_puzzle_motif_stats.py). The fork shouts — one piece, two targets, an obvious threat. The pin whispers: it is not an attack at all but a restriction, a rule that a piece has quietly stopped obeying the rules of normal movement. Human eyes are tuned to see attacks. They are poorly tuned to see what a piece cannot do.

This chapter is about learning to see both. We will name the dozen patterns that combinations are built from — the fork, the pin, the skewer, the discovered attack, double check, deflection, decoy, overload, interference, removing the defender — and for each one we will take a real position, verify it with Stockfish, and ask the geometric question that makes it work. Then we will ask the question that turns tactics from a bag of tricks into a part of strategy: where do these patterns come from? Lichess puzzles start at the moment the tactic exists. Real games don't. In two real games — Anatoly Karpov in 1977 and Levon Aronian at the 2026 U.S. Championship — the decisive fork was the last step of a plan that started twenty moves earlier.

♟️ Improver Track: Read 9.1–9.5 with the diagrams and solve every 📋 Try it before opening the answer. Then read 9.8 twice. Your goal is not to memorise twelve names but to build one habit: before every move, look for loose pieces, lined-up pieces, and overworked defenders — on both sides.

📊 Analyst Track: Sections 9.6 and 9.7 are yours: motif frequency and difficulty across 6.19 million puzzles, how real blunders in 9,600 Lichess blitz games were punished (and how often they were not), and a validation of our own motif detector against Lichess's tags. Run code/01_puzzle_motif_stats.py, code/03_detector_validation.py and code/04_blunder_motifs.py.

🏆 Competitor Track: 9.8 and Case Study 1 are the heart: a knight on d5 for 32 plies, a passed pawn that makes b7 a fork square, and Zsuzsa Polgar's 41.Rh8+!! against Vassily Smyslov. Learn what the position looked like ten moves before the tactic.

💻 Developer Track: The Project Checkpoint builds outpost/tactics.py, a geometric motif detector — forks, pins, skewers, discovery set-ups, overloaded defenders — that runs on any position without an engine.


9.1 The Vocabulary of Tactics

The principle

A tactic is a short, forcing sequence that changes the material balance or the safety of a king, and that works because of a specific arrangement of pieces right now. A motif (or tactical pattern) is one of those arrangements, small enough to have a name: a knight attacking two pieces, three pieces on one line, a defender with two jobs. A combination is a tactic that strings several motifs together, usually with a sacrifice, so that the opponent's replies are forced — Chapter 11 is devoted to them.

📐 Definition — motif, tactic, combination. A motif is a recurring geometric pattern that creates a double threat or removes a defence (fork, pin, skewer, discovered attack, double check, deflection, attraction, overload, interference, removal of the defender, clearance, x-ray, intermezzo). A tactic is a forcing sequence that exploits one or more motifs to gain material or mate. A combination is a tactic containing a sacrifice whose justification lies in the forced follow-up.

Nearly every motif is a variation on one idea, and it is worth stating it before any of the names:

One move, two problems. Your opponent gets one move per turn. If your move creates two threats that cannot both be answered by a single reply, one of them succeeds.

The fork is the purest form (one piece, two targets). The discovered attack makes two threats with two different pieces in one move. The pin and the skewer create threats along a line where answering one threat exposes another. And the defensive motifs — deflection, decoy, overload, interference — attack the answer: they make sure the opponent's one reply is not available, by luring the defender away, dragging a piece onto a bad square, or giving one defender two jobs.

Three families

It helps to sort the names into three families, because each family is spotted with a different kind of looking.

Family Motifs What you scan for
Double attacks fork, discovered attack, discovered check, double check Loose (undefended) pieces and the king; squares from which one of your pieces would hit two of them
Line motifs pin, skewer, x-ray, interference Two enemy pieces on the same rank, file or diagonal — especially king + queen, king + rook, queen + rook
Defender motifs deflection, attraction (decoy), overload, removing the defender, clearance Enemy pieces that are doing an important job; ask "what if that piece were gone, or somewhere else?"

The first family is about targets, the second about lines, the third about duties. A strong tactician runs all three scans in a couple of seconds, on both sides of the board, before every serious move. That sounds like a lot until you realise the scans are mostly negative: in most positions there are no loose pieces worth attacking and no two valuable pieces on one line, and the scan ends in a second.

What the puzzle database says

The Lichess puzzle database is the largest public collection of tactical positions in the world, and it is CC0, so we can measure it. Every puzzle carries several theme tags assigned by Lichess's own tagging program (on average 4.53 per puzzle) — a puzzle can be a fork and a sacrifice and an endgame. The tags are computed automatically from the solution, which makes them consistent but not infallible; we will test them against our own detector in 9.7.

📐 Definition — puzzle rating and solution length. A Lichess puzzle rating is a Glicko-2 rating earned by the puzzle against the people who tried it: a puzzle that defeats many strong solvers rises, one that everyone solves falls. It is not a player rating, and a 1600 puzzle is not "a puzzle that 1600 players solve half the time" on any particular site's game-rating scale. Solution length here is the number of moves the solver makes (the puzzle's move list minus the opponent's setup move, divided by two).

Motif tag Puzzles Share Median rating [IQR]
fork 795,016 12.8% 1312 [1012–1711]
pin 371,586 6.0% 1637 [1310–2019]
discoveredAttack 312,980 5.1% 1466 [1158–1861]
deflection 268,263 4.3% 1543 [1218–1937]
attraction (decoy) 224,811 3.6% 1673 [1412–2004]
skewer 137,063 2.2% 1292 [1009–1687]
discoveredCheck 108,795 1.8% 1675 [1299–2048]
clearance 81,606 1.3% 1876 [1493–2233]
intermezzo 74,094 1.2% 1692 [1428–2028]
capturingDefender 40,449 0.7% 1600 [1361–1918]
doubleCheck 32,410 0.5% 1631 [1290–1976]
interference 22,305 0.4% 1706 [1395–2060]
xRayAttack 22,102 0.4% 1403 [1154–1692]

All 6,193,530 Lichess puzzles; overall median puzzle rating 1411 [IQR 1038–1870]. A puzzle can carry several tags.

Median puzzle rating and interquartile range for sixteen motif tags

📊 Figure (described): Each row is one motif tag; the dot is the median Lichess puzzle rating and the bar spans the middle 50% of puzzles with that tag, with the number of puzzles in brackets. The skewer, the fork and the hanging piece sit at the easy end (medians 1292–1359, below the all-puzzle median of 1411); clearance, interference, intermezzo, discovered check and attraction sit at the hard end (medians 1673–1876). The wide bars are a warning: every motif comes in easy and hard versions.

Two things stand out. First, the fork is by far the most common tactical motif — almost one puzzle in eight — which fits the common coaching belief that forks decide more amateur games than anything else (we will test that belief on real games in 9.6, and get a surprise). Second, there is a clear order of difficulty, and it is not the order of frequency: the skewer and the fork are easy, the pin is middling-hard, and the motifs that work on the defender (attraction, interference, clearance) are hardest. The rest of this chapter explains why, one family at a time.

One honest gap: Lichess has no "overloading" tag at all (zero puzzles). The nearest tag, capturingDefender (removing the defender), is a related but different idea. When we need an overload example we will find one with our own detector.

🔍 Why this works — the tempo arithmetic of a double threat. Chess is a game of alternating single moves, so the currency of tactics is the tempo. A single threat costs the opponent one tempo to parry, and the position is back where it was. A double threat asks for two tempi and the opponent has one. That is why every motif in this chapter, however exotic its name, ends in the same place: two things are attacked, or one thing is attacked twice, or one defender must be in two places — and the side to move cannot fix both. When a "tactic" fails, it is almost always because the opponent found a single move that answers both threats at once (a counter-check, an intermediate move, a capture that also defends). Look for that move before you sacrifice anything.

🔄 Check your understanding 1. State the "one move, two problems" idea in one sentence, and name the three families of motifs. 2. Which is more common in the Lichess puzzle database, the fork or the pin — and which is harder? 3. Why does Lichess have no puzzles tagged "overloading"?

Answer

  1. A tactic works when one move creates two threats that a single reply cannot both meet; the families are double attacks (fork, discovered attack, double check), line motifs (pin, skewer, x-ray, interference) and defender motifs (deflection, attraction, overload, removing the defender, clearance).
  2. The fork is more than twice as common (795,016 puzzles vs 371,586) and much easier (median 1312 vs 1637).
  3. Lichess's automatic tagger simply has no such tag; the related capturingDefender tag describes a different idea. To study overloads we have to find them ourselves (9.5, 9.7).

9.2 The Fork

The principle and the geometry

A fork is one piece attacking two (or more) enemy pieces at once, so that only one can be saved. Every piece can fork — pawns fork pieces, queens fork everything, kings fork in the endgame — but the knight is the fork's natural home, and the reason is geometry. A knight's attack cannot be blocked (it jumps), its pattern of eight target squares is unlike any other piece's (so the pieces it attacks usually cannot attack it back), and from a central square it touches squares on both colours in two different directions.

Not every "two pieces attacked" is a fork worth having. A knight attacking two defended knights wins nothing. Our working rule, which we will also build into code in 9.7, is that a target is worthwhile when it is the king, when it is worth more than the attacker, or when it is undefended; and the forking piece must itself be safe — not simply capturable for less than it is worth.

📐 Definition — fork (book's operational version). A fork is a position in which one piece attacks at least two worthwhile enemy targets (the king; a piece worth more than the attacker; or an undefended piece — pawns excluded) while standing on a square where it is not attacked, or is defended and attacked only by pieces worth at least as much as itself. Values: P 1, N 3, B 3, R 5, Q 9 (the toolkit's canonical piece values).

The hook's first puzzle is a queen fork: 9...Qa5+ attacks the king (worthwhile because it is the king) and the bishop on b5 (worthwhile because nothing defends it). Notice which ingredient made it possible. Not the queen — White had a queen too. The loose bishop. Loose pieces are the raw material of forks, which is why the cheapest defensive habit in chess is to notice which of your own pieces are loose after every move.

A knight fork, and the move that sets it up

Lichess puzzle NNjAF: White to move after 16...Qd8

♟️ Position: White Kg1, Qa8, Bc1, Nc3, Ng5, b2, d2, f2, g2, h2, b3, e4; Black Ke8, Qd8, Rh8, Bf8, Nf6, e5, d6, h6, c7, f7, g7 — White to move. FEN: Q2qkb1r/2p2pp1/3p1n1p/4p1N1/4P3/1PN5/1P1P1PPP/2B3K1 w k - 2 17

Lichess puzzle NNjAF (rated 1414). White's queen on a8 gave check along the back rank and Black blocked with 16...Qd8, offering a trade. The natural thought is "the queens come off, fine". The tactical thought is: where will the black king stand after the trade?

17.Qxd8+! Kxd8 18.Nxf7+ and the knight on f7 attacks the king on d8 and the rook on h8. 18...Ke8 19.Nxh8 wins the exchange and leaves the knight to fight its way out later.

After 17.Qxd8+ Kxd8 18.Nxf7+: the knight forks king and rook

♟️ Position: White Kg1, Bc1, Nc3, Nf7, b2, d2, f2, g2, h2, b3, e4; Black Kd8, Rh8, Bf8, Nf6, e5, d6, h6, c7, g7 — Black to move. FEN: 3k1b1r/2p2Np1/3p1n1p/4p3/4P3/1PN5/1P1P1PPP/2B3K1 b - - 0 18

The point is the first move, not the second. The fork on f7 hits d8 and h8; with the king on e8 there is no fork, because a knight on f7 does not attack e8. The queen trade moved the king onto a forkable square. That is the motif called attraction (or decoy), and it is no coincidence that Lichess tags this puzzle with both fork and attraction: across the whole database, 31.4% of attraction puzzles are also fork puzzles — the decoy's most common job is to set up a fork.

🤖 Engine check: Stockfish 19 at depth 20 rates 17.Qxd8+ at +6.33; the second-best move, 17.Qc6+, is −1.59. That is an eight-pawn gap between the right capture and the wrong check — the engine's way of saying "this is the only move". After 17...Kxd8 18.Nxf7+ the score is +5.87 (depth 20). Our detector, run on the position after 18.Nxf7+, reports exactly one pattern: White's Nf7 forks Kd8 and Rh8 (with check). The human explanation: the pieces that matter — king and rook — were a knight's fork apart only after the king's forced recapture, so the combination is "trade on the square that brings the king into range".

The data: forks by level

How much of tactical chess is forks, and does that change as the level rises? We split the puzzle database into nine bands by puzzle rating and measured the share of puzzles carrying each tag.

Share of puzzles with each motif tag by puzzle-rating band

📊 Figure (described): Lines show the percentage of puzzles in each puzzle-rating band carrying six motif tags. The fork is the most common tag in every band from <1000 to 2200–2399 (peaking at 16.5% in the 1000–1199 band) and declines steadily to 7.3% above 2400; the pin climbs from 1.4% in the easiest band to 8.4% in the hardest, where it overtakes the fork. Skewers are always rare (1.2–3.0%).

Puzzle rating band Puzzles fork pin discovered attack deflection attraction skewer
<1000 1,415,234 13.5% 1.4% 2.7% 1.4% 0.3% 2.3%
1200–1399 740,030 14.5% 7.0% 6.5% 5.6% 4.4% 2.6%
1600–1799 668,014 12.5% 8.0% 5.9% 5.3% 5.9% 2.1%
2000–2199 475,254 9.5% 8.0% 5.2% 5.1% 5.4% 1.5%
2400+ 356,235 7.3% 8.4% 4.1% 4.5% 4.2% 1.2%

Lichess puzzle database, share of puzzles in the band carrying the tag (selected bands; full table in the script output).

Read the table as a curriculum. Below 1000, most puzzles are mates in one and hanging pieces; the fork is the first named motif players meet. Between 1000 and 1600 the line motifs and the defender motifs arrive. Above 2000, the fork is still common but it is rarely alone: it appears as the last move of a sequence that first deflects or decoys something.

At different levels

  • Around 1200, forks are mostly found rather than made: a piece is loose, a knight happens to reach a square that hits it and the king. The skill is the loose-piece scan: after every opponent move, which of their pieces are undefended, and which of mine are?
  • Around 1600, forks start to be prepared: one forcing move (a check, a capture, a trade) relocates a target so the fork exists. NNjAF is the model — the trade on d8 is the real move.
  • Around 2000 and above, forks are often never executed. They sit on the board as threats that tie the opponent's pieces down; the stronger player cashes them only when nothing better is available. We will see Karpov do exactly that in 9.8.

9.3 Pins and Skewers: Motifs Along a Line

The principle

Line pieces — bishops, rooks, queens — attack along rays, and a ray does not stop being dangerous just because a piece stands in it. When two enemy pieces stand on the same line as your bishop, rook or queen, one of two things is true:

  • If the front piece is the less valuable one, it is pinned: moving it would expose the more valuable piece behind. If the piece behind is the king, the pin is absolute — the pinned piece may not legally leave the line at all. If the piece behind is a queen or a rook, the pin is relative — the pinned piece may move, but at a cost.
  • If the front piece is the more valuable one, it is skewered: it must move (it is attacked, often with check), and when it does, the piece behind is captured. The skewer is a pin turned inside out.

📐 Definition — pin and skewer (book's operational versions). A pin: a bishop, rook or queen, moving along that line, attacks an enemy piece P (not a pawn) with an enemy piece V of greater value directly behind it. Absolute if V is the king; relative otherwise, and then only if V is also worth more than the pinning piece or undefended (so that leaving the line really loses something). A skewer: a line piece attacks an enemy piece F with an enemy piece B directly behind it, where F is the king or worth more than B, the attack on F has effect (F is the king, worth more than the attacker, or undefended), and B is worth winning (worth more than the attacker, undefended, or defended only by F).

Why the pin is harder than the fork

The puzzle data is blunt. Among two-move puzzles — so solution length is held fixed — the median rating of a fork puzzle is 1094, of a skewer 1091, of a discovered attack 1277, and of a pin 1452. The pin is roughly 360 rating points harder than the fork at the same length.

Median puzzle rating of 2-move puzzles by motif

📊 Figure (described): Bars show the median Lichess puzzle rating for two-move puzzles only, by motif; the dashed line is the median of all two-move puzzles (1332). Fork (1094, n = 452,103) and skewer (1091, n = 72,688) are well below it; pin (1452, n = 188,555), attraction (1482, n = 48,352), interference (1531, n = 10,911), double check (1542) and clearance (1623) are above it. Difficulty is a property of the motif, not just of the length.

Why? Look again at Lena's second puzzle. The winning idea, 13.Qxf7+ Rxf7 14.Rd8#, depends on a pin that doesn't exist yet when you look at the diagram: the bishop on c4 is aimed at f7, but f7 holds a pawn, and a pinned pawn on f7 changes nothing. The pin is created by the sacrifice — the queen drags a rook into the pinned square — and it matters only because of the next move, a back-rank check that the pinned rook can no longer block.

After 13.Qxf7+ Rxf7 14.Rd8#: the rook on f7 is pinned and cannot block

♟️ Position: White Kc1, Rd8, Bc4, Ng1, a2, b2, c2, h2, e5; Black Kg8, Qh1, Rf7, Ra8, Bc8, Nb8, a7, b7, c7, g7, h7 — Black to move. FEN: rnbR2k1/ppp2rpp/8/4P3/2B5/8/PPP4P/2K3Nq b - - 1 14

To find that, you have to visualise three things the board does not show you: a rook on f7 instead of a pawn, a rook on d8, and a black rook that would go to f8 if it were allowed to. Forks are visible; pins are counterfactual. Our detector, run on the final position, reports White's Bc4 pins Rf7 to Kg8 (absolute) — but run on the starting position it sees no pin at all, because there isn't one yet. That one fact explains most of the difficulty gap.

⚠️ Common pitfall: "the pinned piece can't move, so it can't defend." An absolutely pinned piece cannot leave the line, but it can still move along it (a rook pinned on a file can still slide along the file) and — crucially — a pinned piece still attacks the squares it attacks for the purpose of giving check to the enemy king. Club players regularly walk their king next to a "pinned" piece and discover that it was only pinned against its own king. Before you count a pinned piece out, ask: which of its jobs does the pin actually stop?

A skewer: the easiest motif in the database

Lichess puzzle uwYXI: White to move after 41...Kf6

♟️ Position: White Kh3, Qh8, Rh4, b2, c3, g3, a4, d4; Black Kf6, Qd6, Rf2, Rf7, a5, d5, b6, g7 — White to move. FEN: 7Q/5rp1/1p1q1k2/p2p4/P2P3R/2P3PK/1P3r2/8 w - - 4 42

Puzzle uwYXI (rated 1411). Black's king and queen stand on the sixth rank, two squares apart, with nothing between them. 42.Rh6+! checks the king along the rank. The king has three legal moves — e7, f5, g5 — and every one of them steps off the sixth rank; nothing can interpose. After 42...Ke7 (the puzzle line), 43.Rxd6 wins the queen for the rook.

After 42.Rh6+: king in front, queen behind

♟️ Position: White Kh3, Qh8, Rh6, b2, c3, g3, a4, d4; Black Kf6, Qd6, Rf2, Rf7, a5, d5, b6, g7 — Black to move. FEN: 7Q/5rp1/1p1q1k1R/p2p4/P2P4/2P3PK/1P3r2/8 b - - 5 42

🤖 Engine check: Stockfish 19 at depth 20 rates 42.Rh6+ at +1.60 — clearly better, but nowhere near the "+9" you might expect from winning a queen. The engine's line, 42...Ke7 43.Rxd6 Kxd6 44.Qb8+ Kc6, shows why: White gives the rook back for the queen and ends with queen against two rooks while White's own king sits on h3 facing two black rooks on the f-file. More instructive is the other number: the second-best move, 42.Qh5, is −7.64. White's king is in a mating net (the black rooks threaten the second and third ranks), and the skewer is not just good — it is the only move that saves the game. A tactic's value is measured against the alternative, not against zero.

Skewers are easy (median 1292 overall, 1091 at two moves) because they are loud: they almost always begin with a check, and the two targets are visibly lined up. They are also rare — 2.2% of puzzles — because the defender only has to avoid one arrangement (king and a heavy piece on an open line) that is easy to notice.

📋 Try it — Find the tactic. Lichess puzzle FvFUn (rated 1654). White to move. Black's last move was 33...Re8. Find the mate in two. (Hint: one black piece on the g-file is not as free as it looks.)

Lichess puzzle FvFUn: White to move

♟️ Position: White Kc1, Qf6, Rh1, Ne7, c2, f3, g3, e4, d5; Black Kh8, Qa5, Rg7, Re8, Nc7, a2, a3, b5, d6, g6, h7 — White to move. FEN: 4r2k/2n1N1rp/3p1Qp1/qp1P4/4P3/p4PP1/p1P5/2K4R w - - 2 34

Answer

34.Rxh7+! Kxh7 35.Qh4#. The queen on f6 pins the rook on g7 against the king on h8 (our detector: White's Qf6 pins Rg7 to Kh8 (absolute)). So the rook cannot recapture on h7, and after 34...Kxh7 the rook still cannot interpose on the h-file; g8 is covered by the knight on e7. Stockfish 19 (depth 20) finds mate in two; its second choice, 34.Nxg6+, is −9.37. This puzzle is tagged pin and attraction: the rook sacrifice drags the king to h7, where the pinned rook is useless.

🔄 Check your understanding 1. What is the difference between an absolute and a relative pin? 2. Turn a pin "inside out": what motif do you get, and which piece must be in front? 3. Why can't a puzzle position always show you the pin that wins?

Answer

  1. In an absolute pin the piece behind is the king, so the pinned piece may not legally leave the line; in a relative pin the piece behind is a queen or rook, so leaving the line is legal but costs material.
  2. A skewer: the more valuable piece (often the king, with check) is in front and must move, exposing the piece behind.
  3. Because the decisive pin often does not exist yet — it is created by a sacrifice that drags a piece onto the pinned square (13.Qxf7+ Rxf7 in S8quN). You have to imagine it.

9.4 Discovered Attacks and Double Check

The principle

A discovered attack happens when one piece moves out of the way of another, so that the piece behind — a bishop, rook or queen — suddenly attacks something. The moving piece is free to make its own threat. That is two threats from two pieces in one move, and if either threat is a check the opponent has almost no choice at all. A discovered check is a discovered attack whose target is the king; a double check is a discovered check in which the moving piece also gives check.

📐 Definition — discovered attack, discovered check, double check. After a move, if a line piece of the mover (other than the piece that moved) now attacks a worthwhile enemy target through the square the moving piece vacated, the move is a discovered attack; if that target is the king, a discovered check. A double check is a move after which the enemy king is attacked by two pieces at once. Against a double check the only legal replies are king moves — no capture or block can stop both checks.

The discovered attack in a real ending

Lichess puzzle EJqdv: Black to move after 28.Rf2

♟️ Position: White Kg1, Qe3, Rf2, Nc3, a2, g2, h2, e5; Black Kg8, Qb2, Rd2, f7, g7, h7 — Black to move. FEN: 6k1/5ppp/8/4P3/8/2N1Q3/Pq1r1RPP/6K1 b - - 10 28

Puzzle EJqdv (rated 1405). White has just challenged the black rook with 28.Rf2, and our detector notes the relative pin: White's Rf2 pins Rd2 to Qb2. Black's answer is a two-step combination. 28...Qc1+! first: the queen checks along the first rank and White must block (29.Qe1, 29.Nd1 and 29.Rf1 are the only legal moves); the puzzle line is 29.Rf1. Now the queen on c1, the rook on d2 and the white queen on e3 stand on one diagonal. 29...Rxg2+! — the rook leaves the diagonal with check, and the queen on c1 now attacks the queen on e3. White can take the rook, 30.Kxg2, but then 30...Qxe3 wins the queen.

After 28...Qc1+ 29.Rf1 Rxg2+: rook check, queen attack

♟️ Position: White Kg1, Qe3, Rf1, Nc3, a2, h2, e5; Black Kg8, Qc1, Rg2, f7, g7, h7 — White to move. FEN: 6k1/5ppp/8/4P3/8/2N1Q3/P5rP/2q2RK1 w - - 0 30

🤖 Engine check: Stockfish 19 (depth 20) prefers 28...Qc1+ at −6.11; the second-best move, simply trading with 28...Rxf2, is −0.07 — dead equal. After 29...Rxg2+ the score is −5.78 (depth 20). The human reason the trick works: the rook on d2 was both the front piece of a line and a piece with a check available. Every discovered attack needs exactly that — a piece in front of your line piece that has somewhere useful to go.

Double check: the most forcing move in chess

Lichess puzzle sDVW2: Black to move after 19.b4

♟️ Position: White Kg1, Qa4, Rc1, Rf1, Nd2, Ne2, g2, h2, a3, b4, d4, f4, e5; Black Kg8, Qb6, Rc8, Rf8, Nc6, d5, a6, e6, b7, f7, g7, h7 — Black to move. FEN: 2r2rk1/1p3ppp/pqn1p3/3pP3/QP1P1P2/P7/3NN1PP/2R2RK1 b - - 0 19

Puzzle sDVW2 (rated 1472). The black queen on b6 is aimed at g1 along the diagonal b6–c5–d4–e3–f2–g1, and only the white pawn on d4 stands in the way. 19...Nxd4! takes that pawn — and now the knight on d4 itself blocks the diagonal, with a threat to jump to e2 with check. White grabbed a rook, 20.Rxc8, and Black played 20...Nxe2+: the knight checks from e2 and uncovers the queen's check from b6. Double check. White cannot capture the knight (that would leave the queen's check) and cannot block the queen (that would leave the knight's check): the king must move, 21.Kh1, and 21...Rxc8 recaptures the rook. Black is a piece up.

After 19...Nxd4 20.Rxc8 Nxe2+: double check

♟️ Position: White Kg1, Qa4, Rf1, Rc8, Nd2, g2, h2, a3, b4, f4, e5; Black Kg8, Qb6, Rf8, Ne2, d5, a6, e6, b7, f7, g7, h7 — White to move. FEN: 2R2rk1/1p3ppp/pq2p3/3pP3/QP3P2/P7/3Nn1PP/5RK1 w - - 0 21

The double check is why the knight could ignore the rook on c8 for one move: a double check buys a "free" tempo, because the opponent's reply is forced and does nothing for him. Stockfish 19 at depth 20 rates 19...Nxd4 at −4.64 and gives White's best defence as 20.Kh1 (not grabbing the rook), after which Black still wins a piece. Our detector tags 20...Nxe2+ as discoveredAttack, discoveredCheck, doubleCheck — all three at once.

Double checks are rare — 32,410 puzzles, 0.5% — and the reason is structural: a double check needs a line piece aimed at the king, a piece of your own in between, and a square for that piece from which it also checks. When the geometry is there, it is usually decisive. When you are defending, the warning sign is easy to describe: an enemy line piece aimed at your king with only one piece — especially an enemy piece — in between.

🔄 Check your understanding 1. In your own words, what do the fork, the discovered attack and the double check have in common? 2. Why does the double check force a king move, when a single check can be answered three ways? 3. In the skewer puzzle uwYXI, 42.Rh6+ wins the queen but the engine says only +1.60. Why is that not a contradiction?

Answer

  1. Each creates two threats with one move — two targets for one piece (fork), two pieces threatening at once (discovered attack), two checks at once (double check) — so the opponent's single reply cannot meet both.
  2. A single check can be met by moving the king, capturing the checker, or blocking the line. With two checkers, capturing one leaves the other, and no single block can cover two different lines; only a king move can escape both.
  3. The engine evaluates the whole position, not the material swing. White wins queen for rook, but Black keeps two active rooks against White's exposed king, so the resulting endgame is clearly better rather than trivially winning. Meanwhile every other White move loses (−7.64), which is why the skewer is the right move.

9.5 The Defender Motifs: Deflection, Decoy, Overload, Interference

The double attacks and line motifs attack pieces. The defender motifs attack defences. They answer the question: what is stopping my tactic from working, and can I remove it? Lichess's tags for these motifs are the hardest common ones in the database: attraction median 1673, interference 1706, clearance 1876 (two-move puzzles: attraction 1482, interference 1531, clearance 1623).

Deflection: pull the guard off its post

📐 Definition — deflection. A forcing move (usually a sacrifice with check or a capture) that compels an enemy piece to leave a square or line where it was performing a defensive duty.

Lichess puzzle SUGCV: Black to move after 21.Nd2

♟️ Position: White Kc1, Qe2, Rd1, Rf1, Bb5, Nd2, b2, a3, e3, h3, c4, d4, g4; Black Kc8, Qa5, Rd8, Rh8, Be4, Bd6, b6, e6, a7, c7, f7, g7, h7 — Black to move. FEN: 2kr3r/p1p2ppp/1p1bp3/qB6/2PPb1P1/P3P2P/1P1NQ3/2KR1R2 b - - 2 21

Puzzle SUGCV (rated 1645, more than 221,000 plays). The white king on c1 is guarded by the pawn on b2, which covers both a3 and c3. 21...Qc3+!! offers the queen on c3 with check. 22.bxc3 is White's only legal move (python-chess lists exactly one: the king cannot go to b1, which the e4-bishop covers, and nothing can block on c2), and the b2-pawn has been deflected: 22...Ba3#. The bishop on e4 covers b1 and c2, the rook on d1 blocks the king's own escape, and the long diagonal a3–c1 is now open.

🤖 Engine check: Stockfish 19 (depth 20) finds mate in two with 21...Qc3+; the second-best move, 21...a6, is +3.46 for White. A queen sacrifice that is the only good move in the position — this is why deflection puzzles are rated in the 1500s and 1600s. The human key is a single question about the b2-pawn: what is it guarding, and can I make it capture something?

Notice that the b2-pawn was doing two jobs — guarding a3 and guarding c3. A defender with two duties is the definition of an overloaded piece, and deflection is how you exploit it. "Deflection" and "overload" are two descriptions of one event: the overload is the condition, the deflection is the move.

Attraction (decoy): drag the target onto the fatal square

📐 Definition — attraction (decoy). A forcing move, usually a sacrifice, that compels an enemy piece — very often the king — to move to a particular square where it becomes the target of a further tactic.

Lichess puzzle Jgeir: White to move after 32...f3

♟️ Position: White Kh1, Qh4, Re1, Re4, Ne7, g2, h2; Black Kh8, Qd3, Rf7, Rf8, Nd4, f3, c6, a7, b7, g7, h7 — White to move. FEN: 5r1k/pp2Nrpp/2p5/8/3nR2Q/3q1p2/6PP/4R2K w - - 0 33

Puzzle Jgeir (rated 1574, tagged masterVsMaster and superGM by Lichess — it comes from a game between titled players). Black threatens ...fxg2+ and more. White has one move: 33.Qxh7+!! Kxh7 34.Rh4#. The queen sacrifice attracts the king to h7, where the rook mates on the h-file; the knight on e7 covers g8 and g6. (This mating picture has its own tag, anastasiaMate.) Stockfish 19 at depth 20: mate in two; second-best, 33.Ng6+, only −0.07.

Attraction is the motif that makes the other motifs possible. Our co-occurrence count (figure below) shows that 58.6% of attraction puzzles are also tagged sacrifice and 31.4% are also tagged fork: the decoy is usually a sacrifice whose payoff is a fork or a mate.

Co-occurrence of motif tags in the puzzle database

📊 Figure (described): Each cell shows the percentage of puzzles carrying the ROW tag that also carry the COLUMN tag (diagonal blank). The bright cells are the combinations: attraction → sacrifice 58.6% and → fork 31.4%; clearance → sacrifice 33.2%; double check → sacrifice 24.3% and → attraction 17.2%; removing the defender → fork 12.6%. Motifs rarely travel alone in harder puzzles — they are the parts of combinations.

Overload: one defender, two jobs

📐 Definition — overloaded defender (book's operational version). An enemy piece that is the only defender of two or more of its side's pieces that are under attack. If it is forced to deal with one, the other hangs. (Mating-square duties exist too, but our definition counts only defended pieces.)

🧩 Productive struggle. Before you read on, look at the next diagram for one minute. Don't look for a move. Look for a piece with two jobs — in Black's camp. Name the piece and its two jobs. Then find the move that makes it choose.

Lichess puzzle 1C0l6: White to move after 16...Nd4

♟️ Position: White Kg1, Qa4, Rc1, Rf1, Bg2, Bg5, a2, b2, e2, f2, h2, d3, g3; Black Kc8, Qd7, Rf8, Rh8, Bb6, Nd4, e5, h5, e6, a7, b7, c7, g7 — White to move. FEN: 2k2r1r/pppq2p1/1b2p3/4p1Bp/Q2n4/3P2P1/PP2PPBP/2R2RK1 w - - 6 17

Lichess puzzle 1C0l6 (rated 1388; tagged deflection — there is no overload tag). Our detector reports one pattern: White can exploit an overloaded Kc8: sole defender of b7 and Qd7. The white queen on a4 attacks the black queen on d7 along the a4–d7 diagonal; the bishop on g2 attacks b7 along the long diagonal; and the only black piece guarding both is the king. 17.Bxb7+! — the king has two legal replies, 17...Kb8 (abandoning the queen at once) and 17...Kxb7, and after the capture 18.Qxd7 wins the queen for a bishop.

🤖 Engine check: Stockfish 19 (depth 20) rates 17.Bxb7+ at +7.84; the second-best move, 17.Qd1, is +1.03. The engine does not think in "overloads" — it simply searches 17.Bxb7+ Kxb7 18.Qxd7 and finds the material count. The human summary is shorter than the engine's search: the king can't guard two things at once.

Interference: block the line between defender and defended

📐 Definition — interference. Placing a piece on a line between an enemy defender and the piece or square it defends, cutting the defence (often while making a threat of its own).

Lichess puzzle 807ML: White to move after 26...Qxd6

♟️ Position: White Kg1, Qd1, Rc1, Re1, Be3, Nd2, Nf3, f2, g2, h2, b3; Black Kg8, Qd6, Rd8, Re8, Bf6, Bd7, Nb4, b5, e5, f7, g7, h7 — White to move. FEN: 3rr1k1/3b1ppp/3q1b2/1p2p3/1n6/1P2BN2/3N1PPP/2RQR1K1 w - - 0 27

Puzzle 807ML (rated 1485). Black has just won a pawn with 26...Qxd6, and the queen guards the knight on b4 along the diagonal d6–c5–b4. 27.Bc5! lands on the one square between them. The bishop attacks the queen, cuts the queen's defence of b4, and is itself protected by the rook on c1. The queen must move and cannot keep guarding b4 (27...Qb8 in the puzzle line), so 28.Bxb4 wins a piece. Stockfish 19 (depth 20): 27.Bc5 +4.68, second-best 27.Ne4 −0.85. Our detector tags 27.Bc5 as a fork (queen and knight) — correct, and a reminder that an interference move is very often a double attack as well.

📋 Try it — Find the tactic. Lichess puzzle yJgpm (rated 1514, tagged capturingDefender and fork). White to move. Which black piece holds Black's position together, and how do you remove it?

Lichess puzzle yJgpm: White to move

♟️ Position: White Kh2, Qd1, Rg1, Bf3, Bd4, f2, a3, e3, h3, f4; Black Kf7, Qe6, Rc4, Re8, Nf6, d5, f5, g6, a7, b7, h7 — White to move. FEN: 4r3/pp3k1p/4qnp1/3p1p2/2rB1P2/P3PB1P/5P1K/3Q2R1 w - - 2 28

Answer

28.Bxf6! removes the knight that shields d5 from the bishop on f3. The puzzle line is 28...Qxf6 29.Bxd5+ Kg7 30.Bxc4: the bishop takes d5 with check and then forks the rook on c4 — removing the defender, then a fork. Stockfish 19 (depth 20) rates 28.Bxf6 at +6.66, but its own main line is 28...d4 (declining the recapture), 29.Bxd4: Black simply stays a piece down. The second-best move, 28.Be2, is −2.17. Note that our overload detector does not flag this position, because the f6-knight has two defenders (queen and king) — the real point is that recapturing with the queen abandons d5. Real positions are messier than definitions.

Clearance, x-ray and intermezzo, briefly

Three more names complete the vocabulary. Clearance is moving (often sacrificing) one of your own pieces out of the way so that another piece can use its square or line — the hardest common motif tag in the database (median 1876). An x-ray is an attack "through" a piece: a rook behind an enemy rook on an open file still guards the square behind it once the front piece is exchanged (median 1403). An intermezzo (in-between move, Zwischenzug) is the move that interrupts an expected sequence — instead of recapturing, you first give a check or make a bigger threat (median 1692). All three are less about geometry than about sequence, which is why they are rated hard; Chapter 10 builds the calculation habits that find them.

🔄 Check your understanding 1. In SUGCV (21...Qc3+ 22.bxc3 Ba3#), which white piece was overloaded and what were its two jobs? 2. What is the difference between deflection and attraction? 3. In 1C0l6, what made 17.Bxb7+ work?

Answer

  1. The b2-pawn, guarding both a3 and c3. Forcing it to capture on c3 deflected it from a3.
  2. Deflection forces a defender away from a square or line it guards; attraction (decoy) forces a piece — often the king — onto a square where it becomes a target.
  3. The black king was the only defender of both b7 and the queen on d7; capturing on b7 with check forced it to choose, and after 17...Kxb7 the queen fell (Stockfish 19, depth 20: +7.84).

9.6 Puzzles vs Real Games: What the Data Says About Motifs

Puzzles are a curated world. By design, Lichess's generator keeps a position as a puzzle only when the solver's moves are clearly best at every step — positions where two different moves win are generally discarded. That selection is exactly what makes puzzles good training and exactly what makes them a biased picture of real games. So we asked the real games directly.

📐 Definition — blunder, punished, unpunished. Following the book's conventions, a blunder is a move that drops the mover's win % by at least 15 points (Lichess's win-% model applied to the server evaluation after the move vs before it). A blunder is punished if, after the opponent's very next move, the blunderer's win % is still at least 10 points below where it was before the blunder; otherwise it went unpunished — the opponent gave most of it back at once. The punishing reply is then classified by our motif detector into one label, by priority: double check > discovered attack/check > fork > skewer > pin > plain capture > plain check > quiet move.

The script code/04_blunder_motifs.py draws 1,200 random Lichess blitz games with server evaluations from each of eight bands of average rating (9,600 games in total, seed 9; bots excluded). One caveat belongs on every number that follows: Lichess analyses a game only when someone asks, so these are games that a player chose to review — not a random sample of all blitz. (A reply that ends the game with mate has no evaluation after it in the database, so mating replies cannot be scored and are left out.)

for i in range(len(plies) - 1):
    white = i % 2 == 0
    before, after, reply = wp_w[i], wp_w[i + 1], wp_w[i + 2]       # White win % around the move
    mb, ma, mr = (before, after, reply) if white else (100 - before, 100 - after, 100 - reply)
    if mb - ma < 15:                         # not a blunder
        continue
    punished = (mb - mr) >= 10               # still >= 10 points worse after the reply
    reply_mv = boards[i + 1].parse_san(plies[i + 1]["san"])
    motif = label(tx.move_motifs(boards[i + 1], reply_mv), after_reply_board)
Blunders and immediate punishment by band (average Lichess blitz rating)
     band  blunders  per_100_moves  unpunished   lo   hi
    <1000      7185           10.1        39.1 38.0 40.2
1000-1199      6173            8.4        36.0 34.8 37.2
1200-1399      6353            8.3        36.3 35.2 37.5
1400-1599      5807            7.5        33.6 32.4 34.8
1600-1799      5261            6.5        32.4 31.1 33.6
1800-1999      5350            6.4        32.3 31.1 33.6
2000-2199      5083            5.7        31.1 29.8 32.4
    2200+      4405            4.6        29.4 28.0 30.7

All bands pooled: double check 0.1%, discovered attack 2.5%, fork 4.3%, skewer 1.1%, pin 2.8%,
plain capture 44.7%, plain check 5.7%, quiet move 39.0%

How punished blunders were punished, by rating band

📊 Figure (described): For each band of average Lichess blitz rating, the bar splits the blunders that were punished on the next move by the kind of punishing move. Plain captures are the largest single slice in every band (52% below 1000, falling to 38% at 2200+) and quiet moves the next (31% rising to 46%). The five named motifs together are a thin slice of roughly 9–12% in every band — forks 3.5–5.1%, pins 2.5–3.1%, discovered attacks 2.0–2.7%.

Three findings, in order of how much they should change your training.

1. Most real blunders are not punished by a named motif. Only 10.7% of punished blunders (all bands pooled, n = 30,024) were punished by a move that created a fork, pin, skewer, discovered attack or double check. The fork, which is on 12.8% of puzzles, created the punishing reply in only 4.3% of punished blunders; the pin 2.8% (6.0% of puzzles); the discovered attack 2.5% (5.1%). The commonest punishment by far is the plain capture of something that was left hanging (44.7%), and the second is a quiet move (39.0%) — a threat, a mating net, a trapped piece, a pawn push that cannot be met. Our classification looks at only one move, so many of those quiet replies are the first move of a longer tactic; but the lesson stands: in real games, the tactical skill that pays most often is noticing what is loose.

2. Blunders are frequent at every level and get rarer slowly. Blunders per 100 moves fall from 10.1 below 1000 to 4.6 at 2200+. Even the strongest band in this sample blunders roughly once every twenty moves at blitz speed — a reminder of how much the clock matters (Chapter 13).

3. A third of blunders go unpunished — and the share shrinks as ratings rise. Below 1000, 39.1% [38.0–40.2] of blunders were not punished on the next move; at 2200+, 29.4% [28.0–30.7]. The punishment rate is a real "tactical rating", and it is a skill you can train: the opponent has already done the hard part by blundering; your job is to look.

⚠️ Common pitfall: training only on puzzles. A puzzle tells you there is a tactic. A game doesn't. The most common tactical failure in our data is not "couldn't find the combination" but "didn't look" — about a third of blunders, at every level, are not punished on the next move, and the most common punishment is simply taking a free piece. Puzzle training builds pattern recognition; it does not build the habit of checking every move for something loose. Play some slower games, and before every move ask what the opponent's last move left undefended.

At the same time, notice what the puzzle data is good for. The difficulty ordering from 9.1 is about how hard a motif is to see once it exists, and that is the part of tactics where pattern training works. Chapter 25 turns both measurements — "do I look?" and "can I see it?" — into a training plan.


9.7 Teaching a Computer to See Forks

The question

Can we write the motifs down precisely enough for a program to find them — without an engine? That is a useful test of whether we understand a motif. If our definition of "fork" catches the forks that humans (and Lichess's tagger) call forks, and not much else, then we have captured the geometry. If it doesn't, the misses tell us what we left out.

The idea and the code

The module you build in this chapter's Project Checkpoint, outpost/tactics.py, implements every definition in this chapter in plain python-chess. The fork is three short functions: what counts as a worthwhile target, what counts as a safe attacker, and the fork itself.

VALUE = {chess.PAWN: 1, chess.KNIGHT: 3, chess.BISHOP: 3, chess.ROOK: 5, chess.QUEEN: 9, chess.KING: 100}

def worthwhile(board, attacker_sq, target_sq):
    t = board.piece_at(target_sq)
    if t is None or t.piece_type == chess.PAWN:
        return False
    if t.piece_type == chess.KING:
        return True
    return VALUE[t.piece_type] > value(board, attacker_sq) or not defended(board, target_sq)

def safe(board, sq):
    p = board.piece_at(sq)
    enemy = board.attackers(not p.color, sq)
    if not enemy:
        return True
    if not board.attackers(p.color, sq):
        return False
    return all(value(board, a) >= VALUE[p.piece_type] for a in enemy)

def forks_by_piece(board, sq):
    p = board.piece_at(sq)
    if p is None or not safe(board, sq):
        return []
    targets = [t for t in board.attacks(sq)
               if board.piece_at(t) and board.piece_at(t).color != p.color and worthwhile(board, sq, t)]
    return targets if len(targets) >= 2 else []

board.attacks(sq) returns the squares a piece attacks (python-chess handles every piece's geometry, including blocked lines), and board.attackers(color, sq) the pieces of a colour that attack a square — so "defended" and "safe" are one line each. Pins and skewers walk along the eight ray directions from each line piece and look at the first two pieces met; discovered attacks compare those rays before and after a move. Everything runs without an engine, in microseconds.

Validation against Lichess's tags

The script code/03_detector_validation.py draws 3,000 random puzzles for each of five tags, plus 8,000 random puzzles from the whole database as a control (seed 9), and runs the detector along the solver's moves. "Fires" means the motif was created by one of the solver's moves — and for the pin, also a pin the solver's side already has on the board.

Puzzles: 6,193,530; samples: 3,000 per tag, 8,000 control (seed 9)
           motif  tagged  hit_rate  control_without_tag  false_alarm  base_rate  precision
            fork    3000      99.7                 6957          7.3       12.8       66.7
             pin    3000      69.8                 7522         21.2        6.0       17.4
          skewer    3000      95.1                 7817          4.5        2.2       32.1
discoveredAttack    3000      79.1                 7572          3.1        5.1       57.7
     doubleCheck    3000     100.0                 7963          0.0        0.5      100.0

pin puzzles: pin CREATED by a solver move 39.4%; created or already on the board 69.8%

Detector firing rates on tagged and control puzzles

📊 Figure (described): For five motifs, blue bars show how often our geometric detector fires on puzzles that Lichess tagged with the motif, orange bars how often it fires on control puzzles without the tag. Fork (99.7% vs 7.3%), skewer (95.1% vs 4.5%) and double check (100% vs 0%) are separated cleanly; the discovered attack less so (79.1% vs 3.1%); the pin is the weak spot (69.8% vs 21.2%).

📐 Definition — hit rate, false-alarm rate, precision. The hit rate is the share of puzzles carrying the tag on which the detector fires. The false-alarm rate is the share of control puzzles without the tag on which it fires anyway. Precision is the estimated share of all detector firings that land on tagged puzzles, computed from those two rates and the tag's base rate in the whole database (Bayes' rule): a detector that fires on 4–7% of everything is imprecise for a motif that is on only 2% of puzzles. (Appendix E covers these rates in general.)

What it means at the board

The fork and the double check are purely geometric: if the pieces stand that way, it is a fork, and our three-function definition fires on 99.7% and 100% of the puzzles Lichess tagged with them. The skewer nearly so. The discovered attack misses about a fifth — mostly cases where the uncovered line hits a pawn or a defended piece that our "worthwhile" rule ignores but Lichess still counts, because what matters there is what happens next.

The pin is the outlier, and it is the same outlier as for humans. When the detector looks for pins created by the solver, it finds them in only 39.4% of pin puzzles; counting pins already on the board raises that to 69.8%, but at the cost of firing on 21.2% of puzzles that have nothing to do with pins — because the board is full of pins that don't matter. Lichess's tagger can do better because it looks at the consequence: whether the pinned piece's inability to move was actually exploited in the solution. That is the computational version of the hook's lesson. A pin is not a shape. It is a constraint, and a constraint matters only if something needs the constrained piece.

⚠️ Common pitfall: treating a detector as an oracle. A geometric detector tells you a pattern exists; it says nothing about whether it works. In puzzle 1C0l6 our detector flagged the overloaded king — and Stockfish confirmed +7.84. In the "remove the defender" puzzle yJgpm, the detector flagged nothing, and the tactic was still winning (+6.66). Use detectors (and the motif names) to direct your attention; use calculation or an engine to decide. The same is true of the motif names in your head.

The limits

Our detector knows nothing about mate, nothing about intermediate moves, and nothing about which side is better after the dust settles. Its precision for the pin (17.4%) means that most pins it reports are irrelevant. And Lichess's tags are themselves the output of a program, so "agreement" here is agreement between two programs, not with a grandmaster's judgement. What the exercise does show is which motifs are fully captured by geometry (fork, double check, skewer) and which are about function (the pin and the defender motifs) — and those are exactly the motifs that humans find hardest too.

🔄 Check your understanding 1. In our Lichess blitz sample, roughly what share of blunders went unpunished below 1000, and at 2200+? 2. Why is the pin the hardest motif for our detector, and why does that echo the human data? 3. What does "precision 17.4%" mean for the pin finder?

Answer

  1. 39.1% below 1000 and 29.4% at 2200+ (not punished on the next move).
  2. Because a pin is a constraint whose importance depends on what the pinned piece is needed for; geometry alone finds many irrelevant pins and misses pins created by a sacrifice. Humans struggle for the same reason — two-move pin puzzles are rated 1452 against 1094 for forks.
  3. That of all the times the detector reports a pin, an estimated 17.4% are on puzzles Lichess tags as pin puzzles; most reported pins don't matter.

9.8 Tactics Are Consequences: Where Motifs Come From

🚪 Threshold concept — tactics are consequences, not accidents. Puzzles begin at the moment a tactic exists, so it is easy to believe that tactics appear — that the strong player is simply the one who notices them. In real games, the tactic is usually the last move of a story: a piece that has been dominant for twenty moves, a pawn that has been advancing for ten, a weakness that has been fixed and attacked. The fork is the harvest. Once you see tactics this way, you stop waiting for them and start growing them — and you start judging your strategic decisions by the tactics they make possible.

How would we find such stories in the data, rather than pick them by hand? The script code/05_strategy_to_tactics_search.py runs three searches from the winner's side of decisive games:

  • A. Outpost knight → fork. A winner's knight that has stood on an outpost square (the toolkit's strict definition: in the enemy half, protected by a pawn, unassailable by enemy pawns) for at least six plies jumps from it and forks the king, queen or a rook.
  • B. Lasting pin → material. A pin by the winner that holds for at least three consecutive winner moves and ends with the winner capturing the pinned piece after move 15.
  • C. Slow edge → motif (broadcast games, using the relay evaluations stored with each move). The winner's evaluation stayed between −0.30 and +2.00, averaging at least +0.40, over twenty plies — a lasting, non-tactical edge — and then the winner, now at +2.50 or more, played a move that creates a fork, pin, skewer, discovered attack or double check.
masters: 11,288 games from 9 collections, 6,027 decisive, scanned in 51s
slow-edge search: 3,453 decisive classical games, both FIDE >= 2450, with relay evals; 49 games (1.4%) fit
  motif at that moment: pin 23, discoveredAttack 12, fork 8, skewer 5, discoveredAttack fork 1
masters   outpost->fork :   26 games (0.4% of decisive games)
masters   pin->capture  :  172 games (2.9% of decisive games)

Strict definitions catch few games — 26 outpost-knight forks in 6,027 decisive games of nine classical positional players (Capablanca, Karpov, Petrosian, Botvinnik, Rubinstein, Fischer, Smyslov, Nimzowitsch, Alekhine; fast and simultaneous events excluded). That is not evidence that tactics rarely grow from strategy; it is evidence that the exact chain "same knight, same outpost, then a fork" is one of many routes. What the searches give us is a reproducible way to pick examples. Here are two of them, one classical and one from the 2026 broadcast data.

Classic: Karpov – Martín González, Las Palmas 1977

Anatoly Karpov, then World Champion, against Ángel Martín González, round 10 of the Las Palmas tournament (the book's master database, game 48855). It is a Sicilian Dragon in which White plays 6.Be2, castles, and puts a knight on d5 at move 13.

1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 g6 6.Be2 Bg7 7.O-O O-O 8.Bg5 Nc6 9.Nb3 Be6
10.Kh1 a6 11.f4 b5 12.Bf3 Rc8 13.Nd5 Nd7 14.c3 Nb6 15.Qe2 Nc4 16.Rad1 Qd7 17.Rfe1 Qa7
18.Bh4 Rfe8 19.Nc1 Qb8 20.Nd3 a5 21.Nf2 Bd7 22.Bg4 Bxg4 23.Nxg4 a4 24.a3 Qb7 25.Rf1 Nd8
26.f5 f6 27.Bxf6 exf6 28.Ngxf6+ Bxf6 29.Nxf6+ Kf8 30.fxg6 hxg6 31.Qg4 Nf7 32.Qxg6 Nce5 33.Nh7+ 1-0

Karpov–Martín González after 13.Nd5

♟️ Position: White Kh1, Qd1, Ra1, Rf1, Bf3, Bg5, Nb3, Nd5, a2, b2, c2, g2, h2, e4, f4; Black Kg8, Qd8, Rc8, Rf8, Be6, Bg7, Nc6, Nf6, b5, a6, d6, g6, e7, f7, h7 — Black to move. FEN: 2rq1rk1/4ppbp/p1npbnp1/1p1N2B1/4PP2/1N3B2/PPP3PP/R2Q1R1K b - - 3 13

The strategic phase. The knight arrives on d5 at move 13 with the evaluation level (+0.05, Stockfish 19, depth 16). By the toolkit's strict definition d5 is not yet an outpost — Black's e7-pawn could still challenge it with ...e6 — but Black never does, because ...e6 would leave the d6-pawn backward and the dark squares around it weak. So the knight stays: it is still on d5 after ply 56 — 32 consecutive positions. Over moves 15–25, as Black shuffles (...Nc4, ...Qd7–a7–b8–b7, ...a5–a4), the depth-16 evaluation mostly sits between +0.65 and +1.88: White is better, never winning, and there is no tactic on the board.

Karpov–Martín González after 25...Nd8

♟️ Position: White Kh1, Qe2, Rd1, Rf1, Bh4, Ng4, Nd5, b2, g2, h2, a3, c3, e4, f4; Black Kg8, Qb7, Rc8, Re8, Bg7, Nc4, Nd8, a4, b5, d6, g6, e7, f7, h7 — White to move. FEN: 2rnr1k1/1q2ppbp/3p2p1/1p1N4/p1n1PPNB/P1P5/1P2Q1PP/3R1R1K w - - 3 26

Look at the position after 25...Nd8. Our detector finds no fork, no pin, no skewer. But ask a different question: if the d5-knight could move now, where would it fork? The script answers: e7 (rook c8 and king g8) and f6 (rook e8 and king g8). The knight is a loaded weapon pointed at two squares, held back only by the pawns on e7 and f7 and the bishop on g7. Meanwhile the bishop on h4 and the knight on g4 also aim at f6. Every one of those white pieces has been on its post for many moves. That is the strategic edge, and it is made of latent tactics.

🤖 Engine check: In this diagram Stockfish 19 rates White at +1.72 (depth 20, preferring 26.Rd3) and +2.16 (depth 24, preferring 26.Qf2), with Karpov's 26.f5 a close second at both depths (+1.59 / +2.05). After 26.f5, Black's best defence is 26...h5 (+1.84, depth 24), kicking the g4-knight. The move played, 26...f6?, opens the f-file and the f6-square at the same time: 27.Bxf6 is now +6.27 (depth 24), the second choice 27.fxg6 only +4.46. One pawn move turned a +1.8 position into a +6 one — the evaluation graph below shows the cliff.

Karpov–Martín González after 26...f6

♟️ Position: White Kh1, Qe2, Rd1, Rf1, Bh4, Ng4, Nd5, b2, g2, h2, a3, c3, e4, f5; Black Kg8, Qb7, Rc8, Re8, Bg7, Nc4, Nd8, a4, b5, d6, f6, g6, e7, h7 — White to move. FEN: 2rnr1k1/1q2p1bp/3p1pp1/1p1N1P2/p1n1P1NB/P1P5/1P2Q1PP/3R1R1K w - - 0 27

The harvest. 27.Bxf6! exf6 28.Ngxf6+ Bxf6 29.Nxf6+ — three captures on f6, and the last is made by the knight that had waited on d5 since move 13. It lands with check, forking the king on g8 and the rook on e8.

After 29.Nxf6+: the d5-knight's fork

♟️ Position: White Kh1, Qe2, Rd1, Rf1, Nf6, b2, g2, h2, a3, c3, e4, f5; Black Kg8, Qb7, Rc8, Re8, Nc4, Nd8, a4, b5, d6, g6, h7 — Black to move. FEN: 2rnr1k1/1q5p/3p1Np1/1p3P2/p1n1P3/P1P5/1P2Q1PP/3R1R1K b - - 0 29

And now the most instructive moment of the game. After 29...Kf8, Karpov did not take the rook. He played 30.fxg6!, and Black resigned four moves later after 33.Nh7+. Stockfish 19 at depth 20 agrees with him: 30.fxg6 +6.95, while cashing the fork with 30.Nxe8 is only +4.57. A fork is a threat; sometimes the threat is worth more than its execution, because the forked side must spend its moves on the fork while the attack goes on.

Evaluation graph of Karpov–Martín González

📊 Figure (described): White's win % after each ply (Stockfish 19, depth 16), with the 32 plies during which White's knight stood on d5 shaded. The curve rises from 50% to roughly 60–70% while the knight sits on d5 — a lasting edge with no knockout — then jumps to about 84% at 26...f6 and above 90% at 29.Nxf6+. The tactic is the cliff at the end of a long slope.

🔄 Check your understanding 1. For how many consecutive positions did Karpov's knight stand on d5, and what was the evaluation range during that phase? 2. Which Black move turned the position from about +1.8 into about +6, and what was the better defence? 3. Name the two fork squares the d5-knight already "threatened" after 25...Nd8.

Answer

  1. 32 positions (plies 25–56); the depth-16 evaluation mostly sat between +0.65 and +1.88.
  2. 26...f6?, which opened the f-file and f6; 26...h5 was best (+1.84 at depth 24) against 27.Bxf6 at +6.27 after 26...f6.
  3. e7 (king g8 and rook c8) and f6 (king g8 and rook e8).

Modern: Aronian – Shankland, U.S. Championship 2026

Levon Aronian (FIDE 2725) against Sam Shankland (2646), round 7 of the 2026 U.S. Chess Championship, a classical game relayed on Lichess (broadcast game 363593). It is a Najdorf with 6.g3 — the Zagreb Variation — and for twenty-five moves nothing tactical happens.

1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 a6 6.g3 e5 7.Nf3 Be7 8.Nh4 g6 9.Ng2 b5 10.Ne3 Bb7
11.Bg2 Nbd7 12.Ncd5 O-O 13.O-O Rc8 14.a4 Nxd5 15.Nxd5 Bxd5 16.exd5 b4 17.Bd2 a5 18.c3 bxc3
19.Bxc3 Rc5 20.Bd2 Bg5 21.b4 Rc4 22.bxa5 Bxd2 23.Qxd2 Rc5 24.a6 Qa5 25.Rfd1 Qxa6 26.a5 Rfc8
27.Bf1 Qa7 28.Qe3 Nf6 29.a6 Ng4 30.Qe2 Rc2 31.Rd2 Rxd2 32.Qxd2 e4 33.Qe2 h5 34.h3 Nf6 35.Qb2 Nd7
36.Qb7 Rc7 37.Qxa7 Rxa7 38.Rb1 f5 39.Rb7 Rxb7 40.axb7 Kf7 41.Bb5 Nb8 42.h4 g5 43.hxg5 Kg6
44.f4 exf3 45.Kf2 Kxg5 46.Kxf3 Kg6 47.Kf4 Kf6 48.Be2 Kg6 49.Bd1 Nd7 50.Ba4 Nb8 51.Be8+ 1-0

The strategic phase. After the queenside exchanges White has a passed a-pawn. It reaches a6 at move 29, where Stockfish 19 at depth 24 rates the position only +0.90 (best defence 29...R8c7). The pawn is not winning anything yet. But look at what it does to one square.

Aronian–Shankland after 29.a6

♟️ Position: White Kg1, Qe3, Ra1, Rd1, Bf1, f2, h2, g3, d5, a6; Black Kg8, Qa7, Rc5, Rc8, Nf6, e5, d6, g6, f7, h7 — Black to move. FEN: 2r3k1/q4p1p/P2p1np1/2rPp3/8/4Q1P1/5P1P/R2R1BK1 b - - 0 29

The pawn on a6 guards b7. Any white piece that reaches b7 is protected there, and from b7 a queen or rook looks along the seventh rank and down the b-file into the heart of Black's position. Over the next six moves the evaluation climbs steadily — +1.32 after 30...Rc2, +1.86 after 32...e4, +2.31 after 35.Qb2 (depth 16) — as White's queen heads for the b-file. Still no tactic: our detector sees nothing on the board.

Aronian–Shankland after 35...Nd7: White to move

♟️ Position: White Kg1, Qb2, Ra1, Bf1, f2, g3, h3, d5, a6; Black Kg8, Qa7, Rc8, Nd7, e4, h5, d6, g6, f7 — White to move. FEN: 2r3k1/q2n1p2/P2p2p1/3P3p/4p3/6PP/1Q3P2/R4BK1 w - - 3 36

The harvest. With 35...Nd7 Black put a third piece on the seventh rank. 36.Qb7! — the queen lands on the square the a-pawn guards and attacks the queen on a7, the knight on d7 and the rook on c8 at once. Our detector: White's Qb7 forks Qa7 and Nd7 and Rc8. Black has to trade queens (36...Rc7 37.Qxa7 Rxa7), and after 38.Rb1 f5 39.Rb7 Rxb7 40.axb7 the a-pawn itself has arrived on b7, one step from queening, with the black knight tied to b8 for the rest of the game.

After 36.Qb7: a triple fork on the square the a-pawn guards

♟️ Position: White Kg1, Qb7, Ra1, Bf1, f2, g3, h3, d5, a6; Black Kg8, Qa7, Rc8, Nd7, e4, h5, d6, g6, f7 — Black to move. FEN: 2r3k1/qQ1n1p2/P2p2p1/3P3p/4p3/6PP/5P2/R4BK1 b - - 4 36

🤖 Engine check: Before 35...Nd7, Stockfish 19 (depth 24) preferred 35...Kg7 at +2.67; it ranked 35...Nd7 third, at +5.42. After 35...Nd7, 36.Qb7 is +5.77 (depth 24) and the next-best moves, 36.Kg2 and 36.Ra2, are +0.86 — so Qb7 is the only way to cash the edge. And here is a lesson about engine metrics: by the book's classification (a win-% drop of 15 or more is a blunder), Shankland's whole game contains one inaccuracy and no mistakes at depth 16 (book accuracy 96.5%). At +2.31 the win-% model already gives White about 70%, and 35...Nd7 (to +3.32 at depth 16, about 77%) moved it by only about 7 points — an "inaccuracy" on that scale, although it allowed the decisive fork. The tactic did not decide a balanced game; it converted a won one.

After 40.axb7: the passed pawn arrives on the fork square

♟️ Position: White Kg1, Bf1, f2, g3, h3, d5, b7; Black Kg8, Nd7, e4, f5, h5, d6, g6 — Black to move. FEN: 6k1/1P1n4/3p2p1/3P1p1p/4p3/6PP/5P2/5BK1 b - - 0 40

Evaluation graph of Aronian–Shankland

📊 Figure (described): White's win % after each ply (Stockfish 19, depth 16). The curve sits near 50% for the first fifty-odd plies, rises steadily from about ply 57 (29.a6) to about 70% by ply 69 (35.Qb2), steps up to about 77–80% at 35...Nd7 and 36.Qb7, and keeps climbing past 90% as the b-pawn ties Black down. Unlike the Karpov game there is no cliff: the passed pawn did the work slowly, and the fork collected it.

Two games, two different strategic assets — a dominant knight, a far-advanced passed pawn — and the same structure: a long period in which the advantage was real but not tactical, followed by one opponent move that let the latent tactics out. That is what "strategy creates tactics" means in practice. The slow-edge search found 49 such games among 3,453 decisive OTB classical games between players rated 2450+ (1.4%, by a deliberately strict filter), among them Tan Zhongyi's queen fork against Carissa Yip at the 2026 Cairns Cup. At the moment of the strike the motif was a pin in 23 of the 49, a discovered attack in 12, a fork in 8 and a skewer in 5. At this level the pin — the quiet, hard motif — is the commonest way a long squeeze ends.

📋 Try it — Database research. Change search C in code/05_strategy_to_tactics_search.py to require a shorter edge (ten plies instead of twenty) and a lower threshold for "winning" (+2.00 instead of +2.50). Predict before you run it: does the share of games rise above 1.4%? Does the motif mix move towards forks or towards pins?

Answer

The share must rise — a looser filter admits every game the strict one admits, and more (the search takes the first qualifying moment in each game, so a few games may change which moment is reported). What changes is which games come in: with a short edge, many of the new games are ones where the "edge" was itself the start of a tactical sequence, so expect the mix to move towards the loud motifs (forks, discovered attacks) that end short sequences — then check that prediction against your output. Compare with the strict counts above (pin 23, discovered attack 12, fork 8, skewer 5); the exact numbers depend on the thresholds you choose, which is the point of the exercise — always report the filter with the count.


9.9 Tactics at Different Levels — and the Engine's View

Put the chapter's numbers side by side and a picture of tactical skill by level emerges.

Around 1000–1200 Around 1600–1800 Around 2000–2200+
Blunders per 100 moves (Lichess blitz, analysed games) 8.4 (1000–1199) 6.5 (1600–1799) 5.7 (2000–2199) · 4.6 (2200+)
Blunders not punished on the next move 36.0% 32.4% 31.1% · 29.4%
Punishing replies that are plain captures 47.8% 43.4% 39.6% · 38.0%
Puzzle motif mix in this puzzle-rating band fork 16.5%, pin 5.2% fork 12.5%, pin 8.0% fork 9.5%, pin 8.0% (2400+: pin 8.4% > fork 7.3%)

Lichess blitz bands are average Lichess blitz ratings; puzzle bands are Lichess puzzle ratings — different scales, shown together only to describe a curriculum.

Two scales share that table on purpose, and you should keep them apart in your head: a puzzle rating is not a game rating. What the rows share is a direction. As ratings rise, players blunder less and punish more, and the tactics that decide games become less about loose pieces and more about lines and defenders.

Grace Mbeki, preparing for a FIDE open, put it in her own terms at the club:

Grace: At my level nobody leaves a knight hanging. What I lose to is the pin I didn't take seriously — the one that's been there since move twelve. Sam: We used to say the pin is the one that wins later. Lena: So for me it's "look for loose pieces", and for you it's "look for pins"? Grace: For both of us it's "look". You just look at different things first.

Grace's last line is the chapter in miniature. The motif names are a checklist of things to look at. The order in which you check them should match what actually decides games at your level.

🤖 Engine check — what Stockfish "knows" about motifs. Nothing. Stockfish 19 has no concept of a fork or a pin; it searches millions of positions and evaluates them with a neural network. In every puzzle in this chapter it found the solution at depth 20 — and in every one, the second-best move was dramatically worse (17.Qc6+ −1.59 vs 17.Qxd8+ +6.33; 13.Bd5 +1.14 vs mate in two; 42.Qh5 −7.64 vs 42.Rh6+ +1.60). That pattern — one move far better than all the others — is the engine's signature of a tactic. Humans need the names because we cannot search millions of positions; the names prune our search to the handful of moves where a double threat is geometrically possible. The engine is the check, not the teacher: when it says "+6", your job is to say which motif made it so.

🔄 Check your understanding 1. In Karpov–Martín González, why did Karpov not play 30.Nxe8 after the fork? 2. What strategic asset made 36.Qb7 possible in Aronian–Shankland? 3. According to our Lichess blitz sample, what is the single most common way a blunder is punished, and what does that imply for training?

Answer

  1. Because 30.fxg6 kept the attack going and was stronger: Stockfish 19 (depth 20) rates 30.fxg6 at +6.95 and 30.Nxe8 at +4.57. The forked rook was not going anywhere useful, so the threat was worth more than its execution.
  2. The passed a-pawn on a6, which guarded b7 and made it a permanently protected entry square on the seventh rank.
  3. A plain capture (44.7% of punished blunders, all bands pooled). Most tactical points in real games are scored by noticing what is loose — so an every-move blunder check matters at least as much as puzzle-pattern training.

Spaced Review

Before reading the reminders, try to answer each question from memory.

  1. From Chapter 3: What makes a square an outpost, and why is a knight on an outpost more valuable than the point table says?
  2. From Chapter 4: Which pawn moves in front of a castled king create the weaknesses that line pieces exploit?
  3. From Chapter 7: How does the null-move test answer "what does my opponent want?"
Reminders
  1. An outpost is a square in the enemy half, protected by your pawn, that no enemy pawn can ever attack. A knight there cannot be driven away by pawns, so it stays — and as Karpov's d5-knight showed, a knight that stays for thirty plies is a fork waiting for its moment. (Karpov's d5 was not even a strict outpost: Black could have challenged it with ...e6 at a structural price, and chose not to.)
  2. Advances such as ...f6, ...g6 or ...h6 loosen the squares and diagonals around the king. In Karpov–Martín González the single move 26...f6? opened the f-file and the f6-square at once and turned +1.8 into +6.
  3. Let the side to move "pass" on a copy of the board and ask the engine for the opponent's best move: the size of the swing measures the threat. Tactically, the null-move test is a motif scan by brute force — if the opponent's best move after a pass is a fork, you have found the fork before it happened. Combining Chapter 7's threat finder with this chapter's detector tells you not just that there is a threat but what kind.

Project Checkpoint: tactics.py

Dev Raman's first reaction to this chapter was to ask whether a program could find forks without an engine. It can — and that is what outpost/tactics.py does.

The module (project/outpost/tactics.py) implements every definition in the chapter as pure python-chess geometry. Its public functions:

  • scan(board, kinds=...) -> list[Motif] — every fork, pin, skewer, discovery set-up, overloaded defender and hanging piece on the board, for both sides; Motif is a small dataclass (kind, side, piece, targets, detail).
  • find_forks / find_pins / find_skewers / find_discovered / find_overloaded / find_hanging(board, color) — one finder per motif, from color's point of view.
  • move_motifs(board, move) -> set[str] — the patterns a move creates: fork, pin, skewer, discoveredAttack, discoveredCheck, doubleCheck, plus check, capture, promotion.
  • line_motifs(board, uci_moves) / line_board_kinds(...) — the same along a puzzle solution (used by the validation in 9.7).
  • scan_game(game) -> DataFrame and motif_summary(df) — motif tags for every move of a game, and counts per side.
  • explain(board) -> str — a plain-English report; plus the helpers worthwhile, safe, forks_by_piece, solution_san and numbered.

code/project_checkpoint.py runs it on a puzzle, on single moves, on Aronian–Shankland and on a whole master game:

b = chess.Board("Q2qkb1r/2p2pp1/3p1n1p/4p1N1/4P3/1PN5/1P1P1PPP/2B3K1 w k - 2 17")
print(tx.explain(b))
# ...
df = tx.scan_game(chessdata.game_from_row(row))      # Zs. Polgar - Smyslov, Vienna 1993
print(tx.motif_summary(df).to_string())
1. A puzzle position (Lichess puzzle NNjAF, after 16...Qd8):
White's Qa8 pins Qd8 to Ke8 (absolute).
White can exploit an overloaded Ke8: sole defender of f7 and Qd8.
Black has a discovery: Qd8 hits Ng5 by moving Nf6.

2. What does a single move create?
   Qxd8+: ['capture', 'check']
   Nxf7: ['capture']
   after 17.Qxd8+ Kxd8, Nxf7+: ['capture', 'check', 'fork']

3. Aronian - Shankland, U.S. Championship 2026, after 36.Qb7:
White's Qb7 forks Qa7 and Nd7 and Rc8.

4. A whole game: Zs. Polgar - Smyslov, Vienna 1993 (master_games)
   125 plies scanned
       fork  pin  skewer  discoveredAttack  doubleCheck
side
black     0    1       0                 0            0
white     1    1       0                 1            0
   9.Ba3     pin
   16.axb5    discoveredAttack
   16...Rxa1    pin
   42.Ng6+    fork

Look at the first output. In NNjAF the detector does not "see" the fork on f7 — because it isn't there yet. It sees the conditions: the black king is overloaded (sole defender of f7 and of the queen), and the queen is pinned. That is a good description of why 17.Qxd8+ works, and a good illustration of 9.8's thesis: the board shows preconditions, and the tactic is their consequence. The fourth output shows how sparse "named" tactics are in a real master game — four motif-creating moves in 125 plies, one of which (42.Ng6+) decided it. Case Study 1 tells that game's story.

How it plugs in later. Chapter 10's calc.py can use move_motifs to order candidate moves (forcing moves first); Chapter 11's sacrifices.py can label sacrifices by the motif that justifies them; Chapter 26's review.py can annotate critical moments with the motif the opponent missed; and Chapter 25's training.py can count, over your own games, which motifs you allowed and which you missed — the "do I look?" measurement from 9.6.

📋 Try it — Engine analysis. Run move_motifs on every move of one of your own recent games (load it with Chapter 1's games.py), then run engine.analyse_game on the same game at depth 16. List your blunders (win-% drop ≥ 15) and the opponent's reply to each. How many replies created a named motif, and how many were plain captures or quiet moves? Compare with the population numbers in 9.6.

Answer

There is no single answer — it is your data. Expect most punishing replies to be plain captures or quiet moves, as in the population (44.7% and 39.0% of punished blunders), with named motifs around one reply in ten. If the share of your opponents' blunders that you leave unpunished is high — compare with 29–39% across bands in 9.6 — your quickest gain is not more puzzles but a slower blunder check on every opponent move.


Chapter Summary

Motif One-line definition What to scan for Puzzle data (n; median rating; 2-move median)
Fork One piece attacks two worthwhile targets Loose pieces; king + heavy piece a knight's jump apart 795,016; 1312; 1094
Pin Line piece → lesser piece → greater piece Pieces lined up with the king or queen behind 371,586; 1637; 1452
Skewer Line piece → greater piece → lesser piece King or queen in front of a rook on an open line 137,063; 1292; 1091
Discovered attack A piece moves and uncovers a line piece's attack Your piece between your line piece and their king/queen 312,980; 1466; 1277
Double check Two checks at once — only king moves answer Enemy line piece aimed at your king through one piece 32,410; 1631; 1542
Deflection Force a defender off its duty A defender with two duties 268,263; 1543; 1311
Attraction (decoy) Force a piece (often the king) onto a fatal square Squares where the king would be forked or mated 224,811; 1673; 1482
Overload One defender, two jobs Sole defenders of attacked pieces no Lichess tag
Interference Block the line between defender and defended Long-range defenders with an empty square in between 22,305; 1706; 1531
Removing the defender Capture the piece that guards The guard of the thing you want 40,449; 1600

Decision checklist — before every move, both sides:

  1. Loose pieces. Which pieces (mine and theirs) are undefended? Can anything attack two of them at once?
  2. Lines. Are any two enemy pieces on one rank, file or diagonal — especially with the king or queen? Are any of mine?
  3. Duties. Which enemy piece is doing an essential job? What happens if I capture it, chase it, or give it a second job?
  4. Forcing moves first. Checks, captures, threats — in that order (Chapter 10).
  5. Where did this come from? If there's a tactic, which strategic feature created it (outpost, passed pawn, weak back rank)? If there isn't one, which feature could create one?
  6. Verify. A motif is a reason to calculate, not a reason to play. Count the replies — especially counter-checks and in-between moves.

Key numbers: fork 12.8% of 6.19M Lichess puzzles (median 1312) vs pin 6.0% (median 1637); at two moves, fork 1094 vs pin 1452. In 9,600 Lichess blitz games, only 10.7% of punished blunders were punished by a named motif; plain captures 44.7%. Unpunished blunders: 39.1% below 1000, 29.4% at 2200+. Our geometric detector fires on 99.7% of Lichess fork puzzles, but its pin finder is imprecise (precision 17.4%). Glossary entries for every motif are in Appendix K; the metrics are in Appendix D.


What's Next

A motif tells you where to look; it does not tell you whether the line works. Chapter 10 builds the other half: candidate moves, forcing-move trees and the discipline of calculating to a quiet position — with a forcing-move tree explorer you will build in Python. Chapter 11 then puts the motifs together into full combinations, including the most famous rook sacrifice in modern chess.