Thursday night at the Hartwell library. Dev has his laptop open on the end table, and Sam Whitaker is
In This Chapter
- 7.1 The idea: two players, two plans
- 7.2 The null-move question: "What would they play if it were their move?"
- 7.3 Nimzowitsch at the board: ...b4 against e2–e4
- 7.4 Restriction: Karpov's squeeze
- 7.5 Restriction taken to the end: the "Immortal Zugzwang Game"
- 7.6 Do engines play prophylaxis? What the data says
- 7.7 From Petrosian to Gukesh: prophylaxis in the modern game
- 7.8 Building the habit: prophylactic thinking at your level
- Spaced Review
- Project Checkpoint: prophylaxis.py
- Chapter Summary
- What's Next
Chapter 7 — Prophylaxis and Restriction: Nimzowitsch's Revolutionary Idea — Stopping Your Opponent's Plan Before Starting Your Own
Thursday night at the Hartwell library. Dev has his laptop open on the end table, and Sam Whitaker is leaning over his shoulder with the expression of a man who has been asked to admire a spreadsheet.
On the screen is a position from a real Lichess blitz game — five minutes plus three seconds, two anonymous players rated 1772 (White) and 1814 (Black) on Lichess. It is Black's seventeenth move.

♟️ Position: White Kg1, Qd1, Ra1, Rf1, Bb2, Bd3, Ne5, pawns f2 g2 h2 b3 a4 d4; Black Kg8, Qd6, Ra8, Rf8, Bg7, Bc8, Nc7, pawns d5 e6 g6 a7 f7 h7 — Black to move. FEN:
r1b2rk1/p1n2pbp/3qp1p1/3pN3/P2P4/1P1B4/1B3PPP/R2Q1RK1 b - - 0 17
Black is a little worse — Stockfish 19 says +1.14 (Stockfish 19, depth 16) and +1.52 at depth 22 — but nothing is falling apart. The c8-bishop is the only undeveloped piece, so Black did the natural thing: 17...Bb7, developing it to the long diagonal. The game went on 18.Ba3 Qd8 19.Bxf8 Qxf8 20.Rc1. White won the exchange, and later the game.
Dev: Look at this. The engine says +1.14 before 17...Bb7 and +4.16 after it. One developing move.
Sam: Nothing wrong with developing a bishop. What did White want?
Dev: That's the thing — I asked the engine exactly that. I let Black pass, gave White a free move, and asked what White plays. Answer: Ba3. The bishop hits the queen on d6, and the rook on f8 is standing right behind it on the same diagonal.
Sam: Nimzowitsch had a word for that question a hundred years ago. You didn't need a computer.
Dev: No. But the computer tells me how often people don't ask it.
Sam is right about the history and Dev is right about the measurement, and this chapter needs both of them. If Black had been allowed to pass in that position, White's win chance (on the Lichess win-% scale you met in Chapter 1) would have jumped from 60.3% to 86.2% — a threat of 25.9 win-% points at depth 16 (23.6 at depth 22). The move 17...Bb7 was a perfectly good move in a vacuum. It was a blunder in the position, because it answered the question "what do I want?" and never asked "what does my opponent want?"
That second question is the subject of this chapter. Aron Nimzowitsch called the habit of asking it prophylaxis, from the Greek word for a guard posted in advance — in medicine, the treatment that prevents the disease rather than curing it. In this chapter you will learn to ask the question at the board, see how Nimzowitsch, Petrosian and Karpov turned the answer into a whole style of play, test whether engines agree with them (they mostly do — and their best moves are quiet far more often than you would guess), and measure, on thousands of real positions, how often players at every level simply forget to ask.
♟️ Improver Track: Read 7.1–7.3 and 7.8 closely and do every 📋 Try it. The single habit in 7.8 (the three-question blunder check) is worth more rating points than any opening you could learn this month. Skim the code.
📊 Analyst Track: Sections 7.2 and 7.6 define and measure "threat", "quiet move" and "ignored threat" on 3,800 real positions. Read the definitions, the caveats and the confidence intervals; then try the Part C exercises.
🏆 Competitor Track: Sections 7.4, 7.5 and 7.7 are the games: Karpov's squeeze, Nimzowitsch's zugzwang and modern elite prophylaxis from the 2025–26 broadcast data. Play through them with the diagrams and predict each prophylactic move before you read it.
💻 Developer Track: The Project Checkpoint builds
outpost/prophylaxis.py, a null-move threat finder with a whole-game scanner and a restriction profile. Read 7.2 for the method first.
7.1 The idea: two players, two plans
Most of the strategy in Chapters 2–6 was about your plan. Find the pawn structure (Chapter 2), improve your worst piece (Chapter 3), keep your king safe (Chapter 4), use your space (Chapter 5), and weigh the material (Chapter 6). All of that is necessary. None of it is enough, because chess has two players, and the other one also has a plan.
📐 Definition — Prophylaxis. A prophylactic move is a move whose main purpose is to prevent, or make harmless, something the opponent wants to do — a threat, a pawn break, a piece manoeuvre, a plan — before they can do it. Prophylactic thinking is the habit behind it: before choosing your own move, asking what your opponent would do if it were their turn.
Nimzowitsch set out this idea in My System (the German edition appeared in 1925; the book grew out of articles and lectures he had been writing through the early 1920s). His argument, paraphrased, was that the strong player does not merely defend against threats once they appear; he anticipates the opponent's freeing moves and prevents them, and he treats the restriction of the opponent's possibilities as a goal in its own right. Nimzowitsch tied prophylaxis to three related ideas that you will meet throughout this chapter:
- Restriction — reducing the opponent's useful moves: taking squares away from their pieces and preventing their pawn breaks, so that their position slowly loses its options.
- Blockade — stopping a pawn (especially a passed or a "freeing" pawn) by planting a piece in front of it. A blockading knight on the square in front of an isolated pawn is the classic image.
- Overprotection — defending a key point (often a strong central pawn or an outpost) more times than it is currently attacked, so that the pieces doing the defending are already in place when the attack comes.
There are really two kinds of prophylactic move, and it helps to separate them early:
- Threat prevention — the opponent has a concrete, short-term threat (a tactic, a fork, a skewer like Ba3 in the hook) and you remove it before it happens. This is the everyday kind. It overlaps with what coaches call the blunder check.
- Plan prevention — the opponent has a long-term idea (a pawn break such as ...f5 or e4, a knight heading for a dream square, a rook lift) and you make that idea impossible or pointless, usually many moves before it would have become a threat. This is the Nimzowitsch–Petrosian–Karpov kind, and it is the one that separates good positional players from merely solid ones.
The first kind is mostly about calculation — you have to see the threat. The second is about understanding — you have to know what the opponent's position is asking for. That is why theme 1 of this book, understanding beats memorization, matters so much here: you cannot memorise every opponent's plan, but you can learn to read what a pawn structure invites each side to do (that is exactly what Chapter 2 gave you), and then you can ask whether the opponent's invitation can be withdrawn.
🔍 Why this works. Chess is a game of tempo. Every move you spend on prevention is a move you do not spend on your own plan, so prophylaxis looks like a loss of time. It is not, for one reason: a prevented plan costs the opponent more than one tempo. Their pieces were arranged for that plan. If the plan is gone, the arrangement is wrong, and they have to spend several moves finding a new plan and regrouping for it. A single prophylactic move that kills a plan prepared over five moves is a trade of one tempo for five. The geometry matters too: a prevention that also improves one of your own pieces (Karpov's speciality, as you will see in 7.4) costs no tempo at all.
Prophylaxis has a reputation for being passive. It is not. The goal is not to stop everything — that is impossible, and trying to do it produces the timid, reactive play that loses slowly. The goal is to stop the opponent's best idea, at the moment when stopping it is cheapest, so that your own plan can proceed without a race. "Stopping your opponent's plan before starting your own," as this chapter's title says.
⚠️ Common pitfall: prophylaxis against ghosts. The beginner's version of prophylaxis is answering every possible opponent move with a defensive move: h3 against a bishop that may never come to g4, a3 against a knight that may never go to b4. Each of those costs a tempo. Ask the question honestly — what is the opponent's best idea? — and only prevent that one if it is actually dangerous. In 7.6 you will see that in about half of sampled middlegame positions the opponent has no real threat at all.
🔄 Check your understanding
- What is the difference between threat prevention and plan prevention? Give one example of each from this section.
- Why can a prophylactic move gain time even though it does not advance your own plan?
Answer
- Threat prevention stops a concrete, short-term threat (the hook's Ba3 skewer); plan prevention makes a long-term idea such as a pawn break impossible or pointless before it becomes a threat (stopping e2–e4 or ...f5 many moves in advance).
- Because the opponent's pieces were arranged for the prevented plan; they must spend several moves finding and preparing a new one. One tempo for several is a good trade.
7.2 The null-move question: "What would they play if it were their move?"
How do you find the opponent's best idea? The practical technique, recommended by many trainers, is to imagine that it is your opponent's turn — that you have passed — and ask what they would play. In the hook, if Black passes, White plays Ba3. Once you see that, the decision changes completely.
Engines can ask the same question. Inside a chess engine a pass is called a null move: the side to move "does nothing" and the turn goes to the opponent. Engines use null moves internally to prune their search (if your position is still fine even after giving the opponent a free move, you probably don't need to search it deeply). We will use the null move for a different purpose — as a measuring instrument for the opponent's intentions.
📐 Definition — Threat (null-move test). Let the side to move pass (a null move, on a copy of the board). Stockfish's best move for the opponent in that imaginary position is the threat move. The threat size is the mover's win % in the real position minus the mover's win % if they passed, using the book's win-% model (introduced in Chapter 1; see Appendix D). A threat of 10 win-% points or more means "the opponent threatens something real". The test is undefined when the side to move is in check (passing would leave the king in check).
In python-chess a null move is chess.Move.null(). The core of the threat finder fits in a dozen lines;
here is the heart of threat() from project/outpost/prophylaxis.py:
def pass_turn(board):
"""A copy of `board` in which the side to move has passed (null move). None if in check."""
if board.is_check():
return None
b = board.copy(stack=False)
b.push(chess.Move.null())
return chess.Board(b.fen()) # fresh board: no null move in the history
def threat(board, depth=16, eng=None):
nb = pass_turn(board)
if nb is None:
return None
r0, rn = engine.evaluate(board, depth), engine.evaluate(nb, depth) # White-POV, cached
mover = board.turn
wp_now = win_pct(sign(mover) * r0["cp_clipped"]) # mover's win %
wp_pass = win_pct(sign(mover) * rn["cp_clipped"])
return Threat(move_san=rn["pv"][0], line=rn["pv"][:6],
size=wp_now - wp_pass, wp_now=wp_now, wp_if_pass=wp_pass, ...)
Two Python idioms are new here. board.copy(stack=False) copies the position without its move history
(we don't need it, and we must not change the real board). chess.Board(b.fen()) rebuilds the board from
its FEN string, which throws away the null move from the history — Stockfish's UCI protocol has no way to
receive a "pass" in a move list, so we hand it the resulting position instead. The function explain()
wraps the result in a sentence. Run on the hook position, it prints:
If Black could pass, White would play Ba3 (line: Ba3 Qd8 Qf3 Bxe5 dxe5 Re8). Black's win chance would go
from 39.7% to 13.8% - a threat of 25.9 win-% points (Stockfish 19, depth 16). That is a real threat: your
move should deal with it, or create something bigger.
Knowing the threat is half the job. The other half is choosing a move that deals with it. The helper
candidates() takes Stockfish's top moves and, for each one, checks what happens to the threat move
afterwards — whether it becomes illegal (impossible), stays the opponent's best reply (still best),
becomes clearly worse for the opponent (discouraged: it now costs them at least 5 win-% points
compared with their best reply), or is merely still playable:
rank move cp wp_mover quiet threat_status penalty best_reply
1 Na6 170.0 34.8 True still playable 1.20 a5
2 Rd8 216.0 31.1 True still best 0.00 Ba3
3 Qb4 221.0 30.7 True discouraged 29.29 Re1
4 Re8 235.0 29.6 True still best 0.00 Ba3
(These four come from a MultiPV search, which spreads the engine's effort over four lines, so its numbers differ a little from the single-line evaluation of +1.14 above. Compare moves within one table, not across tables.)
Read the table like a coach. Two of the four moves, 17...Rd8 and 17...Re8, take the rook off f8, so Ba3 no longer wins the exchange — the reply column still says Ba3 because chasing the queen remains White's most useful move, but the skewer is gone. 17...Qb4 puts the queen on b4, where Ba3 is simply a mistake: the engine answers 18.Ba3 with 18...Qxd4 (penalty 29.29 points for White). And Stockfish's top choice, 17...Na6, does not make Ba3 impossible at all: after 17...Na6 18.Ba3 it plays 18...Nb4, blocking the diagonal (+1.40 at depth 16), and Ba3 becomes just one move among several for White. All four are quiet moves — no captures, no checks. All four are better than the move played. And not one of them is a move you would find by asking only "how do I develop my bishop?".
🤖 Engine check: In the hook position Stockfish 19 rates the threat at 25.9 win-% points at depth 16 and 23.6 at depth 22: the eval is +1.14 / +1.52 with Black to move, and +4.98 / +5.22 if Black passes. The two depths agree about the human point: Ba3 is White's idea, and Black must spend the move on it. The engine does not "know" the word skewer; it simply finds that after Ba3 the queen must leave the a3–f8 diagonal and Bxf8 wins a rook for a bishop. The human explanation — the queen and rook are on one diagonal, and the bishop on b2 is one move from it — is what you take to your next game.
⚠️ Common pitfall: trusting the null move in the wrong positions. The null-move test assumes that having the move is an advantage. Usually it is. Three situations break the assumption: (1) you are in check — the test is undefined; (2) an exchange is in progress — if your opponent just captured a piece and you must recapture, "passing" lets them retreat the capturing piece, so the test shows a huge "threat" that only means recapture; (3) zugzwang — positions where moving is a disadvantage, so passing would be good for you. You will see a famous zugzwang in 7.5. The tool is a flashlight, not an oracle.
📋 Try it — Analyze this position. The second position comes from another anonymous Lichess blitz game (5+0), White 1624 vs Black 1677 (Lichess). White to move on move 15.
♟️ Position: White Ke2, Rd1, Rh1, Bd3, Nd4, pawns a2 b2 g2 h2 c3 e3 e4; Black Kg8, Rd8, Rf8, Bb7, Nc6, pawns a5 b6 e6 c7 f7 g7 h7 — White to move. FEN:
3r1rk1/1bp2ppp/1pn1p3/p7/3NP3/2PBP3/PP2K1PP/3R3R w - - 0 15What does Black want? Which move stops it?
Answer
If White passes, Black plays ...Ne5 (engine line ...Ne5 Bb1 Ba6+ Kf2 c5 Nf3): the knight attacks the d3-bishop, and once the bishop leaves the a6–e2 diagonal, ...Ba6+ arrives with check against the king on e2; ...c5 then drives the d4-knight away, and the engine's continuation ...Ng4+ shows the black pieces converging on the uncastled king. Threat size: 20.2 win-% points at depth 16 (22.7 at depth 22); the eval goes from −0.41 to −2.84 at depth 16. Stockfish's choice is 15.Nf3, covering e5 directly — after it, ...Ne5 would cost Black 45.26 win-% points. The game went 15.a3? (−3.15 at depth 16 afterwards, with ...Ne5 still Black's best reply) 15...Ne7? — Black missed it too — and the position returned to −0.17. Two players at about 1650, two consecutive misses of the same one-move idea. That is not unusual, as 7.6 will show.
🔄 Check your understanding
- In the null-move test, why is the null-move position rebuilt from its FEN before it is sent to the engine?
- A candidate move leaves the opponent's threat move legal and still their best reply. What does the
candidates()table call that, and what should you conclude?- Name one position type in which the null-move test misleads.
Answer
- The UCI protocol cannot transmit a "pass" inside a move list, so we hand Stockfish the resulting position instead.
still best— the threat move is still the opponent's best reply. Check whether it still wins anything (after 17...Rd8 in the hook, Ba3 no longer wins the exchange); if it does, and your own idea is not bigger, choose another move.- Any of: in check (undefined), mid-exchange (a pending recapture looks like a huge threat), zugzwang (having the move is a disadvantage).
7.3 Nimzowitsch at the board: ...b4 against e2–e4
Principles are easier to trust when you watch their author use them. The game Saemisch–Nimzowitsch, Copenhagen 1923 is famous for its ending (7.5), but its middlegame contains a textbook piece of plan prevention. We load it from the book's master-games data (PGN Mentor, game_id 80129) — every move below is from that record:
1.d4 Nf6 2.c4 e6 3.Nf3 b6 4.g3 Bb7 5.Bg2 Be7 6.Nc3 O-O 7.O-O d5 8.Ne5 c6 9.cxd5 cxd5 10.Bf4 a6
11.Rc1 b5 12.Qb3 Nc6 13.Nxc6 Bxc6 14.h3 Qd7 15.Kh2 Nh5 16.Bd2 f5 17.Qd1 b4 18.Nb1 Bb5 19.Rg1 Bd6
20.e4 fxe4 21.Qxh5 Rxf2 22.Qg5 Raf8 23.Kh1 R8f5 24.Qe3 Bd3 25.Rce1 h6 0-1
The structure tells you both plans. Black has played ...f5 and ...Nh5: a Stonewall-like grip on the e4 square, with the knight eyeing f4 — look at the pawns on d5, e6 and f5. White's freeing idea is obvious once you look at it through Black's eyes: the pawn break e2–e4, attacking the f5/d5 chain and opening lines for White's pieces. The c3-knight supports exactly that break.

♟️ Position: White Kh2, Qd1, Rc1, Rf1, Bd2, Bg2, Nc3, pawns a2 b2 e2 f2 g3 h3 d4; Black Kg8, Qd7, Ra8, Rf8, Bc6, Be7, Nh5, pawns b5 d5 f5 a6 e6 g7 h7 — Black to move. FEN:
r4rk1/3qb1pp/p1b1p3/1p1p1p1n/3P4/2N3PP/PP1BPPBK/2RQ1R2 b - - 1 17🧩 Productive struggle. Before reading on: Black to move. You know White wants e2–e4. Name two different ways Black could make that break less effective. Which one also improves a Black piece or pawn? Spend two minutes on it.
Here is what the null-move test says, at two depths:
Before 17...b4 (Black to move): r4rk1/3qb1pp/p1b1p3/1p1p1p1n/3P4/2N3PP/PP1BPPBK/2RQ1R2 b - - 1 17
depth 18: if Black passed, White plays e4 (e4 Nf6 exf5 exf5 Bg5); threat 12.6 win-% points; eval now -0.81, after a pass +0.57
depth 22: if Black passed, White plays e4 (e4 Nf6 exf5 exf5 Ne2); threat 15.4 win-% points; eval now -1.02, after a pass +0.67
top moves at depth 18 and what they do to White's e2-e4 idea:
rank move cp wp_mover quiet threat_status penalty best_reply
1 b4 -74.0 56.8 True discouraged 30.97 Nb1
2 Nf6 -34.0 53.1 True discouraged 24.06 Nb1
3 Qe8 -27.0 52.5 True discouraged 24.43 Nb1
4 g6 2.0 49.8 True discouraged 21.49 Bh6
After 17...b4 18.Nb1 the knight no longer supports e4: White attackers of e4 = 1 ; Black attackers of e4 = 2
The engine confirms the human reading. White's idea is e4, a threat of 12.6 win-% points (15.4 at depth 22) — if Black did nothing, the position would swing from a Black edge to a White edge. Nimzowitsch's 17...b4 is Stockfish's first choice at depth 18 (−0.74), and it is prophylaxis in its purest form: the pawn hits the c3-knight, the one piece that supported e4. After 18.Nb1 the knight is on its starting square, and the e4 square is attacked by one White piece (the g2-bishop) and two Black pawns (d5 and f5). Playing e4 now costs White 30.97 win-% points. Notice what else ...b4 does: it gains queenside space, opens the a6–f1 diagonal for the c6-bishop (it goes to b5 next move, eyeing e2 and f1), and costs nothing — it is a move Black wanted to play anyway. The best prophylactic moves do two jobs.
🤖 Engine check: All four of Stockfish's top moves at depth 18 "discourage" e4 — even 17...Nf6, which simply adds a third attacker to the square. The engine's ranking puts ...b4 first because it stops the break and improves Black's position, while ...Nf6 undoes the knight's own manoeuvre to h5. That is the difference between a defensive move and a prophylactic one: the defensive move answers today's threat; the prophylactic move removes the threat's foundation and gains something for itself.
Saemisch played e4 anyway, three moves later, and it failed for a different reason: 20.e4 fxe4 21.Qxh5 Rxf2. Nimzowitsch gave up the h5-knight for two pawns (the material count after 21...Rxf2 is 33 pawn units for White against 32 for Black) and invaded on f2.

♟️ Position: White Kh2, Qh5, Rc1, Rg1, Bd2, Bg2, Nb1, pawns a2 b2 g3 h3 d4; Black Kg8, Qd7, Rf2, Ra8, Bb5, Bd6, pawns b4 e4 d5 a6 e6 g7 h7 — White to move. FEN:
r5k1/3q2pp/p2bp3/1b1p3Q/1p1Pp3/6PP/PP1B1rBK/1NR3R1 w - - 0 22
Stockfish 19 scores this −2.85 at depth 20 — Black is clearly better despite being a piece for two pawns down. Count the White pieces that can do anything: the b1-knight, which ...b4 sent home, still cannot develop (c3 and a3 are both covered by the b4-pawn, and d2 is occupied by White's own bishop); the g2-bishop bites on the e4-pawn, which the d5-pawn defends; and White's king has lost its f2-pawn. The prophylactic ...b4 of move 17 is still paying dividends five moves later. Prevention and restriction are the same idea seen at two time scales.
🔄 Check your understanding
- In your own words, what is the null-move question, and what does a "threat size" of 12.6 win-% points mean?
- Why did ...b4 stop e2–e4 even though it never touched the e4 square?
- What makes a prophylactic move better than a merely defensive one?
Answer
- Imagine the side to move passes; the opponent's best move in that imaginary position is their threat. A threat size of 12.6 means the mover's win % would fall by 12.6 points if they let the opponent have that free move — above the book's 10-point line for "a real threat".
- It removed the support of the break. A pawn break needs pieces behind it; ...b4 chased the c3-knight back to b1, so e4 had one White supporter against two Black attackers.
- A defensive move answers the current threat; a prophylactic move removes the threat's foundation and improves your own position (...b4 also gained queenside space and opened the a6–f1 diagonal).
7.4 Restriction: Karpov's squeeze
Nimzowitsch wrote the theory; two later world champions made it a style. Tigran Petrosian (world champion 1963–69) was famous for sensing danger many moves before it arrived and for moves that prevented ideas his opponents had not yet thought of. Anatoly Karpov (1975–85) turned restriction into a method: improve your pieces one by one while taking squares and breaks away from the opponent's, until they have nothing useful to do. Commentators call it the anaconda style — the coils tighten a little with every move, and no single move looks decisive.
The model game is Karpov–Unzicker, Nice Olympiad 1974 (master_games game_id 48725, a Closed Ruy Lopez, ECO C98). Wolfgang Unzicker was a leading West German grandmaster. Here is the whole game from the record:
1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 d6 8.c3 O-O 9.h3 Na5 10.Bc2 c5 11.d4 Qc7
12.Nbd2 Nc6 13.d5 Nd8 14.a4 Rb8 15.axb5 axb5 16.b4 Nb7 17.Nf1 Bd7 18.Be3 Ra8 19.Qd2 Rfc8 20.Bd3 g6
21.Ng3 Bf8 22.Ra2 c4 23.Bb1 Qd8 24.Ba7 Ne8 25.Bc2 Nc7 26.Rea1 Qe7 27.Bb1 Be8 28.Ne2 Nd8 29.Nh2 Bg7
30.f4 f6 31.f5 g5 32.Bc2 Bf7 33.Ng3 Nb7 34.Bd1 h6 35.Bh5 Qe8 36.Qd1 Nd8 37.Ra3 Kf8 38.R1a2 Kg8
39.Ng4 Kf8 40.Ne3 Kg8 41.Bxf7+ Nxf7 42.Qh5 Nd8 43.Qg6 Kh8 44.Nh5 1-0
No piece of Black's is ever captured for nothing; there is no combination until move 41. Black simply runs out of useful moves. Let's watch it happen.
Step 1 — close the centre on your terms (13.d5)

♟️ Position: White Kg1, Qd1, Ra1, Re1, Bc1, Bc2, Nd2, Nf3, pawns a2 b2 f2 g2 c3 h3 e4 d5; Black Kg8, Qc7, Ra8, Rf8, Be7, Bc8, Nc6, Nf6, pawns b5 c5 e5 a6 d6 f7 g7 h7 — Black to move. FEN:
r1b2rk1/2q1bppp/p1np1n2/1ppPp3/4P3/2P2N1P/PPBN1PP1/R1BQR1K1 b - - 0 13
(The diagram shows the position right after 13.d5, with Black's knight still on c6; it retreated to d8 at once.) With 13.d5 White gains space and, more importantly, chooses the structure. The centre is closed, so the game will be decided on the wings; Black's c6-knight is kicked and has no good square (it goes back to d8 and then to b7, where it will spend most of the game staring at the b4-pawn). Stockfish agrees that this is the right moment: before 13.d5 it ranks 13.d5 first at +0.97 (depth 18) and +0.94 (depth 24), well ahead of 13.a3 (+0.43 / +0.44).
Step 2 — take the a-file and the b4 square (14.a4, 16.b4)
Karpov opens the a-file with 14.a4 and 15.axb5, then plays 16.b4, fixing Black's queenside pawns. The b5-pawn becomes a target for the rest of the game, and Black's natural break ...c4, which Unzicker eventually played on move 22, closes the queenside further instead of opening it. The engine is neutral about 16.b4 itself — before it, Stockfish's top three at depth 24 are Qe2 +0.72, c4 +0.60 and b3 +0.58, all within a quarter of a pawn of the game — which is a useful reminder that a restriction plan is a direction, not one magic move.
Step 3 — the bishop that walls in two rooks (24.Ba7!)

♟️ Position: White Kg1, Qd2, Re1, Ra2, Bb1, Be3, Nf3, Ng3, pawns f2 g2 c3 h3 b4 e4 d5; Black Kg8, Qd8, Ra8, Rc8, Bd7, Bf8, Nf6, Nb7, pawns c4 b5 e5 d6 g6 f7 h7 — White to move. FEN:
r1rq1bk1/1n1b1p1p/3p1np1/1p1Pp3/1Pp1P3/2P1BNNP/R2Q1PP1/1B2R1K1 w - - 2 24
This is the most famous moment of the game. The a-file is open, and both sides have doubled — or are about to double — their rooks on it. Black's idea, by the null-move test, is to trade on a2: if White passed, Black would play ...Rxa2 (Rxa2 Qxa2 Ra8 Qd2), a threat of 7.6 win-% points at depth 18 — modest, because trading rooks would relieve Black's cramp. Karpov's answer is 24.Ba7!: the bishop plants itself on a7, in front of Black's a8-rook, and the a-file is now Black-proof. Black's rooks can't use it, can't trade on it, and the bishop can't be dislodged — no black pawn can ever reach b6 to attack it, and ...Rxa7 would just give up the exchange, because the a2-rook defends the bishop along the file.
🤖 Engine check: Before 24.Ba7, Stockfish 19 ranks 24.Ba7 first at both depths: +0.83 (depth 18) and +0.89 (depth 24), ahead of 24.Rxa8 (+0.25 / +0.24) and 24.Nh2 (+0.30 / +0.05). And our helper
plan_penalty()reports that after 24.Ba7 Black's threat move ...Rxa2 is impossible — the bishop stands between the rooks. Why does the engine like a move that looks like it just blocks a file? Count what Black loses: the a-file (Black's only open line), the trade of a pair of rooks (Black's best way to ease the cramp), and four pieces that cannot move safely. Our safe-mobility count (defined below) flags b7, d7, a8 and c8 — both rooks, the b7-knight and the d7-bishop — as pieces with at most one safe move after 24.Ba7. Restriction is something the engine measures in pawns; we can measure it in moves.📐 Definition — Safe mobility. The number of legal moves of a side's knights, bishops, rooks and queen to squares that are not attacked by an enemy pawn, not attacked by an enemy piece of lower value, and not attacked-and-undefended. A restricted piece is a knight, bishop, rook or queen with at most one such move. This is a deliberately crude, transparent count — it ignores pins and tactics — but it tracks the human idea of "useful squares" well enough to show a squeeze. Functions:
safe_mobility()andrestricted_pieces()inoutpost/prophylaxis.py.
Step 4 — the squeeze, and an engine-vs-legend moment

♟️ Position: White Kg1, Qd2, Ra1, Ra2, Bc2, Ba7, Nf3, Ng3, pawns f2 g2 c3 h3 b4 e4 d5; Black Kg8, Qe7, Ra8, Rc8, Bd7, Bf8, Nb7, Nc7, pawns c4 b5 e5 d6 g6 f7 h7 — White to move. FEN:
r1r2bk1/Bnnbqp1p/3p2p1/1p1Pp3/1Pp1P3/2P2NNP/R1BQ1PP1/R5K1 w - - 8 27
Black spends moves 24–29 shuffling: ...Ne8–c7, ...Qd8–e7, ...Bd7–e8, ...Nb7–d8, ...Bf8–g7. White doubles on the a-file behind the bishop (26.Rea1), and then turns to the kingside. Here the engine and Karpov briefly disagree. At move 27 Karpov played 27.Bb1, retreating the bishop that had just come to c2. At depth 16, Stockfish 19 flags it as a mistake in our whole-game analysis (the eval drops from about +1.9 to +0.6), and prefers 27.Bd1 (+1.51) or 27.Nh2 (+1.49). At depth 24 the preferred moves are the same (Bd1 +1.30, Nh2 +1.29). Karpov, of course, was not trying to play the engine's move; he was regrouping the bishop towards the kingside via b1, and he went on to win without Black ever getting counterplay. The lesson is the one from theme 3: the engine is a tool, not a teacher. It tells you 27.Bd1 was more precise — and the squeeze worked anyway, because Black had no active plan to exploit the inaccuracy. Restriction is forgiving for the side doing it; that is one of its great practical virtues.
Step 5 — the second front (31.f5)

♟️ Position: White Kg1, Qd2, Ra1, Ra2, Bb1, Ba7, Ne2, Nh2, pawns g2 c3 h3 b4 e4 f4 d5; Black Kg8, Qe7, Ra8, Rc8, Bg7, Be8, Nc7, Nd8, pawns c4 b5 e5 d6 f6 g6 h7 — White to move. FEN:
r1rnb1k1/B1n1q1bp/3p1pp1/1p1Pp3/1Pp1PP2/2P4P/R2QN1PN/RB4K1 w - - 0 31
With the queenside frozen, Karpov opens a second front: 30.f4 f6 31.f5. This is the classic way to convert a restriction advantage. The defender's pieces have been arranged to hold one side of the board; they cannot also hold the other. Stockfish 19 ranks 31.f5 first: +1.62 (depth 18) and +1.86 (depth 24), far ahead of 31.Ra5 or 31.Bc2 (+0.92 / +1.07). After 31...g5 the evaluation reaches +3.70 at depth 16: the kingside is now closed too, White owns the light squares around Black's king (h5, g6, f5), and Black's g7-bishop is buried behind its own pawns.
Step 6 — nothing left to move

♟️ Position: White Kg1, Qg6, Ra2, Ra3, Ba7, Ne3, Nh5, pawns g2 c3 h3 b4 e4 d5 f5; Black Kh8, Qe8, Ra8, Rc8, Bg7, Nc7, Nd8, pawns c4 b5 e5 g5 d6 f6 h6 — Black to move. FEN:
r1rnq2k/B1n3b1/3p1pQp/1p1PpPpN/1Pp1P3/R1P1N2P/R5P1/6K1 b - - 5 44
Unzicker resigned here. Stockfish 19 scores the final position +7.29 at depth 20. Black still has 21 legal moves — there is no zugzwang, no mate yet — but the restricted pieces are c7, g7, a8 and c8: the knight that guards b5, the buried bishop, and both rooks, which never once used the a-file. The null-move test shows why Black resigned: if Black could pass, White would play 45.Qxg7#. Stockfish's best defence, 44...Bf8, allows 45.Bb6 Qxg6 46.fxg6, and White's pieces still own both wings.

📊 Figure (described): Top: White's win % after each ply (Stockfish 19, depth 16). It hovers around 55–60% for forty plies, rises gently after 24.Ba7, and jumps after 31.f5. Bottom: the number of safe moves for each side's knights, bishops, rooks and queen. Soon after 13.d5 the lines cross: White's safe mobility climbs towards 25–30 while Black's falls from the high teens to single digits. The engine's number and the restriction count tell the same story — the squeeze happened long before the evaluation looked decisive.
The numbers behind the chart (code: code/03_karpov_unzicker.py):
Black safe mobility, mean over plies 20-30: 17.2; plies 70-87: 6.4
White safe mobility, mean over plies 20-30: 15.2; plies 70-87: 25.4
Book accuracy (depth 16): White 95.8, Black 92.6
Notice the last line. Unzicker's book accuracy (the mean of per-move accuracies, defined in Appendix D) was 92.6 — he made no gross blunder until the very end. He lost not by blundering but by being slowly deprived of good moves. That is what restriction does, and why accuracy statistics alone can miss it.
🔄 Check your understanding
- In the null-move test, what does a threat size of 7.6 win-% points before 24.Ba7 mean, and why is it "modest"?
- Why is opening a second front (31.f5) the natural follow-up to a queenside squeeze?
- Stockfish preferred 27.Bd1 to Karpov's 27.Bb1. Why didn't it matter?
Answer
- If White could pass, Black's best move (...Rxa2) would improve Black's win chance by 7.6 points: a real but small gain — trading a pair of rooks eases Black's cramp, it does not win material. Below the 10-point threshold, it is a wish rather than a threat.
- Black's pieces were arranged to defend the queenside (b5, the a-file). A cramped defender cannot regroup quickly, so a second target on the other wing overloads the defence.
- Restriction is forgiving: Black had no active plan with which to punish a slower move. A small loss of precision costs little when the opponent has nothing to do.
7.5 Restriction taken to the end: the "Immortal Zugzwang Game"
Go back to Saemisch–Nimzowitsch. After 22.Qg5 Raf8 23.Kh1 R8f5 24.Qe3 Bd3 25.Rce1, Nimzowitsch played the quiet 25...h6 — and Saemisch resigned. The game is widely known as the "Immortal Zugzwang Game", because the story is that White, to move, has no move that does not make things worse.

♟️ Position: White Kh1, Qe3, Re1, Rg1, Bd2, Bg2, Nb1, pawns a2 b2 g3 h3 d4; Black Kg8, Qd7, Rf2, Rf5, Bd3, Bd6, pawns b4 e4 d5 a6 e6 h6 g7 — White to move. FEN:
6k1/3q2p1/p2bp2p/3p1r2/1p1Pp3/3bQ1PP/PP1B1rB1/1N2R1RK w - - 0 26📐 Definition — Zugzwang. A position in which the side to move would be better off if it could pass: every legal move worsens its position. (German: "compulsion to move".) In strict zugzwang the obligation to move is itself the decisive disadvantage. The engine test is direct: compare the best real move with a null move. Function:
zugzwang_test()inoutpost/prophylaxis.py.
This is exactly the kind of position where the null move is the right instrument — not to find the opponent's threat, but to ask whether moving is the problem. We asked Stockfish 19 to evaluate every one of White's 27 legal moves (MultiPV 27 at depth 18) and compared them with a pass:
Final position after 25...h6, White to move, 27 legal moves: 6k1/3q2p1/p2bp2p/3p1r2/1p1Pp3/3bQ1PP/PP1B1rB1/1N2R1RK w - - 0 26
pass (null move) at depth 18: -7.71 -> White win % 5.5
best real move Bc1: -6.57 -> White win % 8.2; the gap = -2.6 win-% points
a3 -6.33 line a3 a5 Bc1 Bxb1
Bc1 -6.66 line Bc1 Bxb1 Rgf1 Qf7
Bc3 -7.47 line Bc3 Qf7 Nd2 bxc3
...
Qe2 -10.00 line Qe2 Bxe2 Be3 Qb5
Bxe4 -10.00 line Bxe4 Bxe4+ Rg2 Rxg2
depth 24 check: best Bc1 -6.70; pass -7.59
moves scoring worse than a pass: 21 of 27; moves evaluated at the -10.00 clip (mate or ten pawns down): 8

📊 Figure (described): Each bar is one legal White move in the final position, scored by Stockfish 19 at depth 18 as White's win % after the move (a mate counts as 2.5%). The orange line is White's win % if White could pass (5.5%). Six moves (a3, Bc1, Bc3, Bxb4, b3, h4) score at or above the line; 21 score below it, and eight of them lose at once. White is lost whatever it does — and most of its moves make it worse.
🤖 Engine check: Here the engine corrects the legend, gently. By the strict definition, this is not quite zugzwang for Stockfish 19: a pass scores −7.71 at depth 18 (−7.59 at depth 24), while the best real moves, 26.a3 and 26.Bc1, score about −6.3 to −6.7. White would not gain by passing — White is simply lost, because Black is a piece down for two pawns but owns the whole board. What is true, and what made the game famous, is the restriction: 21 of White's 27 legal moves are worse than doing nothing, and 8 of them lose immediately — in the engine's lines, four queen moves simply give the queen away (26.Qxh6 gxh6, 26.Qg5 hxg5, 26.Qf3 exf3, 26.Qxe4 dxe4), and 26.Bxe4 Bxe4+, 26.Bf3 R5xf3, 26.Re2 Rxe2 and 26.Qe2 Bxe2 shed material just as fast; the knight's only moves, to a3 and c3, walk into the b4-pawn. Humans call that "zugzwang" loosely — "every move hurts" — and in a practical sense it is: the few moves that don't lose at once give nothing back. Nimzowitsch's restriction was so complete that the distinction between lost and in zugzwang became academic. A century later, the engine lets us draw the distinction precisely.
The learning point for your own games is not the word, it is the method. Nimzowitsch spent moves 17–25 on three things: removing White's freeing break (...b4), occupying the squares White's pieces needed (...Bd3, the rooks on the f-file), and then making a waiting move when White had nothing to do. That last step — when your opponent has no plan, you don't need to hurry — is one of the most underrated ideas in chess. Karpov did something similar on moves 37–40 against Unzicker: while Black could only shuffle the king between f8 and g8, White calmly doubled rooks on the a-file and rerouted a knight via g4 to e3 before striking with 41.Bxf7+.
⚠️ Common pitfall: rushing the win. Players who have restricted their opponent often feel they must "do something" — sacrifice, open a file, force matters. If the opponent has no useful moves, the pressure works for you every move you keep it on. Ask the null-move question from the opponent's side: if they could pass, would they want to? If the answer is yes, every quiet improving move of yours tightens the coil. Calculation can wait until it is needed.
📋 Try it — Engine analysis. Pick a position from one of your own games where you felt your opponent was "stuck". Run
px.zugzwang_test(board, depth=18)andpx.restriction_profile(game)(code incode/project_checkpoint.py). Was the opponent truly in zugzwang (pass better than every move) or just restricted (many moves worse than a pass)? How did their safe mobility change over the previous ten moves?
What to look for
A true zugzwang shows a positive
gap— the mover's win % after a pass exceeds the win % after the best move — and is common in pawn and minor-piece endgames (Chapter 15). In the middlegame you will usually find restriction instead: a negative gap but a falling safe-mobility count, as in both games of this chapter. If the opponent's safe mobility fell steadily while the eval rose slowly, you were squeezing; if both stayed flat, the "stuck" feeling was probably mutual.🔄 Check your understanding
- State the engine test for zugzwang.
- By that test, was the final position of Saemisch–Nimzowitsch zugzwang? What was it?
Answer
- Compare the side to move's best real move with a null move: if the pass scores better than every legal move, the position is zugzwang.
- Not strictly: a pass scored −7.71 (depth 18), worse than 26.a3 or 26.Bc1 (about −6.3 to −6.7). It was total restriction — 21 of 27 legal moves were worse than a pass and 8 lost at once — in a position that was lost anyway.
7.6 Do engines play prophylaxis? What the data says
Back at the library, Sam has a counter-argument ready.
Sam: All very nice for Nimzowitsch. But your engine doesn't do prophylaxis. It calculates. It plays the move that wins the most pawns in twenty moves. Calling that prophylaxis is flattering a calculator.
Dev: Then it should mostly play captures and checks, right? Forcing stuff.
Sam: I'd expect so.
Dev: Let's count.
Sam's position is a reasonable hypothesis, and it is testable. The book's data snapshot includes a
sample built for exactly this question: 3,800 middlegame positions, one random position per game —
400 from each of eight Lichess rating bands (balanced human blitz, rapid and classical games, bots
excluded) and 600 from FIDE-rated classical over-the-board games in the Lichess broadcast database.
Stockfish 19 analysed every position at depth 16, plus the position after the move actually played, plus
the null-move position. (The full sampling rules are in the code docstring of code/01_quiet_moves.py;
the per-position table is data/reference/quiet_moves_sample.csv.)
📐 Definition — Quiet move. A move that is not a capture, not a check and not a promotion. Castling counts as quiet. A forcing move is a capture, check or promotion. "Found best" means the move played equals Stockfish's first choice at depth 16.
Finding 1: most of the engine's best moves are quiet
group n best is quiet found best | quiet found best | forcing mistake+blunder | quiet
<1200 400 56.8% (51.9-61.5) 22.9% (17.9-28.8) 55.5% (48.0-62.7) 14.5% (10.5-19.7)
1200-1399 400 62.5% (57.7-67.1) 22.8% (18.0-28.4) 62.0% (54.0-69.4) 20.8% (16.2-26.3)
1400-1599 400 67.5% (62.8-71.9) 25.6% (20.7-31.1) 53.1% (44.5-61.4) 17.4% (13.4-22.4)
1600-1799 400 64.5% (59.7-69.0) 24.0% (19.2-29.6) 66.2% (58.1-73.5) 19.0% (14.7-24.2)
1800-1999 400 65.8% (61.0-70.2) 23.6% (18.8-29.1) 60.6% (52.2-68.4) 16.7% (12.7-21.7)
2000-2199 400 67.0% (62.2-71.4) 34.0% (28.5-39.8) 65.9% (57.5-73.4) 18.7% (14.4-23.8)
2200-2399 400 65.5% (60.7-70.0) 30.2% (24.9-36.0) 65.2% (57.0-72.7) 13.4% (9.8-18.0)
2400+ 400 64.8% (59.9-69.3) 37.1% (31.4-43.1) 63.8% (55.6-71.3) 12.0% (8.6-16.5)
OTB classical 600 68.8% (65.0-72.4) 40.0% (35.3-44.7) 69.0% (62.0-75.2) 8.5% (6.2-11.6)
all Lichess 3200 64.3% (62.6-65.9) 27.6% (25.7-29.6) 61.4% (58.6-64.2) 16.6% (15.0-18.2)
Sam's hypothesis fails. Stockfish 19's best move is quiet in 64.3% (95% interval 62.6–65.9) of the sampled Lichess middlegame positions and in 68.8% (65.0–72.4) of the OTB classical positions. Roughly two moves in three. The engine's preference for quiet moves is not a quirk of weak players' positions — the share is about the same at every Lichess band, from 56.8% below 1200 to 64.8% at 2400+.

📊 Figure (described): For each Lichess band and for OTB classical games, the share of positions in which the human played Stockfish 19's exact best move, split by whether that best move was quiet (blue) or forcing (orange), with 95% Wilson intervals. At every level the forcing best moves are found about twice as often or more. Finding quiet best moves improves with strength — from 22.9% below 1200 to 37.1% at 2400+ on Lichess and 40.0% in OTB classical — while finding forcing best moves barely changes.
Finding 2: quiet best moves are the hard ones — at every level
Look at the two "found best" columns side by side. When the engine's best move is forcing, humans find it 61.4% (58.6–64.2) of the time on Lichess and 69.0% (62.0–75.2) OTB. When it is quiet, they find it only 27.6% (25.7–29.6) and 40.0% (35.3–44.7). Most of the time humans do play a quiet move in those positions (86.6% on Lichess, 93.2% OTB, per the book's reference tables) — they just don't play the right quiet move. And the mistake-or-blunder rate (a drop of at least 10 win-% points) is higher when the best move is quiet: 16.6% (15.0–18.2) versus 12.6% (10.8–14.6) on Lichess.
This matters for how you train. Forcing moves are found by calculation, which tactical puzzles train well (Chapter 9). Quiet best moves are found by evaluation — knowing what the position needs — and the strongest single question for that is the one in this chapter. Note also where the improvement with rating lives: from below 1200 to 2400+, the found-best rate for forcing moves moves around within 53–66%, while for quiet moves it climbs from 22.9% to 37.1%. Getting stronger, in this data, looks a lot like getting better at quiet moves.

📊 Figure (described): The type of Stockfish 19's best move in the sampled positions. Captures are the largest single type (31.2% Lichess, 29.2% OTB), but the four quiet categories together dominate: piece advances (23.8% / 23.8%), pawn moves (15.8% / 19.0%), sideways piece moves (9.7% / 14.0%) and retreats (10.8% / 9.3%). Checks are rare (4.5% / 2.0%).
The retreat line deserves a second look: in about one Lichess position in nine (10.8%) the engine's best move is a piece retreat, and humans found those only 24.0% of the time. Backward moves are hard to see — they feel like a loss of time, which is exactly the feeling that makes prophylaxis hard.
⚠️ Common pitfall: quiet is not the same as prophylactic. A quiet move might be an attacking move (a rook lift, a knight heading for f5) with no preventive purpose at all. The data shows that the engine plays quiet moves most of the time; it does not show that two-thirds of its moves are prophylaxis. To get closer to prophylaxis we need the null-move test, which is Finding 3.
Finding 3: when the opponent threatens something, humans ignore it surprisingly often
Using the null-move test, about half the sampled positions contain a real threat (threat size ≥ 10 win-% points): 53.5% on Lichess and 54.3% OTB, per the book's reference tables. In those positions the mistake-or-blunder rate is 23.9% (22.0–26.0) on Lichess, against 5.0% (4.0–6.3) when there is no real threat. Threats are where games are lost.
But what did the player do about the threat? We can answer that from the engine output already stored
for each position (no new engine work: all the evaluations are cached). For each threat position,
code/02_threat_awareness.py takes the threat move T from the null-move search and checks what happened
after the move actually played:
if reply == t_uci: # T is still Stockfish's best reply after the move played
resp = "ignored"
elif tm.to_square == played.from_square: # T captured the piece that has just moved away
resp = "moved the target"
else:
resp = "stopped"
There is one important filter. The null-move test flags positions in the middle of an exchange — if the opponent has just captured and you must recapture, "passing" looks catastrophic. So we also report a quiet-situation subset: the opponent's previous move was not a capture (we replay each game to check) and the threat move T is not itself a capture. That leaves threats that are ideas — a bishop move that sets up a skewer, a knight jump, a pawn break — which is what prophylaxis is about.
positions with a real threat (threat >= 10 win-% points): 2,038 of 3,800
threat kind: {'capture': 1177, 'quiet': 772, 'check': 89}
previous move was a capture: 734
quiet situations (no recapture pending, threat move not a capture): 554
group n thr ignored (all threats) n quiet ignored (quiet sit.) M+B if ignored M+B if handled
<1200 187 16.6% (11.9-22.6) 55 27.3% (17.3-40.2) 58.1% 20.5%
1200-1399 214 21.5% (16.5-27.5) 61 36.1% (25.2-48.6) 60.9% 20.2%
1400-1599 190 15.8% (11.3-21.6) 56 25.0% (15.5-37.7) 56.7% 22.5%
1600-1799 218 16.5% (12.2-22.0) 57 29.8% (19.5-42.7) 55.6% 20.3%
1800-1999 236 15.7% (11.6-20.9) 57 21.1% (12.5-33.3) 54.1% 17.1%
2000-2199 220 14.1% (10.1-19.3) 63 22.2% (13.7-33.9) 41.9% 21.2%
2200-2399 230 15.7% (11.5-20.9) 52 25.0% (15.2-38.2) 47.2% 13.4%
2400+ 217 12.9% (9.1-18.0) 62 27.4% (17.9-39.6) 32.1% 15.3%
OTB classical 326 8.6% (6.0-12.1) 91 12.1% (6.9-20.4) 14.3% 12.1%
all Lichess 1712 16.1% (14.4-17.9) 463 26.8% (23.0-31.0) 51.6% 18.6%

📊 Figure (described): For each Lichess band and OTB classical, the share of real-threat positions (null-move threat ≥ 10 win-% points) in which the move played left the threat move as the opponent's best reply. Orange: all threat positions; purple: quiet situations only (no recapture pending, threat not a capture). Lichess players ignore 16.1% of all threats and 26.8% of quiet threats, with no clear trend across bands; OTB classical players ignore 8.6% and 12.1%. Intervals are wide for the quiet subset (about 50–90 positions per group).
Four things stand out.
- About one quiet threat in four is ignored on Lichess — 26.8% (23.0–31.0) across all bands. The quiet threats are the dangerous ones: they are the ones a player who calculates only captures and checks will never see coming. For all threats (including captures you can see) the rate is 16.1%.
- Ignoring a threat is expensive. On Lichess, when the threat was ignored the move was a mistake or blunder 51.6% of the time, against 18.6% when it was handled. The mean win-% drop was 15.6 points when ignored, 6.4 when the threat was stopped and 5.3 when the player moved the attacked piece.
- The Lichess rate barely moves with rating. The ignore rates for quiet threats sit between 21.1% and 36.1% at every band, with heavily overlapping intervals — we cannot claim a trend from about 60 positions per band. What does change with rating is the cost: at 2400+ an ignored threat was a mistake or blunder 32.1% of the time, below 1200 58.1%. Strong players ignore threats they can afford to ignore; weaker players ignore threats that hurt.
- OTB classical is different. FIDE-rated players with a long clock ignored 8.6% (6.0–12.1) of all threats and 12.1% (6.9–20.4) of quiet threats — roughly half the Lichess rates — and an ignored threat cost them less. The Lichess positions come almost entirely from fast games (2,351 blitz, 813 rapid, 36 classical). The simplest reading is that prophylactic thinking takes time, and the clock decides whether you can afford to ask the question. You can't separate time control from rating pool in this sample (Lichess and FIDE ratings are different scales, and the OTB games are classical by construction), so treat the comparison as suggestive, not as a measured effect of the clock.
🤖 Engine check: Is "ignored" a fair label when the engine itself might choose to allow the threat and do something stronger? Partly, which is why we report the cost alongside the rate. When the move played allowed the threat but the win-% drop was small, the player may have judged correctly that the threat didn't matter — the "M+B if ignored" column at 2400+ (32.1%) is consistent with strong players often doing exactly that. When the drop was large, the threat was real and missed. Depth 16 is enough to see one-move threats; for deeper plans the null-move test underestimates them, which makes these rates a floor for quiet, long-range ideas.
🔄 Check your understanding
- What share of Stockfish 19's best middlegame moves are quiet in the sampled Lichess positions, and how does that answer Sam?
- Why do we filter out positions where the previous move was a capture before measuring ignored threats?
- A player at 2400+ and a player below 1200 both ignore a quiet threat about a quarter of the time. Why is that not the same failure?
Answer
- 64.3% (62.6–65.9), n = 3,200 positions at depth 16. The engine's best move is usually not a capture or check, so "engines just calculate forcing lines" is wrong as a description of what the engine chooses, even though it finds those moves by search.
- Because mid-exchange the null-move "threat" is usually just "you must recapture" — passing lets the opponent keep their capture. Those positions would inflate the threat count without being about plans.
- The cost differs: an ignored threat was a mistake or blunder 32.1% of the time at 2400+ but 58.1% below 1200. Strong players more often allow threats that don't matter; weaker players allow threats that do.
7.7 From Petrosian to Gukesh: prophylaxis in the modern game
Petrosian: the king steps out before the pin bites
Petrosian's reputation rests on moves like this one, from Shamkovich–Petrosian, Moscow 1966 (master_games game_id 81254, a Sicilian Kan, ECO B43). After a sharp middlegame, White has just played 29.Bd5 and Black has taken on f2 with check (29...Qxf2+ 30.Kh1).

♟️ Position: White Kh1, Qd3, Ra1, Bd5, pawns g3 h3; Black Kg8, Qf2, Rf7, Rb8, pawns a6 g7 h7 — Black to move. FEN:
1r4k1/5rpp/p7/3B4/8/3Q2PP/5q2/R6K b - - 1 30
Black is the exchange and a pawn up on material, and his queen sits on f2, deep in White's camp — yet the engine calls the position level. The natural instinct is to look for more: a check, another pawn, an attack on the king. Petrosian looked at White's idea first. The d5-bishop pins the f7-rook to the king on g8; if Black does nothing, Rf1 attacks the queen, and the f-file pin means the rook on f7 cannot defend it. The null-move test agrees: if Black passes, White plays Rf1, and the evaluation goes from −0.13 to +6.04 at depth 16 (0.00 to +5.65 at depth 22) — a threat of 41.4 win-% points (38.9 at depth 22).
Petrosian played 30...Kh8, stepping off the diagonal. The pin is gone, and after 30...Kh8 the move Rf1 would cost White 46.92 win-% points. Stockfish 19 at depth 20 lists 30...Kh8, 30...Kf8 and 30...Rb2 as equally good (0.00 each) — three different ways to defuse the same threat — and the game continued 31.Bxf7 Qxf7 32.Rxa6, with Black giving back the exchange and later winning the game. The move is unspectacular; the thinking behind it is the whole chapter. Petrosian did not wait to be pinned and attacked. He saw the pin as the foundation of White's only real idea and removed the foundation.
🤖 Engine check: All three of Stockfish's top moves at depth 20 are quiet, and all three make Rf1 pointless (penalties around 47 win-% points). The engine has no concept of "prophylaxis"; it simply finds two ways to kill Rf1 — break the pin with the king (...Kh8, ...Kf8) or give the queen a defender along the second rank (...Rb2). When the engine's top choices are a set of quiet moves that all answer the same opponent idea, that idea is the key to the position — a good habit for reading any engine output.
Gukesh: prophylaxis by counter-attack
World Champion Gukesh D (champion since December 2024 — at the time of writing; check current sources) beat Vladimir Fedoseev at the Tata Steel Chess Masters 2026 (round 8, January 2026; FIDE 2705 vs 2754 in the broadcast headers) in a Nimzo-Indian (ECO E34). The full game is Case Study 1; here is the critical moment.

♟️ Position: White Kg1, Qc2, Rb1, Rf1, Bd2, Be2, Nc3, Ng3, pawns g2 h2 a3 f3 b4 d4 e4; Black Kg8, Qd8, Rc8, Re8, Bb7, Bg7, Nf6, Nd7, pawns d5 b6 c6 g6 a7 f7 h7 — Black to move. FEN:
2rqr1k1/pb1n1pbp/1pp2np1/3p4/1P1PP3/P1N2PN1/2QBB1PP/1R3RK1 b - - 0 18
White has built a big centre with f3 and e4 and is threatening e5, kicking the f6-knight and grabbing space: if Black passed, e5 would swing the evaluation from −1.00 to +1.73 at depth 16 (−0.44 to +2.03 at depth 22) — a threat of 24.5 win-% points (21.9 at depth 22). The classical prophylactic answer would be to stop e5 directly — more pieces on e5, or ...dxe4 to remove the e4-pawn. Gukesh chose a different kind of prevention: 18...c5!, hitting the d4-pawn so that White's centre is under attack before e5 can be played. Stockfish 19 puts 18...c5 first at depth 20 (−0.39), ahead of 18...Nh5 (0.00) and 18...dxe4 (+0.07), and after 18...c5 the advance e5 would cost White 31.33 win-% points.
The game went 19.bxc5 bxc5 20.e5 cxd4 21.exf6 dxc3 — White played e5 after all and won the f6-knight, but Black's c-pawn ran through to c3. The dust has not settled: White's pawn on f6 attacks the g7-bishop, Black's pawn on c3 attacks the d2-bishop, and Black is a pawn up in the material count.

♟️ Position: White Kg1, Qc2, Rb1, Rf1, Bd2, Be2, Ng3, pawns g2 h2 a3 f3 f6; Black Kg8, Qd8, Rc8, Re8, Bb7, Bg7, Nd7, pawns c3 d5 g6 a7 f7 h7 — White to move. FEN:
2rqr1k1/pb1n1pbp/5Pp1/3p4/8/P1p2PN1/2QBB1PP/1R3RK1 w - - 0 22
Stockfish 19 scores this −1.04 at depth 20 — Black is better. This is prophylaxis in its modern, dynamic form: you don't have to make the opponent's plan impossible; you can make it too slow or too expensive, by creating a counter-threat that arrives first. It is the same logic as attacking a pawn chain at its base, which you met in Chapter 2: strike at the pawn that supports the advance.
Is Petrosian measurably "more prophylactic"? A cautionary count
It is tempting to turn the scanner loose on great players and rank them by prophylaxis. We did a small
version: the winner's moves 11–45 in 60 decisive games — 24 Petrosian wins from 1953–75, 24 classical
broadcast games of 2025–26 between players both rated 2700+ (FIDE), and 12 from 2025–26 women's events
with both players rated 2450+ (FIDE) — scanned at depth 16 (code/07_modern_prophylaxis.py, seed 7).
scanned 60 games, 1,684 winner's moves (plies 21-90), Stockfish 19 depth 16
games moves quiet threat_positions prophylactic lo hi ignored_when_threatened n_thr
2025-26 elite (both 2700+) 24 699 70.4 59.5 17.9 15.2 20.9 11.5 416
2025-26 women (both 2450+) 12 375 68.5 60.0 16.5 13.1 20.6 11.1 225
Petrosian 1953-75 24 610 70.2 56.2 15.6 12.9 18.7 10.2 343

📊 Figure (described): The share of the winners' moves (moves 11–45) that meet the book's operational definition of a prophylactic move, for 24 Petrosian wins, 24 decisive 2700+ games and 12 decisive games from 2025–26 women's events, with 95% Wilson intervals. All three groups sit between about 15% and 18% and the intervals overlap heavily: this crude count does not separate Petrosian from today's elite.
The honest result is a null result. About one move in six meets the definition in all three groups (15.6% for Petrosian, 17.9% for the 2700+ games, 16.5% for the women's games), and the intervals overlap almost completely. Winners at this level also ignore a real threat only about one time in ten. Three reasons not to over-read this:
- The definition is crude. It catches one-move threat prevention, not Petrosian's speciality — prevention of plans five moves before they become threats (which the one-move null test cannot see).
- Selection. These are wins, against different opponents in different eras; Petrosian's wins come from many kinds of events and opponents, while the modern games are all between players rated 2700+.
- Engine-era chess is prophylactic by default. Modern elite players train with engines whose best moves, as 7.6 showed, are mostly quiet. A style that was distinctive in 1960 may simply be normal now.
The data does not refute Petrosian's reputation; it shows that one-move statistics are the wrong instrument to measure it. That is a theme of this book: measure what you can, and say clearly what your measure cannot see. Exercise E1 asks you to try a better design.
🔄 Check your understanding
- Why was 30...Kh8 a prophylactic move rather than a defensive one?
- What is "prophylaxis by counter-attack", and how did 18...c5 illustrate it?
- Give one reason the scanner's count cannot capture Petrosian's style.
Answer
- Nothing was attacked yet. Black's queen and rook were safe at that moment; the king move removed the pin that White's only real idea (Rf1) depended on, one move before it could be used.
- Instead of blocking the opponent's plan directly, you create a counter-threat that arrives first, making the plan too slow or too costly. 18...c5 attacked White's d4-pawn — the base of the centre — so that e5 cost White his central pawns and gave Black the better game (−1.04 at depth 20 after 21...dxc3).
- The null-move test sees only what the opponent could do with one free move; Petrosian prevented long-term plans (breaks, manoeuvres) many moves before they turned into one-move threats.
7.8 Building the habit: prophylactic thinking at your level
Everything in this chapter collapses into one habit. Before every move that matters, ask:
- What does my opponent want? Imagine it is their move. What would they play — the threat, the break, the manoeuvre? (This is the null-move question, done in your head.)
- What changed with their last move? Which squares, files and diagonals did it open or attack? What new move does it make possible next turn?
- What does my candidate move do about it? Does it stop the idea, make it harmless, or ignore it? If it ignores it, is my own idea faster or bigger?
Coaches teach versions of this as the blunder check; Nimzowitsch's version was broader — not only "what does my opponent threaten?" but "what does my opponent's position want to do?". The three questions above cover both. They take ten seconds. You do not need them on every move — in a forced recapture or a clear tactical sequence they are automatic — but you need them every time you are about to play a quiet move, because quiet moves are where 7.6 says the damage happens.
What it means at different levels
At 1200 (Lichess or club level), prophylaxis is almost entirely threat prevention. The threats you miss are one-move ideas: a knight fork, a skewer along a diagonal like the hook's Ba3, a bishop pinning your knight to your queen. In our sample, Lichess players at 1200–1399 left a quiet threat as the opponent's best reply 36.1% of the time (25.2–48.6; n = 61) — the highest point estimate of any band, though the interval is wide — and when they did, the move was a mistake or blunder 60.9% of the time. The single most valuable thing you can do is the three-question check before every non-forcing move. It is not glamorous, and it is worth more than any opening.
At 1600–1800 (Dev's level), the threats you miss are a little deeper — two-move ideas, the knight jump in the Ne5 example of 7.2 — and you start to meet plans: the opponent's pawn break, a knight heading for an outpost. This is the level at which to start asking "what does their pawn structure want to do?" (your Chapter 2 structure knowledge is the map) and to practise prophylactic moves that also improve your own pieces.
At 2000 and above (where Grace, at FIDE ~1850, is heading), prophylaxis becomes plan prevention and restriction: Karpov's 24.Ba7, Nimzowitsch's ...b4. Strong players have stopped hanging pieces; their games are decided by which side's plan works. In our OTB classical sample, FIDE-rated players ignored only 8.6% of all threats, and finding the engine's quiet best move rose to 40.0%. The skill that separates 2000 from 2300 in this book's data is quiet-move quality, and prophylactic thinking is the engine of it.
⚠️ Common pitfall: paralysis. Asking "what does my opponent want?" can turn into seeing ghosts everywhere and playing only defensive moves. Two guards against it. First, size the threat: a threat worth 3 win-% points (a wish) is not a threat worth 25 (a skewer). Second, compare speeds: if your own plan is faster than theirs, the best prophylaxis is often to carry it out. In our sample about half the positions had no real threat at all — in those, play your own plan.
Dev plays mostly blitz, where ten seconds a move is a lot. His compromise, which you can copy: use the full three-question check at three moments — when the opponent's last move was quiet (quiet moves often carry a hidden idea), when you are about to play a quiet move yourself, and when the position has just changed character (a capture sequence ended, a file opened). Skip it during forced sequences. That captures most of the danger for a fraction of the time.
Grace plays classical OTB tournaments, where the clock allows the full process. Her habit is a spoken-to-herself version: before each critical move she says one line in her head — "he wants ...f5; my move stops it / doesn't" — and only then calculates. The same three questions, at the pace of a slower game.
📋 Try it — Build the plan. Go back to the Karpov–Unzicker position before 31.f5 (Step 5 of 7.4). Black to move would like to play what? Use the null-move idea: imagine White passes. Then explain in one sentence why 31.f5 is both a plan and a piece of prophylaxis.
Answer
If White passed, Black's best move by the null-move test is 31...Nf7 (engine line Nf7 Ra5 Bd7 Bb6), regrouping the d8-knight towards the kingside — a modest idea, 7.4 win-% points at depth 18. 31.f5 gains kingside space (a second front — White's plan) and attacks g6, so Black must either exchange on f5, opening lines towards his own king, or close the kingside with ...g5, which buries the g7-bishop behind the f6 and g5 pawns (prophylaxis — Black's kingside pieces lose their future). Black chose 31...g5. Stockfish 19 ranks 31.f5 first: +1.62 at depth 18, +1.86 at depth 24; after 31...g5 the evaluation reaches +3.70 (depth 16).
🔄 Check your understanding
- State the three questions of the prophylactic blunder check.
- At 1200, which kind of prophylaxis matters most, and why?
- When is the best prophylaxis to ignore the opponent's idea and play your own plan?
Answer
- What does my opponent want? What changed with their last move? What does my candidate move do about it?
- Threat prevention — the decisive errors at that level are missed one- and two-move ideas, and an ignored threat was a mistake or blunder in a majority of cases in every Lichess band below 2000.
- When the opponent's idea is small (a few win-% points) or slower than yours, or when there is no real threat at all — about half of the sampled positions.
Spaced Review
Before reading the answers, try each question cold.
- (From Chapter 2) In the Carlsbad structure, White's minority attack aims at Black's queenside. What is the matching prophylactic question Black should ask — and what kind of move answers it?
- (From Chapter 3) "Trade your bad pieces, keep your good ones." How does Karpov's 24.Ba7 turn that principle upside down for the opponent?
- (From Chapter 5) A space advantage gives you more squares. Why does a space advantage make restriction easier?
Answers
- Black should ask what White's queenside pawns want — b4–b5 to create a weakness on c6 — and consider moves that make b5 harmless or answer it with counterplay elsewhere. The structure tells both sides the plan; prophylaxis is reading the other side's line on the map.
- Chapter 3's principle is about improving your own piece quality. Restriction lowers the quality of the opponent's pieces without trading them: Black's rooks on a8 and c8 were nominally "good" pieces on an open file, and the bishop on a7 made them bad pieces without a single exchange.
- Restriction means taking squares away from the opponent's pieces. With more space you have more room to manoeuvre behind your pawns while the opponent's pieces get in each other's way — exactly the pattern in the Karpov–Unzicker mobility chart, where White's safe moves rose as Black's fell.
Project Checkpoint: prophylaxis.py
Dev's Outpost package gets its seventh module this chapter: project/outpost/prophylaxis.py, the
"what does my opponent want?" tool. It wraps the book's cached Stockfish 19 (toolkit/engine.py) and the
standard win-% model (toolkit/chessdata.py). Its public functions:
| Function | What it returns |
|---|---|
pass_turn(board) |
the position after a null move (None if in check) |
threat(board, depth=16) |
a Threat: the opponent's best move if you passed, its line, the threat size in win-% points |
explain(board, depth=16) |
the plain-English answer, with the 10-point "real threat" threshold |
plan_penalty(board, move, threat_uci) |
after your move, is the threat impossible, still best, discouraged or still playable? |
candidates(board, depth, multipv) |
Stockfish's top moves, each tagged quiet/forcing and with the threat's fate |
scan_game(game, side, depth) |
one row per move: threat before, move played, response (ignored / moved the target / stopped), the prophylactic flag |
safe_mobility(board, color), restricted_pieces(board, color) |
the restriction counts of 7.4 |
restriction_profile(game) |
mobility, safe mobility and restricted-piece counts for both sides, ply by ply (no engine) |
zugzwang_test(board, depth) |
best real move vs a pass, and the gap |
The prophylactic flag in scan_game() is the book's operational definition: the opponent threatened
at least 10 win-% points, the move played was quiet, it cost less than 5 win-% points, and afterwards the
threat move was no longer the opponent's best reply — without simply moving away the piece the threat
would have captured. That last clause matters: dodging an attack is not prophylaxis.
The demo, code/project_checkpoint.py, runs the scanner over Nimzowitsch's moves 15–25 in the 1923 game:
move_no san quiet threat_move threat_kind threat_size wp_drop response prophylactic
15 Nh5 True Nb1 quiet 4.80 0.00 stopped False
16 f5 True e4 quiet 9.01 9.65 stopped False
17 b4 True e4 quiet 12.45 0.00 stopped True
18 Bb5 True e4 quiet 6.51 0.00 stopped False
19 Bd6 True a3 quiet 0.54 1.16 stopped False
20 fxe4 False e5 quiet 61.17 0.00 stopped False
21 Rxf2 False Be3 quiet 43.87 0.00 stopped False
22 Raf8 True Be3 quiet 8.77 0.00 stopped False
23 R8f5 True Qh4 quiet 8.52 0.00 ignored False
24 Bd3 True Qb3 quiet 18.43 3.70 stopped True
25 h6 True a3 quiet 3.37 0.00 ignored False
The scanner picks out 17...b4 — the move 7.3 analysed by hand — as prophylactic (e4 threatened 12.45 points at depth 16; ...b4 cost nothing; e4 stopped being White's best reply), and also 24...Bd3, which plants the bishop on d3 — hitting the b1-knight and controlling e2 and f1 — at the moment White threatened Qb3. Note how it handles 20...fxe4 and 21...Rxf2: big "threats" (61.17, 43.87) in the middle of the sacrificial sequence, correctly not flagged, because the responses were captures. And 23...R8f5 is marked "ignored" — Black allowed Qh4 because Black's own attack was faster. The tool flags; you judge.
The same demo prints the restriction profile of Karpov–Unzicker (no engine needed, so it runs in a second): Black's safe mobility falls from 17.2 (plies 20–30) to 6.4 (plies 70–87).
How it plugs in later. The module is built to be reused. The one-page position assessment of
Chapter 8 needs an "opponent's plan" line, which is exactly
what threat() returns; a calculation tree
(Chapter 10) can start from the
opponent's threat as well as your own candidates; and a game review
(Chapter 26) can run
scan_game() to list every move where you ignored a real threat — usually the most humbling page of a
review, and the most useful.
💻 Developer note. Every engine call goes through the toolkit's SQLite cache, so the first scan of a game costs about three depth-16 searches per move and every rerun is nearly free. The null-move position is rebuilt from its FEN before it is sent to Stockfish because the UCI protocol cannot transmit a "pass" in a move list.
Chapter Summary
| Principle | What it means at the board | Evidence in this chapter |
|---|---|---|
| Ask what the opponent wants | Imagine it is their move; their best move is the threat | Null-move test; hook position: Ba3, threat 25.9 win-% points (depth 16) |
| Prevent the foundation, not the symptom | Remove the piece or pawn a plan depends on | 17...b4 vs e2–e4 (Saemisch–Nimzowitsch 1923); 30...Kh8 vs the pin (Shamkovich–Petrosian 1966) |
| The best prophylactic moves do two jobs | Prevent and improve | ...b4 also gained space and opened the a6–f1 diagonal; 24.Ba7 also blocked the a-file for good |
| Restriction wins without tactics | Take squares and breaks until the opponent has no useful moves | Karpov–Unzicker 1974: Black's safe mobility 17.2 → 6.4; Black's accuracy still 92.6 |
| Open a second front | A defender arranged for one wing cannot hold the other | 31.f5 ranked first by Stockfish 19 (+1.62 depth 18, +1.86 depth 24) |
| Zugzwang vs restriction | Zugzwang = a pass would be better; restriction = most moves are worse than a pass | Final position 1923: pass −7.71, best move about −6.3 to −6.7; 21 of 27 moves worse than a pass |
| Counter-attack can be prophylaxis | Make the opponent's plan too slow or too costly | 18...c5 vs e5 (Fedoseev–Gukesh 2026) |
| Engines play quiet moves | Two-thirds of best middlegame moves are quiet | 64.3% Lichess (n = 3,200), 68.8% OTB classical (n = 600), depth 16 |
| Quiet best moves are the hard ones | Humans find forcing best moves about twice as often | Found best 27.6% vs 61.4% (Lichess); 40.0% vs 69.0% (OTB) |
| Quiet threats get ignored | About one in four on Lichess | 26.8% (23.0–31.0) Lichess vs 12.1% (6.9–20.4) OTB classical; ignored → mistake/blunder 51.6% (Lichess) |
Decision checklist (before every quiet move):
- What would my opponent play if it were their move? How big is it — a wish (a few points) or a threat?
- What did their last move change — which lines, squares, breaks does it prepare?
- Does my candidate move stop the idea, make it harmless, or ignore it? If it ignores it, is my plan faster?
- Can my prevention also improve a piece? Prefer the move that does both.
- If the opponent has no useful moves, don't hurry: keep improving and tighten the restriction.
What's Next
You now have all six strategic lenses of Part I — structure, activity, king safety, space, material and
the opponent's plan. Chapter 8 puts them together into a
single evaluation-and-planning process, applied move by move to complete games, and Outpost's
planner.py will combine the modules you have built so far — including this chapter's threat finder —
into a one-page assessment of any position.
