Exercises — Chapter 19
Difficulty: ⭐ recall and explanation · ⭐⭐ apply to a position or a small data task · ⭐⭐⭐ judgment, multi-step analysis or code · ⭐⭐⭐⭐ open-ended research.
All positions in Part B come from real games in the book's data (anonymous Lichess players, or master games loaded from the PGN Mentor collection) or from opening lines replayed through python-chess. Every solution was checked with Stockfish 19; the depth is stated. Evaluations are from White's point of view.
Part A — Concepts ⭐
A1. Define a tempo in your own words, and give one example of a move that gains a tempo and one that loses a tempo.
Answer
A tempo is one move's worth of time. A move gains a tempo when it does something useful and forces the opponent to spend a move they did not want to spend — 2.Nf3 after 1.e4 e5 develops and attacks e5, so Black must defend it. A move loses a tempo when it leaves the position no better than a pass — a knight going g1–f3–g1, or a queen chased back home, as in Stockfish 19's line after 2...Qf6 in Morphy–Mac Connel (3.Nc3 Nc6 4.Nd5 Qd8).
A2. The chapter measured the value of a tempo with a "pass test". Describe the test and give the three values it produced. Why was the value smallest in the Queen's Gambit Declined position?
Answer
Evaluate a position with the correct side to move and again with the other side to move (as if the first side had passed); the difference is the value of the move-right. Stockfish 19 at depth 20: 0.64 pawns in the start position, 0.59 after 1.e4 e5, 0.33 after 1.d4 d5 2.c4 e6 3.Nc3 Nf6. The QGD centre is closed (pawns locked on d4/d5, e6 supporting), so an extra move creates fewer immediate threats.
A3. Give the book's definition of the development count, and compute it for both sides in the starting position and after 1.e4 e5 2.Nf3 Nc6 3.Bc4 Bc5 4.O-O.
Answer
Own knights and bishops not on their own back rank, plus one if castled (0–5). Start: 0 and 0. After 4.O-O: White has Nf3, Bc4 out and has castled = 3; Black has Nc6, Bc5 = 2.
A4. List three things a castling move does at once.
Answer
It moves the king off the central file (usually the first to open), puts it behind a pawn shelter, and brings a rook toward the centre so the rooks can connect. It is also the only move that moves two pieces.
A5. Why is the queen less able than a knight to stand its ground on an advanced square? Use piece values in your answer.
Answer
The queen is worth about 9, so an attack by any lesser piece (a pawn, worth 1, or a knight, worth 3) forces it to move — trading it for the attacker would be a huge loss. A knight attacked by a pawn must also move, but it can stand when attacked by a knight or bishop (an even trade). Every lesser attacker gains a tempo against the queen.
A6. What is a free repeat by the book's definition? Give an example of a free repeat that is nevertheless a good move.
Answer
A move by a knight, bishop, rook, queen or non-castling king from the square that piece reached with an earlier move, within the side's first five moves, that is neither a capture nor a move out of check. 4.Ba4 in the Ruy Lopez (1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4) is a free repeat chosen in 91.2% of master games that reach 3...a6; Stockfish 19 rates the position +0.36 (depth 20) — a normal opening edge.
A7. In 19.3, 1.g3 was rated +0.20 by Stockfish 19 even though it is a flank-pawn move. Explain why this does not contradict the centre principle.
Answer
1.g3 prepares Bg2, which aims down the long diagonal at d5 and e4: it controls the centre with a piece from a distance. The principle is "fight for the centre", not "move a centre pawn"; the fianchetto serves the principle while breaking the letter of "don't move flank pawns".
A8. State the test the chapter gives for when an early queen move is justified.
Answer
When it comes with a threat the opponent must answer (ideally a check) against a weakness the opponent created, so the opponent has no time to develop against the queen — e.g. 6.Qh5+ in Wojtaszek–Fedoseev after 4...f5 had opened the e8–h5 diagonal.
Part B — Positions ⭐⭐
B1. Analyze this position — Morphy–Mac Connel, New Orleans 1849, Black to move (move 2). Rank these four candidate moves from best to worst and explain the worst one: 2...Nc6, 2...Nf6, 2...d6, 2...Qf6.

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc1, Bf1, Nb1, Nf3, a2, b2, c2, d2, e4, f2, g2, h2; Black Ke8, Qd8, Ra8, Rh8, Bc8, Bf8, Nb8, Ng8, a7, b7, c7, d7, e5, f7, g7, h7 — Black to move. FEN:
rnbqkbnr/pppp1ppp/8/4p3/4P3/5N2/PPPP1PPP/RNBQKB1R b KQkq - 1 2
Solution
Stockfish 19 (depth 20, three lines): 2...Nc6 +0.29, 2...Nf6 +0.37, 2...d6 +0.56; and after 2...Qf6 +1.26 (the game). All four defend or counter the attack on e5, but 2...Qf6 puts the queen on the king's knight's best square, where it can be hit by White's developing moves (the engine's line is 3.Nc3 Nc6 4.Nd5 Qd8 — the queen has to go home). It costs about a pawn compared with 2...Nc6. In the game the queen moved seven times in Black's first ten moves.
B2. Find the tactic — Lichess rapid, both players about 1200–1250, White to move. Moves: 1.e4 e5 2.Nf3 d6 3.Nc3 a6 4.d4 Qf6. Find the developing move that punishes Black's queen.

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc1, Bf1, Nc3, Nf3, a2, b2, c2, d4, e4, f2, g2, h2; Black Ke8, Qf6, Ra8, Rh8, Bc8, Bf8, Nb8, Ng8, a6, b7, c7, d6, e5, f7, g7, h7 — White to move. FEN:
rnb1kbnr/1pp2ppp/p2p1q2/4p3/3PP3/2N2N2/PPP2PPP/R1BQKB1R w KQkq - 1 5
Solution
5.Bg5! develops the bishop and attacks the queen: Stockfish 19 (depth 18, two lines) gives +3.41, line 5...Qg6 6.dxe5 Be6 7.h4. The second line, 5.Nd5 (+3.10), also develops with tempo (hitting the queen and c7). Both moves follow the same rule: when the opponent's queen arrives early, look first for a developing move that attacks it — and keep attacking it (the engine's line continues with h2–h4 against the queen on g6).
B3. Find the tactic — Lichess blitz, both players about 1420, Black to move. Moves: 1.e4 e5 2.Nf3 Nc6 3.d4 exd4 4.Ng5 Nf6 5.Bc4 Ne5 6.Qxd4 d6 7.Bb3 c5 8.Qa4+. How should Black meet the check?

♟️ Position: White Ke1, Qa4, Ra1, Rh1, Bb3, Bc1, Nb1, Ng5, a2, b2, c2, e4, f2, g2, h2; Black Ke8, Qd8, Ra8, Rh8, Bc8, Bf8, Ne5, Nf6, a7, b7, c5, d6, f7, g7, h7 — Black to move. FEN:
r1bqkb1r/pp3ppp/3p1n2/2p1n1N1/Q3P3/1B6/PPP2PPP/RNB1K2R b KQkq - 1 8
Solution
8...Bd7! blocks the check with a developing move that attacks the queen: Stockfish 19 (depth 18, two lines) gives −5.92, line 8...Bd7 9.Qa3 c4 10.Ba4 b5 11.Bxb5 — after the queen retreats, ...c4 traps the bishop on b3, and Black wins a piece. The other block, 8...Qd7, is only +0.56: it offers a queen trade and gives up the tempo. White's queen had already moved twice (6.Qxd4, 8.Qa4+); the punishment was a developing move with tempo, then a pawn move with tempo.
B4. Analyze this position — Lichess classical (25 minutes), players 1732 and 1754, White to move. Moves: 1.e4 e5 2.f4 d5 3.Nc3 dxe4 4.fxe5 Qd4 5.Nge2 Qxe5 6.d4 exd3 7.cxd3 Bf5 8.Bf4 Qc5. Black's queen has moved four times. What is White's most principled move?

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bf1, Bf4, Nc3, Ne2, a2, b2, d3, g2, h2; Black Ke8, Qc5, Ra8, Rh8, Bf5, Bf8, Nb8, Ng8, a7, b7, c7, f7, g7, h7 — White to move. FEN:
rn2kbnr/ppp2ppp/8/2q2b2/5B2/2NP4/PP2N1PP/R2QKB1R w KQkq - 3 9
Solution
9.d4! — a centre-pawn move that attacks the queen: Stockfish 19 (depth 18, two lines) +0.70, line 9...Qa5 10.Ng3 Bb4 11.Nxf5 Qxf5. The developing alternative 9.Ng3 is −0.02. White's own king is exposed (the f-pawn is gone), so the edge is modest; but the move order matters: d4 first gains the tempo, and only then do the knights come to g3 and attack the f5-bishop.
B5. Build the plan — Lichess rapid (10 minutes), players 1593 and 1568, White to move. Moves: 1.c4 c5 2.g3 d6 3.Bg2 Nc6 4.Qa4 Bd7 5.Qb3 Nd4. White can take on b7 with the queen. Should he?

♟️ Position: White Ke1, Qb3, Ra1, Rh1, Bc1, Bg2, Nb1, Ng1, a2, b2, c4, d2, e2, f2, g3, h2; Black Ke8, Qd8, Ra8, Rh8, Bd7, Bf8, Nd4, Ng8, a7, b7, c5, d6, e7, f7, g7, h7 — White to move. FEN:
r2qkbnr/pp1bpppp/3p4/2p5/2Pn4/1Q4P1/PP1PPPBP/RNB1K1NR w KQkq - 6 6
Solution
No. Stockfish 19 (depth 18) gives 6.Qd1 −0.02 as best — the queen simply goes home — while 6.Qxb7? is −2.61, line 6...Nc2+ 7.Kd1 Rb8 8.Qxb8 Qxb8 9.Kxc2: the knight fork wins material and White's king is dragged into the open. White played 6.Qxb7 in the game. The audit tells the story before the engine does: White's queen has made three of White's first six moves, while Black's last two moves were a developing move with tempo (4...Bd7) and a knight jump with tempo (5...Nd4). A queen that has already been chased twice should not go pawn-hunting.
B6. Find the tactic — White to move. 1.e4 e5 2.Qh5 g6 (a reply seen in 9.1% of 2.Qh5 games below 1200 in our Lichess sample).

♟️ Position: White Ke1, Qh5, Ra1, Rh1, Bc1, Bf1, Nb1, Ng1, a2, b2, c2, d2, e4, f2, g2, h2; Black Ke8, Qd8, Ra8, Rh8, Bc8, Bf8, Nb8, Ng8, a7, b7, c7, d7, e5, f7, g6, h7 — White to move. FEN:
rnbqkbnr/pppp1p1p/6p1/4p2Q/4P3/8/PPPP1PPP/RNB1KBNR w KQkq - 0 3
Solution
3.Qxe5+! forks king and rook h8: Stockfish 19 (depth 20, three lines) gives +7.54, line 3...Qe7 4.Qxh8 d5. The next-best moves are retreats (3.Qd1 −0.54, 3.Qe2 −0.61). Black's 2...g6 attacked the queen — a "tempo" move — but forgot that e5 was the queen's other target. Lesson: before you attack a piece, check what it attacks.
B7. Find the tactic — White to move. 1.e4 e5 2.Qh5 Nc6 3.Bc4 Nf6.

♟️ Position: White Ke1, Qh5, Ra1, Rh1, Bc1, Bc4, Nb1, Ng1, a2, b2, c2, d2, e4, f2, g2, h2; Black Ke8, Qd8, Ra8, Rh8, Bc8, Bf8, Nc6, Nf6, a7, b7, c7, d7, e5, f7, g7, h7 — White to move. FEN:
r1bqkb1r/pppp1ppp/2n2n2/4p2Q/2B1P3/8/PPPP1PPP/RNB1K1NR w KQkq - 4 4
Solution
4.Qxf7# (Stockfish 19: mate in 1). If White misses it, the other moves are bad: 4.Qd1 −2.45, 4.Qf3 −2.75 (depth 20) — Black's developing move 3...Nf6 really did attack the queen, and a retreat loses the e4-pawn. 3...Nf6 is the classic case of a good-looking developing move with tempo that ignores the opponent's threat. Chapter 7's question — "what does my opponent want?" — comes before "which piece can I develop?"
Part C — Data & Code ⭐⭐–⭐⭐⭐
C1. Database research ⭐⭐ — the cost table by speed. Extend code/02_principle_costs.py so that
table A3 (mistake-or-worse rate by category × band) is also split by speed (bullet / blitz / rapid; drop
classical, which has too few games). Expected output: three tables of 10 categories × 8 bands with cell
counts. Question: is the free-repeat penalty below 1200 larger in rapid than in bullet? Explain why time
pressure might shrink or enlarge it.
C2. Engine analysis ⭐⭐⭐ — was an attack available? Table B of 19.5 measures how often an early queen is attacked at once. It does not measure how often an attack was available. For each early-queen position in the sample, generate all legal developing moves (minor piece leaving the back rank, or a d-/e- pawn move) that attack the queen, and record whether at least one exists. Expected output: by band, the share of early queen moves where a developing attack was available, and the share of those where the opponent played one. Compare the second share across bands — this, not table B, measures "punishing".
C3. Engine analysis ⭐⭐ — depth stability of the first-move ranking. Rerun section 4 of
code/01_tempo_and_first_moves.py at depth 24. Expected output: a 20-row table with depth-20 and
depth-24 evaluations side by side and the rank change for each move. Question: which moves change rank,
and is the top-three (Nf3, e4, d4) stable? Relate the answer to the chapter's claim that their differences
are "inside the noise".
C4. Database research ⭐⭐⭐ — a fianchetto category. In outpost/opening_principles.py, add a tag
fianchetto for g2–g3 / b2–b3 (g7–g6 / b7–b6) when the bishop on f1/c1 (f8/c8) is still at home, and
give it its own category in 02_principle_costs.py (taking moves out of "flank pawn"). Expected output:
the updated table A. Question: how much of the flank-pawn cost was carried by fianchettos? Does the new
"flank pawn (non-fianchetto)" category cost more than before?
C5. Database research ⭐⭐ — the opening audit of a public player. Using chessdata.chesscom_archive
for one of the two public Chess.com archives in the book's data (Hikaru Nakamura or Levy Rozman; filter
rules == "chess" and one time class), run audit_game on 200 games and report the share of games with
an early queen, a free repeat, castling by move 10, and the mean tempo spend, as White and as Black.
Expected output: a 2 × 4 table. Compare with the 2400+ Lichess row of the chapter's tables and discuss
why a top blitz player's numbers may differ (opening choices, speed, opponents).
C6. Database research ⭐⭐⭐ — the OTB version. Repeat table C1 (tempo spend vs rating-adjusted score
and eval after move 10) on OTB broadcast games, using the relay evaluations in broadcast_moves
(exclude engine_game and online events; FIDE bands). Expected output: the C1 table with FIDE
bands. Question: is the slope flatter or steeper than on Lichess at comparable rating levels? (Remember:
FIDE and Lichess ratings are different scales.)
Part D — Judgment & Transfer ⭐⭐⭐
D1. A 1200-rated student asks: "If 2.Qh5 scores fine at my level, why shouldn't I play it?" Write a 150-word answer using at least two numbers from the chapter, and give the student one concrete alternative.
Sample answer
It scores fine because your opponents blunder against it — 9.1% of them answer 2...g6?? and about 6% fall for 3...Nf6?? — not because the move is good. Stockfish 19 rates 2.Qh5 about half a pawn worse than 2.Nf3, and every opponent who knows 2...Nc6 and 3...g6 starts the game better than you, with your queen on its second square and nothing developed. As you improve, your opponents' blunder rate falls (2...g6 drops below 2% of replies above 1600) and the half pawn stays. You will also learn nothing about middlegame plans from positions that are decided by traps. If you want to aim at f7, play 2.Nf3 and 3.Bc4: you keep the first-move advantage, develop two pieces, and your opponent's mistakes still get punished.
D2. The early queen is attacked at once in 15.3% of cases below 1200 and 3.5% at 2400+. A friend concludes: "Low-rated players punish early queens better than masters." Explain the error.
Sample answer
The statistic depends on where the queen goes, not only on how well the opponent punishes. Strong players move the queen early mostly within known systems, to squares that cannot be attacked with a developing move; club players put it on h5, f3, g4 or f6, where attacks are available. A fair comparison needs the share of positions where an attack was available (Exercise C2). Selection by the queen's owner, not skill of the opponent, drives most of the difference.
D3. Morphy–Anderssen (Case Study 1) and Morphy–Mac Connel both feature early queens and both ended in Morphy wins. Using the engine evidence, explain how the two games differ, and what that tells you about judging openings by results.
Sample answer
Mac Connel's 2...Qf6 cost about a pawn at once (+0.29 → +1.26) and the evaluation climbed steadily (+4.48 after 6...Qxg2, +7.71 after 14.Nfd6+): the opening lost the game. Anderssen's queen moves were mostly good (8...Qxc3+ was the engine's top choice) and the position was 0.00 at move 14; the game was lost at 17...Bc8 and 20...Nd5. Same result, different causes. A result tells you that someone went wrong, not where; judge an opening by the position it produces, then check the moment the evaluation moved.
D4. At 2000+ on Lichess, castled and uncastled sides after move 10 differ by only 12 cp. Should a 2100-rated player therefore stop worrying about castling? Discuss what a population average can and can't tell an individual player.
Sample answer
No. The average includes many positions where delaying castling was a correct, deliberate choice (closed centre, queenless position, pawn storm planned) — strong players delay when it is safe. The 12 cp is the average of good delays and bad delays; for an individual position, the open-centre cases still look like Wei Yi–Piorun (+6.70 for one check). The average tells the player that delaying is not automatically bad at this level; it does not tell them that a particular delay is safe. Use the principle as a default and check the centre's status before overriding it.
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1. (Chapters 4 and 19) ⭐⭐ In Wei Yi–Piorun after 13...Bxd4, apply Chapter 4's king-safety questions (shelter, open files, attackers vs defenders near the king) to Black's king on e8. Which of them explains Stockfish 19's preference for 14.Qh5+?
Answer
Shelter: Black's f-pawn is gone (12...fxe6), so the e8–h5 diagonal is open and the king has no pawn on f7. Files: there is no white pawn on the e-file, so once the weak e6- and e4-pawns fall, White's rooks can use it. Attackers: White's queen and both bishops can reach the kingside in one move; Black's defenders (the queen on d8, knight on c6) are on the other side. The open diagonal is the decisive feature — it is the line 14.Qh5+ uses.
M2. (Chapters 5 and 19) ⭐⭐ Chapter 5 described occupation versus control of the centre. Classify each of the six best first moves in 19.3 (Nf3, e4, d4, g3, e3, c4) as "occupies", "controls" or "prepares control", with one sentence each.
Answer
1.e4 and 1.d4 occupy a central square and control two more. 1.Nf3 controls d4 and e5 without occupying. 1.c4 controls d5 from the side. 1.g3 prepares control (Bg2 on the long diagonal toward d5 and e4). 1.e3 controls d4 and f4 modestly and prepares d4; it occupies nothing central yet.
M3. (Chapters 7 and 19) ⭐⭐⭐ Exercise B7 (3...Nf6?? 4.Qxf7#) is a failure of Chapter 7's question "what does my opponent want?". Use the null-move idea from Chapter 7 to describe how a player could catch White's threat before playing 3...Nf6: what happens if Black "passes" after 3.Bc4?
Answer
If Black passes after 3.Bc4, White's best move is 4.Qxf7# — the threat is mate. Any Black move that doesn't stop Qxf7 (3...Nf6, 3...d6, 3...Bc5) allows it. Running the "pass" in your head — "if I did nothing, what would White play?" — shows the mate threat and forces a defending move (3...g6, 3...Qe7, 3...Qf6). Development with tempo is only good if it does not ignore a bigger threat.
M4. (Chapters 13 and 19) ⭐⭐⭐ Chapter 13 discussed decisions under time pressure. Using the chapter's claim that principles are a "calculation budget", explain why following opening principles might matter more in blitz than in classical games, and how you would test that with this chapter's data.
Answer
Principled moves (development, centre pawns, castling) are usually safe without calculation; principle-
breaking moves (queen sorties, king walks, pawn grabs) are safe only after checking replies. In blitz
there is less time to check, so the budget is tighter and the safe default worth more. Test: split table
A3 of 02_principle_costs.py by speed (Exercise C1) and compare the mistake rate of queen moves and free
repeats between bullet/blitz and rapid in the same band; also compare the score effect of tempo spend
(table C1) by speed. (The book's opening-behaviour tables already show larger rating-adjusted penalties
for free repeats in rapid and classical than in blitz — so the answer may be surprising.)
M5. (Chapters 3 and 19) ⭐⭐ Chapter 3 measured piece mobility. Use the "squares attacked" counts in 19.1 (knight 3 → 8, bishop 2 → 10, queen 5 → 18) to explain why the queen's mobility gain from an early sortie is not the same as a minor piece's gain from development.
Answer
The minor piece's gain is durable: on f3 or c4 it will stay, and the next move can go to another piece. The queen's gain is temporary: on h5 it attacks 18 squares but can be driven away by lesser pieces at the cost of a tempo each time, and it often has to return. Mobility that survives the opponent's next few moves is worth more than mobility that is taxed every move.
Part E — Research & Extension ⭐⭐⭐⭐
E1. The value of a tempo, systematically. Pick 200 opening positions after move 6 from the
broadcast data (balanced, classical, both ≥ 2200). For each, compute the pass-test value of a tempo
(Stockfish 19, depth 18) and classify the position by structures.classify_structure and by whether any
centre file is open. Does the tempo's value depend on openness as the chapter suggested (0.59 open vs
0.33 closed)? Report the distribution by structure and a regression of tempo value on the number of open
centre files.
E2. Principles as a predictor. Build a logistic regression predicting the result (win vs not) from the audit features after move 10 (development count difference, castling, tempo spend for both sides) and the rating difference, using the 48,000-game sample. How much does the audit add to rating difference alone (compare log-loss or AUC)? Then add the evaluation after move 10: does the audit carry information the engine number does not?
E3. The exception catalogue. Collect every opening in the masters explorer that reaches move 6 in at least 5,000 master games and contains, for one side, an early queen move, a free repeat or a flank-pawn move by move 5. For each, report the master score and Stockfish 19's evaluation at move 6, and write one sentence on the concrete reason the violation is justified. Which violations appear most often among respected openings?