Chapter 1 Exercises — How to Think About Chess

Difficulty: ⭐ recall and explain · ⭐⭐ apply to a position or a short script · ⭐⭐⭐ analyse, judge, extend · ⭐⭐⭐⭐ open-ended project

Every position in Part B comes from a real game in the book's data, and every solution was checked with Stockfish 19 (MultiPV 3 at depth 18, and the best line at depth 24) by code/06_exercise_positions.py. Evaluations are from White's point of view, in pawns. Try each position for at least five minutes before opening the solution, and write your answer in the four-question format: structure → activity → king safety → critical factor → plan.


Part A — Concepts ⭐

A1. List the four questions of the evaluation framework in order. For each, give one example of a feature you would look for.

Answer
  1. Structure — isolated, doubled, backward or passed pawns; pawn levers; which way the pawns point; open files. 2. Activity — which pieces have squares and targets; a "bad" bishop behind its own pawns; a rook on an open file. 3. King safety — the pawn shelter, enemy pieces aimed at the king zone, a pawn storm on its way. 4. Critical factor — the one feature that will matter most over the next ten moves (often permanent and under your control).

A2. Why does the framework examine the pawn structure before the pieces? Give two reasons.

Answer

(1) Pawns cannot move backwards, so the structure is the slowest-changing feature of a position, and plans based on it stay valid longest. (2) The structure determines where pieces can be effective — outposts for knights, open diagonals for bishops, open files for rooks.

A3. Define a plan in one sentence and explain why "play 15.Nf1, 16.Ng3, 17.Nf5" is not a plan.

Answer

A plan is a direction for the next phase of the game derived from the position's critical factor (for example "transfer the knight to the kingside to support an attack on f7"). A fixed move list ignores the opponent's replies; a plan lets you pick the best route each move as the position changes.

A4. On an empty board, how many squares does a knight attack from d5, from a1, and on average over all 64 squares? Why does this matter for the slogan "a knight on the rim is dim"?

Answer

Eight, two, and 5.25 (python-chess count in code/01_first_steps.py). The slogan is a summary of this geometry: central squares give a knight four times the reach of a corner. Knowing the reason also tells you the exception — a rim knight that is one jump from a key square can be worth more than an idle central one.

A5. What is the branching factor? Give the measured values for middlegames and endgames in our OTB broadcast positions.

Answer

The average number of legal moves in a position. In the book's positions sample, OTB broadcast middlegames average 35.7 legal moves and endgames 19.9 (weighted; Lichess 33.9 and 19.7).

A6. Write the Lichess win% formula and give the win% for +1.00 and for −3.00.

Answer

Win % = 50 + 50 · (2 / (1 + e^(−0.00368208 · cp)) − 1), cp clipped to ±1000 and taken from the relevant side's point of view. +1.00 (100 cp) → 59.1%; −3.00 → 24.9%.

A7. True or false, with a reason: "If Stockfish's best move at every depth from 12 to 32 is the same, the engine thinks that move wins."

Answer

False. In Kasparov–Topalov 1999 Stockfish 19 chose 24.Rxd4 at every depth from 12 to 32, yet evaluated the position between −0.46 and −0.17 — it judged the sacrifice the best try, not a win. "Best move" and "winning move" are different claims.

A8. Why does this book never write "a Lichess 1800 is about FIDE 1600" as a fact?

Answer

Lichess (Glicko-2, online, own pools per time control) and FIDE (Elo, over the board) are different rating pools measured on different populations; any correspondence is rough and varies by level and time control. Treating it as a conversion invents precision the data does not have.


Part B — Positions ⭐⭐

B1. Build the plan — Esipenko–Wei Yi, FIDE Candidates 2026

Esipenko–Wei Yi, White to move

♟️ Position: White Ke1, Qf2, Ra1, Rh1, Bf1, Bf4, Ne2, a2, b2, g2, h2, c3, f3, d4; Black Kg8, Qd8, Ra8, Rf8, Bd6, Bc8, Nf5, d5, f6, a7, b7, c7, g7, h7 — White to move. FEN: r1bq1rk1/ppp3pp/3b1p2/3p1n2/3P1B2/2P2P2/PP2NQPP/R3KB1R w KQ - 1 14

White (Andrey Esipenko, 2698) is to play move 14 against Wei Yi (2754). In the chapter's hook, castling long was a serious mistake. Where should White's king go here, and why is this position different?

Solution

Stockfish 19: 14.O-O-O is best, +0.19 (depth 18) and +0.06 (depth 24); 14.Bxd6 −0.19 and 14.g4 −0.28 follow at depth 18. The game continued 14.Bd2, which the engine scores −0.61 (depth 18) / −0.80 (depth 24): its line 14...Qe8 15.Kd1 Qa4+ shows what the king in the centre faces.

Why castling long is right here: question 1 — White has no e-pawn, so the e-file is open straight down to White's king on e1, and Black's rook can arrive with ...Re8 (the engine's "threat" line if White passed is 14...Re8, −0.88 at depth 18). Black's queenside pawns are all still at home (a7, b7, c7): there is no pawn storm ready to meet a king on c1. Question 3 therefore has the opposite answer from the hook: the centre is the dangerous place and the queenside is quiet. The lesson is not "castle long" or "don't castle long" — it is that the king belongs where the enemy's pawns and open lines are not.

B2. Find the tactic — Rapport–Abdusattorov, Olympiad 2026

Rapport–Abdusattorov, Black to move (board shown from Black's side)

♟️ Position: White Kc1, Qd3, Rd1, Rg1, Bh4, Ne2, Nc3, b2, c2, h2, a3, e4, f4, g4; Black Kg8, Qc7, Rc8, Rf8, Bc6, Be7, Nf6, a6, d6, e6, h6, b7, f7, g7 — Black to move. FEN: 2r2rk1/1pq1bpp1/p1bppn1p/8/4PPPB/P1NQ4/1PP1N2P/2KR2R1 b - - 0 17

Richard Rapport (2726) has just played 17.g4 against Nodirbek Abdusattorov (2762). The diagram is drawn from Black's side. Find Black's best move. (Hint: count the attackers and defenders of e4, then ask what happens to the bishop on h4 once the f6-knight moves.)

Solution

17...Bxe4! — the move Abdusattorov played. Stockfish 19: −1.28 (depth 18), −1.18 (depth 24), line 17...Bxe4 18.Nxe4 Nxe4 19.Bxe7 Nf2. After the trades on e4, the bishop exchange on e7 is forced, and the knight lands on f2, forking White's queen on d3 and the rook on d1. The second-best move at depth 18, 17...Nxe4, only holds the balance (+0.04).

Why it works: question 2 — the f6-knight was shielding the e7-bishop from the h4-bishop. Once the knight captures on e4, White's Bh4 is attacked, so White never has time to recapture on e4 in peace. Note also what Black was facing: if Black passed, 18.g5 would be strong (null-move test: +2.62 at depth 18). Black's tactic answered White's kingside pawn storm with a counter-blow in the centre.

B3. Analyze this position — Fedoseev–Liang, Polanica 2026

Fedoseev–Liang, Black to move (board shown from Black's side)

♟️ Position: White Ke1, Qb2, Rd1, Rh1, Bf4, Nd4, g2, h2, a3, e3, f3; Black Kg8, Qa8, Rf8, Ba6, Be7, Nd7, d5, b6, a7, f7, g7, h7 — Black to move. FEN: q4rk1/p2nbppp/bp6/3p4/3N1B2/P3PP2/1Q4PP/3RK2R b K - 0 16

Black (Awonder Liang, 2690) is to play move 16 against Vladimir Fedoseev (2693). The natural developing move 16...Nc5 brings the knight to a good central square. What is wrong with it, and what should Black play instead?

Solution

Stockfish 19: the best moves are 16...Bh4+ (0.00), 16...Bf6 (0.00) and 16...h5 (+0.13) at depth 18; at depth 24, 16...Bh4+ +0.02. The game move 16...Nc5 scores +2.87 (depth 18) and +2.95 (depth 24): 17.Nf5 Bf6 18.Be5, and White's pieces converge on g7.

The four questions: question 2 — White's queen on b2 and bishop on f4 both aim at the long dark diagonal towards g7, and the d4-knight can jump to f5, adding a third piece. Question 3 — Black's king has no dark-squared defender in front of it once the e7-bishop is attacked. The critical factor is therefore the long diagonal, not the knight's development. Black's best moves all deal with it: ...Bf6 blocks the diagonal at once, ...Bh4+ gains time first. 16...Nc5 develops a piece that does nothing for the critical factor. Note the null-move test: if Black simply passed, the engine gives only +0.49 — there is no immediate threat; the problem is that 16...Nc5 walks into White's plan.

B4. Build the plan — Sindarov–Praggnanandhaa, Super Chess Classic Romania 2026

Sindarov–Praggnanandhaa, White to move

♟️ Position: White Kc1, Qd2, Rg1, Rh1, Bd3, Nh4, a2, b2, f2, g2, d5, h5; Black Kg8, Qd7, Ra8, Re8, Bg4, Ne7, d6, h6, a7, b7, c7, f7, g7 — White to move. FEN: r3r1k1/pppqnpp1/3p3p/3P3P/6bN/3B4/PP1Q1PP1/2K3RR w - - 6 17

Javokhir Sindarov (2776) is White against R Praggnanandhaa (2733). First: what does Black threaten? Then: find a move that meets the threat and gains time.

Solution

The threat: the d5-pawn is attacked by the e7-knight and defended by nothing. The null-move test (White passes) gives −2.91 at depth 18 with the line ...Nxd5 f3 Qc6+ — the pawn falls with check on the c-file towards White's king.

Stockfish 19: 17.f3! is clearly best, 0.00 (depth 18 and depth 24): 17...Bf5 18.Nxf5 Nxf5 19.g4 Nd4. The pawn hits the g4-bishop, so Black must move it; White trades the knight for the bishop, and the knight that recaptures on f5 is no longer attacking d5. Next 19.g4 gains space with tempo. The alternatives are much worse: 17.a3 −1.36 and the game move 17.Bc2 −1.43 (depth 18 MultiPV) / −1.33 (depth 24 after the move), met by 17...Qb5.

The lesson: before building your own plan, ask what your opponent wants (the subject of Chapter 7). The best move here is both defence and development: it removes the piece that attacks d5 and advances White's kingside pawns.

B5. Endgame technique — Capablanca–Tartakower, New York 1924

Capablanca–Tartakower, White to move

♟️ Position: White Kh4, Rh7, a4, d4, f4, g5; Black Kf8, Rf3, d5, f5, b6, a7, c7 — White to move. FEN: 5k2/p1p4R/1p6/3p1pP1/P2P1P1K/5r2/8/8 w - - 2 37

Two moves after the king march you studied in section 1.4. Black's rook has taken c3 and now attacks f4. White to play move 37. What is the strongest continuation, and what is it based on?

Solution

37.g6! — Capablanca's move. Stockfish 19 (MultiPV 3, depth 18): 37.g6 +4.90, 37.Kh5 +2.66, 37.Rxc7 +0.36; depth 24: 37.g6 +5.81. After 37...Rxf4+ 38.Kg5 White's king joins the pawn on its way to f6, and the rook on h7 and the g-pawn create mating and promotion threats against a king locked on the back rank.

The idea: the critical factor is unchanged from move 35 — the passed g-pawn plus the rook on the seventh plus the king. Defending f4 or taking c7 (+0.36) would be a material reflex; pushing the pawn keeps the initiative with the permanent assets. The difference between 37.g6 and 37.Rxc7 is about four and a half pawns.

B6. Find the tactic — the Opera Game, Paris 1858

Opera Game, White to move 16

♟️ Position: White Kc1, Qb3, Rd1, Bg5, a2, b2, c2, f2, g2, h2, e4; Black Ke8, Qe6, Rh8, Bf8, Nd7, e5, a7, f7, g7, h7 — White to move. FEN: 4kb1r/p2n1ppp/4q3/4p1B1/4P3/1Q6/PPP2PPP/2KR4 w k - 0 16

Paul Morphy against the Duke of Brunswick and Count Isouard. Morphy has given up material to reach this position. White to move and mate in two.

Solution

16.Qb8+! Nxb8 17.Rd8# — as played (the game record ends with 17.Rd8#, and python-chess confirms the final position is checkmate). Stockfish 19: #2 at depth 18 and depth 24; the next best moves (16.Qc3, 16.Qb7) are only +5.20.

Why it works: the d7-knight is the only piece guarding d8. The queen sacrifice deflects it to b8, and the rook mates on d8, protected by the g5-bishop. The preconditions — Black's king in the centre, Black's pieces undeveloped, an open d-file — were built by the development lead you can see in the legal-move counts in section 1.8.


Part C — Data & Code ⭐⭐–⭐⭐⭐

C1. Database research ⭐⭐ — the branching factor by rating band. Extend branching_factor() in code/04_engine_and_evaluation.py to group by source, rating_band and phase. Expected output shape: a table with one row per (source, band, phase), columns n, mean_legal (weighted). Question: do stronger players reach middlegames with more or fewer legal moves?

Guidance

Use the same weights (stratum_weight × sample_weight). Bands with small n (Lichess <1000 endgames, for example) will be noisier; print n next to every mean and do not interpret differences smaller than about one move without a confidence interval (Chapter 31 shows how to bootstrap one).

C2. Database research ⭐⭐ — calibration by speed. Modify calibration() so that the groups are Lichess bullet, blitz and rapid (all ratings) instead of rating bands. Expected output: a table of White's score by evaluation bin (−300 … +300) for each speed, with the number of positions per bin, and a chart like the calibration figure. Prediction before you run it: which speed converts a +3.00 position least reliably?

Guidance

Filter ps.speed == "bullet" etc. Expect bullet to be the flattest curve (the clock decides many games regardless of the position — 53.0% of Lichess bullet games end on time). Keep the "n ≥ 100 per bin" rule.

C3. Engine analysis ⭐⭐ — find the cliff in your own game. Load one of your own games with games.read_pgn_file, analyse it with engine.analyse_game(game, depth=16), and draw boards.eval_graph. Expected output: a per-ply table and a PNG; then engine.critical_moments(df, n=3). For the biggest swing, write the four-question analysis of the position before the move.

Guidance

If you do not have a PGN handy, use games.book_persona_games("lena")[0] and convert it with chess.pgn.read_game(io.StringIO(...)) — or, simpler, rebuild a chess.pgn.Game from rec.sans. The exercise is the write-up: was the biggest swing a tactic or a strategic decision like 14.O-O-O in the hook?

C4. Engine analysis ⭐⭐⭐ — a depth ladder for the hook. Evaluate the Bluebaum–Giri position before move 14 and after 14.O-O-O at depths 12, 16, 20 and 24. Expected output: a 4-row table (depth, best move, eval best, eval after O-O-O). At which depth does the engine first see that castling long is a serious mistake?

Guidance

Reuse the pattern of depth_ladder(). From the chapter you already know two data points: depth 16 rates the castling move as a 15.1 win-% point loss, and the position after 14.O-O-O is −2.29 at depth 18 and −3.55 at depth 24. Report whatever your run gives at the other depths, with the depth stated.

C5. Database research ⭐⭐⭐ — White's edge by opening family. Using chessdata.lichess_games(speed="blitz", balanced=True), group by the opening family (the opening column up to the first colon) and compute White's score and n. Expected output: the 15 most frequent families with score and n. Which families give White the most and the least? Compare with the overall 51.6%.

Guidance

g["family"] = g.opening.astype(str).str.split(":").str[0]. Show n for every family, and remember that opening choice is confounded with player style and with the opponent's choices — a high score is an association, not proof that the opening "works". Chapter 20 adds confidence intervals.

C6. Code ⭐⭐ — a mobility trace. Using games.iter_positions, compute structures.mobility(board, chess.WHITE) and structures.mobility(board, chess.BLACK) for every position of Karpov–Unzicker 1974 and plot both against ply. Expected output: a two-line chart. Mark plies 32, 58 and 87 (the chapter's diagrams). Does the gap open gradually or suddenly?

Guidance

The chapter's toolkit counts are White 35 / Black 29 at ply 32, 38 / 28 at ply 58 and 37 / 21 at ply 87. Your chart should show the gap widening in steps as Black's pieces retreat — a picture of a squeeze.


Part D — Judgment & Transfer ⭐⭐⭐

D1. In the hook, the toolkit counted zero Black attacks on a king standing on c1 — yet castling there lost. Write a paragraph on what static counts can and cannot tell you, and propose one extra measure that would have flagged the danger.

Model answer

Static counts describe the current position: how many pieces attack which squares now. They cannot see plans or pawn moves that will change the position in one or two moves. A useful extra measure is "pawn levers within two moves of the king zone": count enemy pawns that can reach a square attacking the king's shield (here ...b4 hitting c3). A second is "attackers one move away". Both turn a snapshot into a short-horizon forecast — which is what question 3 asks for.

D2. A 1200-rated player and a 2000-rated player both reach a position the engine calls +1.00. Using the chapter's calibration data, explain how each should think about the next ten moves.

Model answer

In our Lichess data, positions around +1.00 led to a White score of 57.6% under 1200 and 61.5% at 1800–1999; at OTB 2200+ the score was 68.3% but 35.5% of those games were drawn. For the 1200 player, the biggest risk is not converting at all — blunders and the clock dominate — so the priority is safety: remove threats, trade into simpler positions, avoid time trouble. For the 2000 player, the risk is the draw; the plan must create a second weakness or a winning endgame rather than "just keep the extra pawn".

D3. Sam says: "If the engine agreed with Kasparov's 24.Rxd4 at every depth, then the engine understands the sacrifice." Dev disagrees. Who is right, and in what sense?

Model answer

Each is partly right. The engine's choice agrees with Kasparov at every depth from 12 to 32, so in the sense of "would play the same move" Sam is right. But its evaluation (−0.46 to −0.17) says it does not see a forced win; it prefers the move because the alternatives are worse. "Understanding" in the human sense — a reason expressible in concepts — is not something the engine provides; it provides a search result. The human explanation (Black's exposed king, White's active pieces) is our job.

D4. Over the board at FIDE 2400+, 48.3% of classical games are drawn; in Lichess blitz between 2400+ players, 9.1%. If you mostly play online blitz but want to improve your classical OTB results, what does that gap suggest about what to train?

Model answer

Online blitz rewards fast tactics and clock handling and seldom tests long defence or endgame conversion. Classical OTB at a high level is full of balanced positions, long endgames and draws; results come from converting small edges and defending slightly worse positions. Training should add slow games, endgame technique (Part III) and annotated analysis of your own long games, not just more blitz.


Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐

Chapter 1 has no earlier chapters to mix with, so these problems interleave the chapter's own sections — the chess framework (1.1–1.4) with the engine and data sections (1.5–1.7). From Chapter 2 on, Part M mixes chapters.

M1 (1.1 + 1.6). In the hook, 14.O-O-O dropped White's win% from 50.4 to 35.3 at depth 16. Using the Lichess win% formula, roughly what evaluation does 35.3% correspond to? Then explain in four-question terms why a single quiet move can be worth that much.

Answer

Inverting the curve: 40.9% is −1.00 and 32.4% is −2.00, so 35.3% lies between them, around −1.6 to −1.7 (at depth 16). Deeper searches made it worse (−2.29 at depth 18, −3.55 at depth 24). A quiet move can be worth that much when it changes the answer to question 3 — it put the king in the path of the opponent's main plan, turning Black's pawn advance into a direct attack.

M2 (1.3 + 1.5). Karpov's next three moves after 16...Nb7 matched Stockfish's depth-18 main line. Does that mean Karpov "calculated like an engine"? Use the branching factor to argue your answer.

Answer

No. Three moves for each side is six plies; at about 35 legal moves per middlegame position that is on the order of 35^6 ≈ 10^9 sequences without pruning. No human enumerates that. Karpov reached the same moves through a plan (reroute the knight via f1, complete development, contest the a-file) that told him which few moves were worth considering. The agreement shows that a correct plan and a deep search converge — not that the methods are the same.

M3 (1.4 + 1.6). In Capablanca–Tartakower before move 35, Stockfish 19 at depth 24 gave 35.Kg3 +3.07 and 35.Kf2 +0.42. Convert both to Lichess win%, and explain the gap in terms of the critical factor.

Answer

+3.07 ≈ 75–76% (+3.00 is 75.1%); +0.42 ≈ 54% (+0.50 is 54.6%). The gap of over twenty win-% points comes from choosing the permanent factor (king + passed g-pawn + rook on the seventh) over the temporary one (the c3-pawn).

M4 (1.2 + 1.7). Lichess games between players under 1200 have a median length of 51 plies; OTB classical games are around 74–83 plies at every band. Using the dimensions of a position, propose two explanations for why lower-rated online games end so much sooner.

Answer

(1) Material and king safety: weaker players lose material or get mated early — checkmate ends 32.6% of Lichess blitz games under 1200 (Case Study 2), so games rarely reach an endgame where structure matters. (2) The clock: fast time controls end many games on time regardless of the position. Both mean that the long, structure-driven phase of the game — where plans matter most — is often never reached.

M5 (1.1 + 1.5). Exercise B3 (Fedoseev–Liang) and the hook both feature a natural move that ignored the critical factor. Compare the two positions: what was the critical factor in each, and which of the four questions would have flagged it?

Answer

Hook: the critical factor was the race between White's kingside pressure and Black's queenside pawns; question 3 (where is the king safe in five moves?) flags 14.O-O-O. B3: the critical factor was the long dark diagonal aimed at g7; question 2 (what are the enemy pieces pointed at?) flags 16...Nc5, which develops a piece without addressing it. In both cases the engine's alternatives (14.Nce4; 16...Bf6/16...Bh4+) address the critical factor directly.


Part E — Research & Extension ⭐⭐⭐⭐

E1. A "natural move" detector. Write a script that scans the broadcast games for quiet moves (no capture, no check) in plies 18–50 where the evaluation before the move was within ±0.40 and the move cost the mover at least 1.20 pawns, in games the mover went on to lose. (The chapter's hook and Exercises B1, B3 and B4 were found this way among games between 2650+ players.) Classify 30 cases by which of the four questions would have flagged the move. Which question catches most "natural" mistakes at master level? Repeat for FIDE 1600–1800 games and compare.

E2. Your own calibration curve. Download 200+ of your own analysed games (games.fetch_user_games with evaluations), take one random position per game, and plot your final score against the evaluation, as in the calibration figure. Is your curve steeper or flatter than your band's? Where on the evaluation axis do you lose the most points relative to the model?

E3. The engine's depth horizon. Take ten famous sacrifices from the master database (load each with chessdata.find_game), and for each record the depth at which Stockfish 19 first rates the sacrifice as its best move and the depth at which the evaluation first exceeds +1.00. Present the results as a table with the game, the move, and both depths, and discuss what they say about "engine-proof" brilliancies.