Thursday night, Hartwell public library. Lena Ortiz drops into the chair across from the narrator's
In This Chapter
- 19.1 Time Is the Opening's Currency
- 19.2 Development: Every Move a New Piece
- 19.3 The Centre in the Opening: What the Twenty First Moves Say
- 19.4 King Safety: Castle Before the Centre Opens
- 19.5 The Queen: Strong, Therefore Chased
- 19.6 Moving a Piece Twice, Flank Pawns and Other Tempo Leaks
- 19.7 When Breaking a Principle Is Right
- 19.8 The Audit at Scale: 48,000 Openings, Rated by the Engine
- 19.9 Principles Against Memorised Lines
- 19.10 The Principles at Different Levels
- Spaced Review
- Project Checkpoint: opening_principles.py
- Chapter Summary
- What's Next
Chapter 19 — Opening Principles: Why Development, Center Control, and King Safety Matter More Than Memorized Lines
Thursday night, Hartwell public library. Lena Ortiz drops into the chair across from the narrator's demonstration board and sets up the position after three moves.
Lena: Same guy, third week running. 1.e4 e5 2.Qh5. Every coach on the internet says that's a beginner's move. He beat me again.
Sam: We used to call it the "Patzer opening". You develop with gain of time and he's lost.
Lena: I did develop. Then I hung my e-pawn to his queen. Then I panicked about f7.
Dev: For what it's worth, I checked. On Lichess it scores fine for White at our level.
Dev is right, and that is the uncomfortable place to start a chapter about opening principles.

♟️ Position: White Ke1, Qh5, Ra1, Rh1, Bc1, Bf1, Nb1, Ng1, a2, b2, c2, d2, e4, f2, g2, h2; Black Ke8, Qd8, Ra8, Rh8, Bc8, Bf8, Nb8, Ng8, a7, b7, c7, d7, e5, f7, g7, h7 — Black to move. FEN:
rnbqkbnr/pppp1ppp/8/4p2Q/4P3/8/PPPP1PPP/RNB1KBNR b KQkq - 1 2
The queen on h5 attacks two things at once: the e5-pawn, which nothing defends, and f7, which only the king defends. That is the whole idea, and it is a real idea — two threats in one move. It also breaks two of the oldest rules in chess: develop the minor pieces first and don't bring the queen out early.
Here is what our Lichess sample (4 million rated games, October 2026) says about it. Among balanced games (the two ratings within 100 points of each other) between humans, the Lichess opening classifier labels 14,452 games "Wayward Queen Attack". Below 1200, they are 1.81% of all games, and White scores 52.9% with it (95% interval 51.8–54.0, n = 8,391) — slightly more than White's 51.7% in all balanced games below 1200. From 1200 to 1999 the picture is the same: 53.0%, 51.0%, 55.1%, 55.4% against a band baseline of about 51.5%. Above 2000 the move almost disappears: 75 games at 2000–2199, 16 at 2200–2399, 20 at 2400+ (0.03% of games in the top band).
Now ask Stockfish 19. After 1.e4 e5, the developing move 2.Nf3 leaves White +0.25 (Stockfish 19, depth 20). After 2.Qh5 the evaluation is −0.27 (depth 20) — White has handed over the first-move advantage and a bit more, roughly half a pawn of value spent on one move.
So the engine says the rule is right and the scoreboard at club level says it doesn't matter. Both are measurements. Both are true. This chapter is about why — and the answer is the most useful thing you can learn about openings: a principle is a statement about the position, not about the result. The position after 2.Qh5 is worse for White. Whether that costs White anything depends on whether Black knows why it is worse, and how to collect.
By the end of the chapter you will be able to re-derive the four classical opening principles — develop, take the centre, castle, keep the queen home — from the geometry of the board; you will know what each one is worth in engine terms and in results, at your rating; you will know the famous exceptions and why they are exceptions; and you will have an audit tool in Outpost that tags every one of your first ten moves and tells you which ones spent time you could not afford.
♟️ Improver Track: Read 19.1–19.5 with a board open in your head, do every 📋 Try it, and use the audit card in the Chapter Summary on your next five games. Skip the code blocks; the prose and diagrams carry the argument.
📊 Analyst Track: The heart of the chapter is the 48,000-game study in 19.8 (what each kind of opening move costs, by rating band) and its caveats. Compare it with the castling tables in Chapter 4 on castling.
💻 Developer Track:
outpost/opening_principles.pyis a small rules engine over python-chess. Read the module in the Project Checkpoint first, then runcode/02_principle_costs.pyand extend the move categories (Exercise C4).
19.1 Time Is the Opening's Currency
The principle
In the opening, time — measured in moves, or tempi — is the scarcest resource. Each side gets one move per turn. A move that makes a new piece useful buys something permanent; a move that re-does or undoes an earlier move buys nothing. The four classical principles are four ways of saying the same thing: spend your first moves on moves that stay useful.
📐 Definition — tempo: one move's worth of time. "Gaining a tempo" means making a useful move that also forces the opponent to spend a move on something they did not want to do (typically, moving an attacked piece). "Losing a tempo" means spending a move that leaves your position no better than if you had passed.
📐 Definition — development count (book definition): the number of a side's knights and bishops that are no longer on their own back rank, plus one if the side has castled (0 to 5). It is the same measure used in this book's data tables on development leads, and the one Outpost's audit reports.
The reasoning: what a piece can do from home
Start with something you can count. In the starting position, the g1-knight attacks three squares (e2, f3, h3), two of which are occupied by its own pawns. Put it on f3 and it attacks eight. The bishops are worse off at home: the f1-bishop attacks two squares, both blocked by its own pawns; open the e-pawn and put it on c4 and it attacks ten. Our first script does the counting:
1. Squares attacked from the home square vs a developing square (start position otherwise)
Ng1 attacks 3 squares; on f3 it attacks 8
Nb1 attacks 3 squares; on c3 it attacks 8
Ng1 attacks 3 squares; on h3 it attacks 4
Bf1 attacks 2 squares; on c4 it attacks 10
Bc1 attacks 2 squares; on f4 it attacks 10
Qd1 attacks 5 squares; on h5 it attacks 18
Two things jump out. First, where a piece develops matters as much as whether: the knight on h3 reaches four squares, the knight on f3 eight — "knights on the rim are dim" is a counting fact. Second, look at the last line. The queen on h5 attacks 18 squares, more than any minor piece. That is precisely why beginners love it — and, as we will see in 19.5, precisely why it is so easy to chase.

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc1, Bf1, Nb1, Nf3, a2, b2, c2, d2, e4, f2, g2, h2; Black Ke8, Qd8, Ra8, Rh8, Bc8, Bf8, Nb8, Ng8, a7, b7, c7, d7, e5, f7, g7, h7 — Black to move. FEN:
rnbqkbnr/pppp1ppp/8/4p3/4P3/5N2/PPPP1PPP/RNBQKB1R b KQkq - 1 2
The ideal developing move does two jobs. 2.Nf3 brings out a piece and attacks e5, so Black must spend the next move defending it (2...Nc6, itself a developing move) — and both sides are a piece further on. Compare 2.Qh5, which also attacks e5 but develops nothing that will stay: the queen will have to move again as soon as a black minor piece arrives with a threat.
What a tempo is worth: the engine's answer
Can we put a number on one move? A clean way is to ask Stockfish to evaluate the same position twice — once with the correct side to move, and once as if that side had passed. The difference is the value of the move-right, a tempo.
3. The value of a tempo (Stockfish 19, depth 20, White POV)
start position : White to move +0.30; if White passes -0.34; tempo worth 0.64 pawns
after 1.e4 e5 : White to move +0.24; if White passes -0.35; tempo worth 0.59 pawns
after 1.d4 d5 2.c4 e6 3.Nc3 Nf6 : White to move +0.25; if White passes -0.08; tempo worth 0.33 pawns
🤖 Engine check: In the start position Stockfish 19 rates White +0.30 (depth 20); give the move to Black instead and it reads −0.34. One tempo is worth about 0.64 pawns there, and 0.59 after 1.e4 e5. In the closed Queen's Gambit Declined position after 3...Nf6 it is worth only 0.33. Why the difference? In open positions (1.e4 e5) every tempo can become an attack on something — f7, e5, an uncastled king — and the side to move converts time into threats. In the closed QGD the centre is locked by pawns on d4/d5 and e6; there are fewer targets, so an extra move buys development but no immediate pressure. Remember this pattern: tempo matters most when the position is open. It explains half the exceptions in 19.7.
A practical translation: in an open game, wasting two tempi is like giving away a pawn. That is not a law — our measurements are three positions, not a theorem — but it is a good feel for the scale. The first-move advantage itself is "only" +0.30; two wasted moves are worth roughly four times that.
What development leads are worth in real games
The engine's pass test is a thought experiment. Real games give the same answer at scale. The book's data tables measure the development count of both sides after move 12 in every OTB broadcast game and a large Lichess sample:
| Development lead for White after move 12 | OTB broadcast: White score | OTB: mean eval | Lichess balanced: White score | Lichess: mean eval |
|---|---|---|---|---|
| ≤ −3 | 48.0% (n = 1,199) | −30 cp | 45.4% (n = 11,521) | −231 cp |
| 0 (equal) | 53.0% (n = 128,983) | +37 cp | 51.2% (n = 242,848) | +67 cp |
| +2 | 56.6% (n = 16,867) | +83 cp | 55.0% (n = 52,611) | +237 cp |
| ≥ +3 | 59.5% (n = 1,699) | +141 cp | 57.2% (n = 13,064) | +374 cp |
Over-the-board, a development lead of three or more after move 12 goes with a White score of 59.5% against 53.0% with level development — a rating-adjusted gain of about 4.3 points (+7.0 vs +2.7). On Lichess the evaluations attached to big leads are much larger (+374 cp against +141 OTB), because club players who fall three pieces behind have usually also dropped material on the way. Big development leads are rare in master play — 0.6% of OTB games — because strong players simply do not fall that far behind.
🔍 Why this works: Development is not about "having pieces out" for its own sake. It is about options per move. A position where four of your pieces can join an attack in one move each gives you dozens of useful continuations; a position where they are still on the back rank gives you a handful, most of them slow. The opponent who is ahead in development is not playing against your army; he is playing against the part of it that can arrive in time. That is why development leads are converted by opening lines (pawn breaks, sacrifices on central pawns): open lines let the developed pieces reach the target before the undeveloped ones catch up.
A picture of what development buys
Take two 12-ply lines and count legal moves after each ply. The first is a normal Italian Game; the second is a line we constructed (and replayed through python-chess) in which White spends four of six moves on the queen and on flank pawns.
2. principled (Italian): 1.e4 e5 2.Nf3 Nc6 3.Bc4 Bc5 4.c3 Nf6 5.d3 d6 6.O-O O-O
White legal moves after ply 12: 36; Black: 37
Stockfish 19 depth 20: +0.19 (White POV), best h3
2. wandering queen + flank pawns: 1.e4 e5 2.Qh5 Nc6 3.Qf3 Nf6 4.a4 d5 5.h4 Bg4 6.Qg3 Nd4
White legal moves after ply 12: 35; Black: 47
Stockfish 19 depth 20: -3.02 (White POV), best Qxe5+

♟️ Position: White Kg1, Qd1, Ra1, Rf1, Bc1, Bc4, Nb1, Nf3, a2, b2, c3, d3, e4, f2, g2, h2; Black Kg8, Qd8, Ra8, Rf8, Bc5, Bc8, Nc6, Nf6, a7, b7, c7, d6, e5, f7, g7, h7 — White to move. FEN:
r1bq1rk1/ppp2ppp/2np1n2/2b1p3/2B1P3/2PP1N2/PP3PPP/RNBQ1RK1 w - - 2 7

♟️ Position: White Ke1, Qg3, Ra1, Rh1, Bc1, Bf1, Nb1, Ng1, a2, b2, c2, d2, e4, f2, g2, h4; Black Ke8, Qd8, Ra8, Rh8, Bf8, Bg4, Nd4, Nf6, a7, b7, c7, d5, e5, f7, g7, h7 — White to move. FEN:
r2qkb1r/ppp2ppp/5n2/3pp3/P2nP1bP/6Q1/1PPP1PP1/RNB1KBNR w KQkq - 3 7

📊 Figure (described): Legal moves available to each side after every ply of the two lines. In the Italian, both sides climb together to the mid-30s. In the wandering line, White's count stays flat while Black's climbs to 47 — Black's pieces are coming out with threats (...Bg4, ...Nd4) while White's queen keeps moving. The legal-move count is crude, but the gap after only six moves is the development lead you can see on the board.
Look at the wandering position. White's queen is on g3, its third square; the knight on d4 threatens ...Nxc2+ forking king and rook; the bishop on g4 is ready to hit the queen-side of White's position; and not one white minor piece has moved. Stockfish 19's verdict, −3.02 (depth 20), is three pawns — about five times the value of the first move. Nobody blundered anything. White simply spent six moves on things that did not stay useful, and Black spent six on things that did.
🔄 Check your understanding 1. In the pass test, why is a tempo worth more after 1.e4 e5 than in the closed Queen's Gambit Declined position? 2. Name the two jobs that 2.Nf3 does in the position above, and the one job 2.Qh5 does not do.
Answer
- After 1.e4 e5 the position is open: an extra move can immediately create threats (against e5, f7, an uncastled king). In the locked QGD centre there are few targets, so the extra move only adds a little development — Stockfish values it at 0.33 pawns there versus 0.59 after 1.e4 e5.
- 2.Nf3 develops a piece to a square where it will stay useful and attacks e5, forcing a reply. 2.Qh5 also creates threats, but it does not add a piece that will stay — the queen will have to move again when it is attacked by a lesser piece.
19.2 Development: Every Move a New Piece
The principle
In the first eight to ten moves, try to make each move bring a new piece into play — knights first, usually, because their best squares (f3, c3, f6, c6) are known in advance; bishops when the pawn moves that open their diagonals have been made. Move each piece once, to a square where it will stay.
The reasoning
Development has three parts, and players often only hear the first:
- Activity. A developed piece controls more squares (19.1's counts).
- Permanence. A piece on a good square does not need to move again; every later move can go to a different piece. Developing a knight to a square where a pawn can kick it ("development" to e5 with ...d6 possible) is not development, it is an IOU.
- Connection. Development clears the back rank so the rooks can see each other and reach open files, and so the king can castle. The opening is not over when the minor pieces are out; it is over when the rooks are connected.
The third part is why castling is part of the development count. Castling moves two pieces at once — the only move in chess that does — and it is the step that connects the rooks.
The classic example: Morphy–Anderssen, Paris 1858
Paul Morphy's match with Adolf Anderssen in Paris in 1858 is the textbook source of "develop, then attack". In one game of that match, Anderssen answered 1.e4 with 1...d5 and played the queen out at once: 1.e4 d5 2.exd5 Qxd5 3.Nc3 Qa5 4.d4 e5 5.dxe5 Qxe5+ 6.Be2 Bb4 7.Nf3 Bxc3+ 8.bxc3 Qxc3+ 9.Bd2 Qc5 10.Rb1 Nc6. After ten moves the audit reads:
White: 4 developing moves, 4 centre-pawn moves, did not castle; development count 3/5; tempo spend 1.
Black: 2 developing moves, 2 centre-pawn moves, did not castle; development count 1/5; tempo spend 3.
Flags: queen out in the first 3 moves; 1 free repeat move(s); not castled in the audited moves.

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc1, Be2, Nf3, a2, c2, f2, g2, h2; Black Ke8, Qc3, Ra8, Rh8, Bc8, Nb8, Ng8, a7, b7, c7, f7, g7, h7 — White to move. FEN:
rnb1k1nr/ppp2ppp/8/8/8/2q2N2/P1P1BPPP/R1BQK2R w KQkq - 0 9
Black's queen has made five moves — three captures (two recaptures and one extra pawn on c3), two of them with check; Black's development count after move 10 is one. The classic annotation writes itself: greedy queen, lost time, punished. And Morphy did win, beautifully.
But look at what Stockfish 19 says. Before 8...Qxc3+ the engine's first choice for Black is that very capture (+0.54, depth 20, three lines; +0.58 after it at depth 24 — White still a little better), and after 13.Bxc7 — when White has won the pawn back — the position is −0.19 (depth 24), very slightly better for Black. The engine's evaluation graph shows a level game until move 17. The full story, with the moments where Anderssen actually went wrong, is Case Study 1. Its lesson belongs here: the time Black spent did not lose the game; it made the game hard. With one piece developed, Black had to find several only-moves to stay level, and a strong opponent with five pieces out gets many chances to ask hard questions. Development principles are often less about the evaluation than about how many difficult decisions you leave yourself.
The data: which kinds of move cost what
How much does a developing move cost, compared with other kinds of opening move? We can measure it. The
script code/02_principle_costs.py takes 48,000 Lichess games that carry server evaluations (6,000 per
rating band, balanced pairings, BOTs excluded, bullet to classical), tags every one of the first ten
moves of each side with Outpost's audit, and records how many win-percentage points the mover lost
according to the evaluation that followed the move. Here is the overall table for quiet moves (not
captures, not moves out of check — 794,947 of them):
A. Quiet moves in the first 10 moves (not captures, not out of check): n = 794,947
n mean_drop mistake_rate share_%
castle 48219 2.35 5.43 6.07
develop 286377 2.37 4.38 36.02
centre pawn 192046 1.73 2.93 24.16
c/f pawn 69616 3.01 6.32 8.76
flank pawn 80834 3.78 8.70 10.17
other piece move 66649 4.87 13.81 8.38
queen move (own moves 4-10) 35969 5.41 15.07 4.52
early queen (own moves 1-3) 2947 4.41 6.28 0.37
free repeat 11866 3.74 9.92 1.49
king walk 424 10.45 40.09 0.05
📐 Definition — win-percentage drop: for each move, the mover's win percentage (the Lichess formula defined in Chapter 1 and Appendix D, applied to the evaluation, from the mover's point of view) before the move minus after it, floored at zero. A "mistake or worse" is a drop of 10 points or more. Here the evaluations are the Lichess server's (Stockfish, at the depth the server used), not our own runs.
The ordering is the principle, measured. Centre-pawn moves are the cheapest quiet moves in the opening (1.73 points on average); development and castling come next (2.37, 2.35). Flank-pawn moves cost more than twice as much as centre-pawn moves (3.78), queen moves after the first three moves cost three times as much (5.41, with 15% of them mistakes or worse), and non-castling king moves are in a class of their own (10.45 points, 40% mistakes). "Free repeats" — moving a piece again from the square it just reached, when nothing forced it — cost 3.74.

📊 Figure (described): Mean win-% points lost per quiet move in the first ten moves, by kind of move, for three rating groups. Every kind of move costs less as rating rises, but the ordering survives at every level: centre pawns, development and castling are cheap; flank pawns, late queen moves, free repeats and king walks are expensive. Below 1400 a king walk costs 16.2 points on average; above 2000 it still costs 7.4.
Two warnings before you treat this table as law. First, these are averages over the moves people chose to play. A strong player who moves a flank pawn usually has a reason (a fianchetto, a pawn storm in a known structure), and the reason is why the move is cheap at 2400+ (2.08 points). Second, the "early queen (own moves 1–3)" row is lower than the later-queen row. That is not because early queen moves are good. It is because most quiet early queen moves are book moves of a specific opening — 3...Qa5 and 3...Qd6 in the Scandinavian, where the queen has already captured on d5 — and book moves are cheap by construction. We come back to this in 19.7.
⚠️ Common pitfall: "My move was a developing move, so it was fine." Developing moves cost 2.37 points on average — more than centre-pawn moves — and 9.4% of them are mistakes or worse below 1200. Development to the wrong square (a knight that can be kicked, a bishop that blocks a pawn, a piece that walks into a pin) is still development by the count and still a mistake by the engine. The principle tells you which kind of move to look for; it does not choose the square for you.
At different levels
The same table by band shows how fast the cost of every kind of move falls as rating rises. Here are three rows of the mistake-or-worse rate (drop ≥ 10 win-% points), quiet moves only:
| Kind of move | <1200 | 1400–1599 | 1800–1999 | 2400+ |
|---|---|---|---|---|
| Centre pawn | 6.1% | 3.6% | 2.3% | 1.1% |
| Develop | 9.4% | 5.7% | 3.5% | 1.3% |
| Free repeat | 20.0% | 12.4% | 5.8% | 2.9% |
| Queen move (own moves 4–10) | 27.0% | 17.9% | 12.4% | 5.1% |
| King walk | 54.9% | 52.0% | 40.0% | 27.1% |
At 1200, one queen move in four between moves 4 and 10 is a mistake or a blunder. At 2400+, one in twenty. The kinds of move that the principles warn against are exactly the kinds where club players' errors pile up — not because the moves are illegal or always bad, but because they require calculation to be safe. A centre-pawn move or a natural development is usually safe without calculation; a queen sortie or a king walk is safe only if you have checked every reply. The principle is a calculation budget: it steers you toward moves that need less checking.
📋 Try it — Build the plan. This is a real Lichess blitz game (average rating 1400–1599, anonymous players) after 10 moves. Run the audit in your head: count development for both sides, find the castled king and the uncastled one, then choose White's move.
♟️ Position: White Kg1, Qd1, Ra1, Rf1, Bc4, Be3, Nf3, Ng3, a2, b2, c3, d3, e4, f2, g2, h2; Black Ke8, Qg6, Ra8, Rh8, Bc8, Be7, Nb8, Ng5, a7, b7, c6, d6, e5, f7, g7, h6 — White to move. FEN:
rnb1k2r/pp2bpp1/2pp2qp/4p1n1/2B1P3/2PPBNN1/PP3PPP/R2QK2R w kq - 3 11
Answer
White's development count is 5 (four minors off the back rank plus castling); Black's is 2 (Be7 and the g5-knight; the b8-knight and c8-bishop are at home, the king uncastled). The moves were 1.e4 e5 2.Nf3 d6 3.Bc4 h6 4.O-O Nf6 5.d3 Nh7 6.Nc3 c6 7.Ne2 Qf6 8.Ng3 Be7 9.c3 Qg6 10.Be3 Ng5 — Black's king's knight has moved three times and the queen twice. Stockfish 19 (depth 18) gives +1.63 with 11.Nd2, continuing 11...Nd7 12.d4 Nf6 13.h4 — White first removes the knight's target on f3, then strikes with d3–d4 to open the centre while Black's king is still on e8, and finally kicks the g5-knight with h4. The plan is the principle in action: when you lead in development, open lines.
🔄 Check your understanding 1. In the 48,000-game study, why does the "early queen (own moves 1–3)" category cost less on average than queen moves on moves 4–10? 2. A developing move is a mistake or worse 9.4% of the time below 1200. Give two ways a developing move can be bad.
Answer
- Most quiet early-queen moves are book moves of a specific opening (the Scandinavian's 3...Qa5 or 3...Qd6, after the queen recaptured on d5), and book moves are cheap by construction. Later queen moves are more often improvised sorties.
- It can go to a square where a pawn will kick it (losing the tempo back), walk into a pin, block a pawn or another piece, or ignore an opponent's threat (as 3...Nf6?? ignores Qxf7#).
19.3 The Centre in the Opening: What the Twenty First Moves Say
Chapter 5 covered the geometry of the centre in depth — why d4, e4, d5 and e5 are worth more than other squares, the difference between occupying and controlling them, and the hypermodern challenge. Here we ask one opening question of the engine: how much does the centre matter on move one?
The engine's ranking of every first move
White has 20 legal first moves. We evaluated the position after each at depth 20 and set it next to the Lichess masters explorer (2,997,412 over-the-board master games, retrieved 20 November 2026; more opening tables are collected in Appendix H):
move kind eval masters_n masters_share masters_white_score
0 Nf3 knight 0.26 303299.0 10.12 55.46
1 e4 centre pawn 0.24 1368125.0 45.64 53.85
2 d4 centre pawn 0.22 1070515.0 35.71 54.81
3 g3 flank pawn 0.20 20769.0 0.69 55.08
4 e3 centre pawn 0.19 937.0 0.03 48.40
5 c4 c/f pawn 0.17 206316.0 6.88 55.51
...
15 h4 flank pawn -0.31 NaN NaN NaN
16 Nh3 knight -0.52 NaN NaN NaN
17 Na3 knight -0.71 NaN NaN NaN
18 f3 c/f pawn -0.80 NaN NaN NaN
19 g4 flank pawn -1.24 NaN NaN NaN

📊 Figure (described): Stockfish 19's evaluation after each of White's 20 first moves, coloured by kind of move, with the share of master games that start with it (moves the explorer does not list are marked). The top six moves — Nf3, e4, d4, g3, e3, c4 — all fight for the centre directly or prepare to; they evaluate between +0.17 and +0.26 and account for almost all master games. The bottom of the list is the opposite: moves that put a knight on the rim (Na3, Nh3) or weaken the king without touching the centre (f3, g4).
Three things to read from the list.
The top is crowded and the gaps are small. 1.Nf3 (+0.26), 1.e4 (+0.24) and 1.d4 (+0.22) are within four hundredths of a pawn — far inside the noise of a depth-20 search. "1.e4 or 1.d4?" is a question about style and structure, not about value. The masters agree: those three moves start 91% of master games.
Centre control does not require a centre pawn. 1.Nf3 is the engine's top move and contains no pawn move at all: the knight on f3 controls d4 and e5. 1.g3 (+0.20) is a flank-pawn move, the kind 19.2 found expensive on average — but it prepares Bg2, a bishop aimed down the long diagonal at d5 and e4. 1.c4 controls d5 from the side. These are the moves 19.7 calls principled exceptions: they break the letter of a rule ("don't move flank pawns", "occupy the centre") to serve its purpose (control the centre, develop quickly).
The worst moves violate two principles at once. 1.g4 (−1.24) weakens the king's shelter and does nothing for the centre; 1.f3 (−0.80) takes the knight's best square, weakens the e1–h4 diagonal, and blocks nothing useful; 1.Na3 (−0.71) and 1.Nh3 (−0.52) develop a knight to a square where it reaches four squares instead of eight. Notice that even 1.g4 is "only" a pawn and a quarter worse — the start position is resilient. You do not lose by violating one principle once. You lose by violating several, repeatedly, while the opponent follows them.
⚠️ Common pitfall: Treating "control the centre" as "push both centre pawns as far as possible". In our 48,000-game study the cheapest quiet move type is a centre-pawn move — but the data in the book's opening-behaviour tables show that strong players actually make fewer centre-pawn moves early: two or more d-/e-pawn moves in the first five is 65.2% of Lichess side-games below 1200 but 54.9% at 2400+. Strong players control the centre with pieces as often as with pawns, and they keep pawn moves in reserve as breaks. A pawn advanced too far (e4–e5–e6) is a target, not a centre.
19.4 King Safety: Castle Before the Centre Opens
Chapter 4 is the full treatment of king safety — shelter, castling timing by band, the Greek gift. Here we look at the opening-specific version of the principle: castle before the centre opens, and don't open the centre while your own king is still in it.
The principle and its reasoning
The king starts on e1/e8, on the file most likely to open first: e-pawns are the most commonly exchanged pawns in 1.e4 openings. A king on an open file can be checked by a rook or queen from far away; a king in the centre also cannot hide behind a pawn shelter, because its shelter pawns (d, e, f) are exactly the pawns that move first. Castling solves both problems in one move — and connects the rooks. The danger is concrete: if the centre opens while your king is still there, the opponent's developed pieces get direct lines to it, and every check gains a tempo.
Modern example: Wei Yi–Piorun, FIDE World Cup 2025
This game from the 2025 FIDE World Cup (broadcast data; Wei Yi 2753, Kacper Piorun 2557) is an Italian Game in which Black takes a central pawn while his king is still on e8.
1.e4 e5 2.Nf3 Nc6 3.Bc4 Bc5 4.c3 d6 5.d4 exd4 6.cxd4 Bb6 7.Nc3 Nf6 8.Be3 Nxe4 9.Nxe4 d5 10.Bb3 dxe4
11.Ng5 Be6 12.Nxe6 fxe6 13.O-O Bxd4 14.Qh5+ g6 15.Qg4 Qf6 16.Bxe6 Ne5 17.Qxe4 Bxe3 18.Bf7+ Kxf7
19.fxe3 Rhe8 20.Qxb7 Qxf1+ 21.Rxf1+ Kg8 22.Qxc7 a5 23.a4 Rad8 24.Qxa5 Nc4 25.Qc3 Nd2 26.Rd1 1-0

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc4, Be3, Nc3, Nf3, a2, b2, d4, f2, g2, h2; Black Ke8, Qd8, Ra8, Rh8, Bb6, Bc8, Nc6, Ne4, a7, b7, c7, d6, f7, g7, h7 — White to move. FEN:
r1bqk2r/ppp2ppp/1bnp4/8/2BPn3/2N1BN2/PP3PPP/R2QK2R w KQkq - 0 9🤖 Engine check: Before 8...Nxe4 Stockfish 19 (depth 20, three lines) prefers 8...O-O (+0.43), then 8...h6 (+0.56) and 8...Bg4 (+0.60). After 8...Nxe4 the evaluation is +1.21. The capture does win a pawn for a moment — 9.Nxe4 d5 regains the piece with a fork — but it opens the e-file and the long diagonals while Black's king is still on e8. The engine's top move was the boring one: castle, then think about the centre.
The game shows how the open centre is used. After 12...fxe6 Black's king has lost the f7-pawn's protection on the e8–h5 diagonal and the e6-pawn is weak; White castles (13.O-O), and when Black grabs a second pawn with 13...Bxd4, the queen comes out with check.

♟️ Position: White Kg1, Qd1, Ra1, Rf1, Bb3, Be3, a2, b2, f2, g2, h2; Black Ke8, Qd8, Ra8, Rh8, Bd4, Nc6, a7, b7, c7, e4, e6, g7, h7 — White to move. FEN:
r2qk2r/ppp3pp/2n1p3/8/3bp3/1B2B3/PP3PPP/R2Q1RK1 w kq - 0 14
Count the material: White has queen, two rooks and two bishops; Black has queen, two rooks, bishop and knight — and seven pawns against five. Black is two pawns up. Stockfish 19's three best moves at depth 20 are 14.Qh5+ (+0.87), 14.Qg4 (+0.52) and 14.Bxd4 (+0.36). Notice what this means: Black is two pawns ahead and White is better. That is the price of the king in the centre, in engine units. The queen check is not a "queen out early" violation — it is move 14, every white piece is ready, and the check gains a tempo against the target the whole opening created.
Four moves later the target pays out:

♟️ Position: White Kg1, Qe4, Ra1, Rf1, Be6, a2, b2, f2, g2, h2; Black Ke8, Qf6, Ra8, Rh8, Be3, Ne5, a7, b7, c7, g6, h7 — White to move. FEN:
r3k2r/ppp4p/4Bqp1/4n3/4Q3/4b3/PP3PPP/R4RK1 w kq - 0 18🤖 Engine check: Here the engine is unanimous and the gap is enormous: 18.Bf7+ +6.70, 18.Qxe3 0.00, 18.fxe3 −2.12 (Stockfish 19, depth 20, three lines). The bishop check deflects the king from the defence of the e-file and onto the f-file; 18...Kxf7 19.fxe3 then opens that file against the king and queen standing on it together, and White's queen collects pawns (Wei Yi took on b7 and c7 by move 22). Why is one move worth almost seven pawns more than the natural recapture? Because Black's king is still in the centre on move 18, and every forcing move against it comes with tempo. A castled king would have had a pawn shelter and no open file.
Black had four chances to castle in this game (moves 8, 9, 10 and 12 at least). Each time he did something else — usually something that won material.
The data: castling by move 10, at every level
The book's opening-behaviour tables count how often each side castles within its first ten moves. On Lichess it is 37.1% of side-games below 1200 and 58.1% at 2400+; over the board in the broadcast data it is 54.7% below 1200 and about 60% from 1400 up. The result difference is small — castled-by-move-10 side-games score 0.7 rating-adjusted points better than the rest on Lichess (0.6 OTB) — and Chapter 4 explains why: many uncastled kings are uncastled for good reasons (queens exchanged, centre closed).
Our own audit adds the engine's view. Here is the mean evaluation after move 10, from the castled (or uncastled) side's own point of view:
C3. Castled within first 10 moves: rating-adj. score and eval after move 10 (mover's view, cp)
n adj eval20
group castled
<1400 False 14159 -0.9 -22.8
True 9841 1.3 32.8
1400-1999 False 17846 -0.6 -12.8
True 18154 0.6 12.6
2000+ False 15776 -0.1 -6.5
True 20224 0.1 5.1
Below 1400 the gap between castled and uncastled sides after move 10 is 56 centipawns (+32.8 vs −22.8); above 2000 it is 12. That is the level-aware version of the principle: at club level the uncastled king is a measurable liability by move 10, at master level it is almost neutral — because strong players who delay castling know why they are delaying (a closed centre, a pawn storm planned, the queens about to come off), and because their opponents also do not open the centre recklessly.
⚠️ Common pitfall: "I'll castle when I need to." By the time you need to, it is often illegal or too slow: a check on the e-file stops it, a bishop on the a6–f1 or c4–g8 diagonal covers a crossing square, or a piece sacrifice on f7/f2 drags the king out. In the 48,000-game study, a non-castling king move in the first ten moves (a "king walk", usually forced by exactly these events) cost 16.2 win-% points on average below 1400. Castle while it is cheap.
🔄 Check your understanding 1. In Wei Yi–Piorun, Black was two pawns up after 13...Bxd4, yet Stockfish 19 rated White better (+0.87). What compensated White? 2. Why does the castled/uncastled gap in evaluation shrink from 56 cp below 1400 to 12 cp above 2000?
Answer
- Black's king on e8 with the e8–h5 diagonal open (f-pawn gone), White's development and castled king, and the weak e6-pawn: every white move could come with a threat against the king (14.Qh5+ won a tempo at once). Time and king safety outweighed two pawns.
- Strong players who delay castling usually do so in positions where it is safe (closed centre, queenless positions, prepared pawn storms), and their opponents rarely open the centre without the pieces to exploit it. Below 1400, uncastled kings are more often a result of neglect, and opponents open lines (or blunder into open lines) more often.
19.5 The Queen: Strong, Therefore Chased
The principle
Don't bring the queen out early — and if you do, put it where lesser pieces cannot attack it with tempo. The principle is not "the queen must stay on d1 until move 10". It is "the queen must not become a target that the opponent develops against".
The reasoning: the queen is too valuable to be attacked
The queen is worth about nine pawns. That makes it the most powerful piece and the least able to stand its ground: when a knight (3) or a pawn (1) attacks it, the queen must move, however good its square was. So an early queen hands the opponent a menu of developing moves that also gain a tempo — each one a "free" move. In 19.1 we saw the queen on h5 attacks 18 squares; it is also attacked from many squares, and the opponent's knights and bishops are heading for exactly those squares anyway (f6, g6 pawn, Nc6–d4, Bg4). The early queen does not lose material; it loses time, one move per attack.
The classic example: Morphy–Mac Connel, New Orleans 1849
The young Paul Morphy's game against James Mac Connel in New Orleans in 1849 is in our master-game collection, and it is the cleanest demonstration of the principle we have found in the data:
1.e4 e5 2.Nf3 Qf6 3.Nc3 c6 4.d4 exd4 5.e5 Qg6 6.Bd3 Qxg2 7.Rg1 Qh3 8.Rg3 Qh5 9.Rg5 Qh3 10.Bf1 Qe6
11.Nxd4 Qe7 12.Ne4 h6 13.Nf5 Qe6 14.Nfd6+ Bxd6 15.Nxd6+ Kd8 16.Bc4 Qe7 17.Nxf7+ Kc7 18.Qd6+ Qxd6
19.exd6+ Kb6 20.Be3+ c5 21.Bxc5+ Ka5 22.Rg3 b5 23.Ra3# 1-0

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc1, Bf1, Nb1, Nf3, a2, b2, c2, d2, e4, f2, g2, h2; Black Ke8, Qf6, Ra8, Rh8, Bc8, Bf8, Nb8, Ng8, a7, b7, c7, d7, e5, f7, g7, h7 — White to move. FEN:
rnb1kbnr/pppp1ppp/5q2/4p3/4P3/5N2/PPPP1PPP/RNBQKB1R w KQkq - 2 3🤖 Engine check: Before Black's second move, Stockfish 19 (depth 20, three lines) gives 2...Nc6 +0.29, 2...Nf6 +0.37 and 2...d6 +0.56. After 2...Qf6 the evaluation is +1.26: one queen move has cost about a pawn. The queen defends e5, as 2...Nc6 would — but it stands on f6, the knight's best square, and it will be hit by Nc3–d5 or e4–e5 ideas. Its suggested line, 3.Nc3 Nc6 4.Nd5 Qd8, shows the point: the queen has to go home.
Mac Connel's queen then went on a tour: f6, g6, g2, h3, h5, h3, e6 — seven queen moves in Black's first ten, eleven in the game. White's moves meanwhile were knights, bishop, centre pawns and a rook that chased the queen up the g-file (Rg1, Rg3, Rg5), every one with tempo.

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc1, Bd3, Nc3, Nf3, a2, b2, c2, e5, f2, h2; Black Ke8, Qg2, Ra8, Rh8, Bc8, Bf8, Nb8, Ng8, a7, b7, c6, d4, d7, f7, g7, h7 — White to move. FEN:
rnb1kbnr/pp1p1ppp/2p5/4P3/3p4/2NB1N2/PPP2PqP/R1BQK2R w KQkq - 0 7
After 6...Qxg2 Black is a pawn up, and every one of Black's seven pieces other than the queen and king is still on its starting square. Stockfish 19 rates the position +4.48 (depth 20) for White, best move 7.Rg1 — the rook develops by hitting the queen. After ten moves the audit gives White a development count of 2 (Morphy's bishop has gone back to f1 to cover g2) and Black a count of zero; the evaluation is +4.13.

♟️ Position: White Ke1, Qd1, Ra1, Rg5, Bc1, Bf1, Nd6, Ne4, a2, b2, c2, e5, f2, h2; Black Ke8, Qe6, Ra8, Rh8, Bc8, Bf8, Nb8, Ng8, a7, b7, c6, d7, f7, g7, h6 — Black to move. FEN:
rnb1kbnr/pp1p1pp1/2pNq2p/4P1R1/4N3/8/PPP2P1P/R1BQKB2 b Qkq - 3 14
By move 14 the knights have reached d6 with check, Black's king can never castle, and the evaluation is +7.71 (depth 20). Morphy finished with a king hunt to a5 and 23.Ra3 mate. Notice what didn't happen: no single spectacular sacrifice, no blunder of a piece in the opening. Black lost because fourteen moves produced one developed black piece and a queen that had moved nine times.
The data: how often the early queen is chased at once
In the opening-behaviour tables of the book's data, a queen move within a side's first three moves (Scandinavian excluded, where the queen recaptures on d5 by design) appears in 7.0% of Lichess side-games below 1200 and 1.4% at 2400+, and goes with a rating-adjusted score 2.0 points lower than other side-games below 1200 (−1.3 points overall on Lichess, −1.3 OTB). Our 48,000-game study adds a direct test of the mechanism: when a side moves its queen (not a capture) in its first four moves, does the opponent's very next move attack it with a pawn, knight or bishop?
B. Early queen moves (non-capture, by ply 8): n = 5,687
n attacked attacked_% ci attack_also_develops_%
<1200 1330 204 15.3 13.5-17.4 54.9
1200-1399 928 83 8.9 7.3-11.0 51.8
1400-1599 825 78 9.5 7.6-11.6 34.6
1600-1799 655 44 6.7 5.0-8.9 38.6
1800-1999 548 45 8.2 6.2-10.8 53.3
2000-2199 520 21 4.0 2.7-6.1 28.6
2200-2399 451 20 4.4 2.9-6.8 70.0
2400+ 430 15 3.5 2.1-5.7 33.3

📊 Figure (described): The share of early queen moves (first four moves, not captures) that are immediately attacked by a pawn, knight or bishop, by rating band, with 95% Wilson intervals. It falls from 15.3% below 1200 to 3.5% at 2400+. The early queen is chased at once more often at club level — not because club players punish better, but because club players put their early queens on squares where they can be attacked.
Read that carefully, because it is easy to get backwards. Strong players' early queens are rarely attacked at once because they are rarely attackable: the strong player who moves the queen early does it within a known system (the Scandinavian ...Qa5, a Sicilian ...Qb6 hitting b2, an early Qb3 against ...Bf5) where the queen's square has already been checked against every developing reply. At 1200 the early queen goes to h5, f3, g4 or f6, squares where a knight or pawn can hit it with a natural developing move — and in 15% of cases the opponent does so immediately. About half of those attacking replies were themselves developing moves (54.9% below 1200), the textbook "development with tempo".
Back to 2.Qh5: why the scoreboard hides the cost
We can now resolve the hook. 2.Qh5 is objectively about half a pawn worse than 2.Nf3, yet it scores as well as anything else for White below 2000. Case Study 2 breaks the games down by Black's reply; the summary is:
- the most common reply, 2...Nc6, is good (−0.26 at depth 20), and after 3.Bc4 the standard 3...g6 keeps Black's edge (−0.31);
- but in 9.1% of games below 1200 Black answers 2...g6??, which loses the rook to 3.Qxe5+ (+7.18 at depth 20), and after 2...Nc6 3.Bc4 about 6% of Black players below 1200 play the natural-looking 3...Nf6??, allowing 4.Qxf7# — that finish ends 1.88% of all 2.Qh5 games below 1200 (weighted);
- with correct replies the move is simply a worse version of a normal game, and over thousands of club games the occasional free point balances the small structural cost.

📊 Figure (described): White's score with 2.Qh5 by Lichess band, with 95% intervals, against White's score in all balanced games of the band. Below 2000 the 2.Qh5 score is at or slightly above the baseline (52.9% vs 51.7% below 1200); above 2000 the samples are tiny (75, 16 and 20 games) and the intervals span 35 points. The move survives at club level because Black's replies do not collect the half pawn the engine says it costs; at master level it has nearly vanished from the data.
One more caveat belongs here. 2.Qh5 games are less often bullet than the band average (8% vs 23% below 1200), so the comparison is not perfectly like-for-like — but the direction would not change: the penalty the engine sees is not visible in club results. That is the general lesson of this chapter in one example. A principle measures the position. Results measure the position and the opponent.
A real club game: the queen's third square
The engine number for 2.Qh5 is small. What makes early queen play expensive in practice is that the queen keeps being a target, and every move must be checked against attacks on it. Here is a real Lichess rapid game (10 minutes + 5 seconds; anonymous players rated 981 and 1047), chosen by a fixed rule from the server-analysed games (2.Qh5, Black wins, White's queen moved at least three times in the first ten moves, Black's not at all):
1.e4 e5 2.Qh5 d6 3.Bc4 g6 4.Qf3 Nf6 5.d3 Bg7 6.h4 Bg4 7.Qg3 O-O 8.f3 Bd7 9.h5 Nxh5 10.Bd5 Nxg3 and Black won on move 34. The audit of the first ten moves:
White: 1 developing moves, 2 centre-pawn moves, did not castle; development count 1/5; tempo spend 4. Flags: queen out in the first 3 moves; 1 free repeat move(s); not castled in the audited moves; 2 flank-pawn moves.
Black: 3 developing moves, 2 centre-pawn moves, castled on ply 14; development count 4/5; tempo spend 1. No flags.
Black's 6...Bg4 is the model reply to an early queen: a bishop develops and hits the queen, which moves for the third time (7.Qg3). Yet the engine is not impressed by Black's position: after 8...Bd7 Stockfish 19 rates White +0.97 (depth 20) — the h-pawn attack is real, and White's best move is the one he played, 9.h5.
🧩 Productive struggle: Black has just played 9...Nxh5, taking the pawn and attacking White's queen on g3. Before reading on: what does White play? Write down your move and one reason.
♟️ Position: White Ke1, Qg3, Ra1, Rh1, Bc1, Bc4, Nb1, Ng1, a2, b2, c2, d3, e4, f3, g2; Black Kg8, Qd8, Ra8, Rf8, Bd7, Bg7, Nb8, Nh5, a7, b7, c7, d6, e5, f7, g6, h7 — White to move. FEN:
rn1q1rk1/pppb1pbp/3p2p1/4p2n/2B1P3/3P1PQ1/PPP3P1/RNB1K1NR w KQ - 0 10
Answer
10.Rxh5! — Stockfish 19 gives +1.19 (depth 20) with 10.Rxh5 gxh5 11.Bg5, opening the h-file and the long diagonal toward Black's king. The rook removes the attacker of the queen and opens a file against the castled king. In the game White played 10.Bd5?? (−10.00 at depth 20), overlooking that the queen was attacked, and 10...Nxg3 won it. The position was good for White; the queen on its third square was the one piece whose safety had to be checked every move — and one unchecked move ended the game.
That is how the early-queen principle usually bites at club level. Not with a forced refutation, but with a permanent tax on attention: every move, you must ask "is my queen attacked?" — and at 1000, one "no" too many is enough.
📋 Try it — Find the tactic. A real Lichess blitz game, average rating 1800–1999 (anonymous players): 1.e4 e5 2.Bc4 Qg5. White to move. Which developing move punishes the queen?
♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc1, Bc4, Nb1, Ng1, a2, b2, c2, d2, e4, f2, g2, h2; Black Ke8, Qg5, Ra8, Rh8, Bc8, Bf8, Nb8, Ng8, a7, b7, c7, d7, e5, f7, g7, h7 — White to move. FEN:
rnb1kbnr/pppp1ppp/8/4p1q1/2B1P3/8/PPPP1PPP/RNBQK1NR w KQkq - 2 3
Answer
3.Nf3! develops and attacks the queen: Stockfish 19 (depth 18, two lines) gives +1.69, against +0.43 for the next-best 3.g3. The engine's line is 3...Qg6 4.d4 exd4 5.O-O Nc6 — the queen has to move again, White castles, opens the centre with d4 and is far ahead in development. The other natural reply, 3.Qf3 (defending f7 and g2), is the mirror image of Black's mistake: a queen out to meet a queen.
🔄 Check your understanding 1. Why is the early queen more often attacked immediately at 1200 than at 2400, if strong players are better at punishing? 2. 2.Qh5 is about half a pawn worse than 2.Nf3 by Stockfish 19 but scores normally below 2000. Give two reasons from this section.
Answer
- Because the strong players' early queens are placed on squares that have already been checked against developing attacks (within known systems), while club players' early queens go to squares like h5, f3 or g4 that natural developing moves can hit.
- (a) Black's replies at club level include outright blunders (2...g6?? 3.Qxe5+, 3...Nf6?? 4.Qxf7#) that hand White free points; (b) the half-pawn cost is small and is only collected by a sequence of accurate developing moves that many club players don't find. (Also: the comparison is not perfectly like-for-like; 2.Qh5 games are less often bullet.)
19.6 Moving a Piece Twice, Flank Pawns and Other Tempo Leaks
The principle
Each move in the opening should do something the previous moves did not. Two common leaks are moving the same piece twice without being forced, and flank-pawn moves (a-, b-, g-, h-pawns) that neither develop a piece nor fight for the centre.
📐 Definition — free repeat (book definition): a knight, bishop, rook, queen or non-castling king move from the square that piece reached with an earlier move, within the side's first five moves, that is neither a capture nor a move out of check. Captures and check-evasions are "forced repeats" and are not counted against you. This is the definition used in the book's opening-behaviour tables and in Outpost's audit.
The reasoning
A free repeat means one of your pieces has made two moves while another has made none. Sometimes that is right: the second move goes to a better square than the first could reach directly (the Ruy Lopez bishop retreat Bb5–a4 keeps the pin and the pressure on c6), or the opponent's move changed what the piece should do. Often it is a symptom of a first move made without a plan — a knight to g5 to attack f7 that has to come back, a bishop to b5 "to pin" that is chased by ...a6.
Flank-pawn moves are different. They do not lose time by undoing anything; they lose time by doing something that does not help the opening's three jobs. 1...a6, 2...h6, and similar "waiting" pawn moves create no piece activity, and they often make a permanent weakness (h6 is a hook for a pawn storm, a6 leaves b6 weak). The exceptions — a fianchetto pawn (g3/g6, b3/b6) that opens a bishop's diagonal, an ...a6 in the Najdorf that prepares ...b5 and takes b5 from a white piece — are moves that serve the development and the centre.
The data
| Behaviour (first five moves) | Lichess <1200 | Lichess 1800–1999 | Lichess 2400+ |
|---|---|---|---|
| Same piece moved twice, not forced (share of side-games) | 20.9% | 12.6% | 11.5% |
| … rating-adjusted score difference vs other side-games | −2.1 pts | −0.0 pts | +0.1 pts |
That is from the book's opening-behaviour tables. Below 1200, one side-game in five contains a free repeat in the first five moves, and those side-games score 2.1 rating-adjusted points worse. At 2400+ the free repeat is still common (11.5%) and costs nothing measurable: strong players' repeats are the Ruy Lopez kind, made on purpose.
Our move-level study tells the same story at finer grain. A free repeat costs 3.74 win-% points on average (about 60% more than a developing move), and 20.0% of them are mistakes or worse below 1200 against 2.9% at 2400+. Flank-pawn moves are 10.2% of all quiet opening moves and cost 3.78 points on average — 6.78 below 1200, 2.08 at 2400+.
⚠️ Common pitfall: Blaming the rule when the problem is the reason. In this chapter's Project Checkpoint, a real 1600-level blitz game is audited: White's 4.Ba4 is flagged as a free repeat and costs 0.0 win-% points by Stockfish 19 (depth 16) — it is the main line of the Ruy Lopez, played in 91.2% of master games that reach 3...a6. Black's 5...h5 is flagged as a flank-pawn move and costs 13.4 points. Both moves break a rule. Only one breaks the purpose of the rule. When the audit flags a move, ask "what did this move buy?" before you call it a mistake.
🔄 Check your understanding 1. The audit flagged both 4.Ba4 (Ruy Lopez) and 5...h5 in the same game. Which one did the engine punish, and what question separates them? 2. Free repeats below 1200 go with −2.1 rating-adjusted points; at 2400+ with +0.1. Why might the same behaviour be harmless at the top?
Answer
- 5...h5 (13.4 win-% points at depth 16); 4.Ba4 cost nothing. The question is "what did this move buy?" — 4.Ba4 keeps the pin on c6 in a main line; 5...h5 buys nothing concrete and weakens the king.
- Strong players' repeats are deliberate, theory-backed moves (like Bb5–a4) or responses to the opponent's play, while club players' repeats more often undo a first move made without a plan.
19.7 When Breaking a Principle Is Right
Every principle in this chapter has famous exceptions, and the exceptions teach more than the rules — because each one shows what the principle was protecting. The common thread: an exception is a move that breaks the letter of one principle to serve the purpose of another (or of the same one), and it is backed by something concrete — a target, a structure, a forcing line.
Exception 1 — the early queen that is a check: Wojtaszek–Fedoseev, World Cup 2025
Radosław Wojtaszek (2660) against Vladimir Fedoseev (2717), from the 2025 FIDE World Cup (broadcast data), began with the English Defence:
1.d4 e6 2.c4 b6 3.e4 Bb7 4.Bd3 f5 5.exf5 Bxg2 6.Qh5+ g6 7.fxg6 Bg7 8.gxh7+ Kf8 9.Bg5 Nf6 10.Qh4 Bxh1
11.Ne2 Nc6 12.Nbc3 e5 13.O-O-O exd4 14.Rxh1 dxc3 15.Nf4 Ne5 16.Bc2 Kf7 17.Nh5 Nf3 18.Qf4 Nxg5 19.Qxg5
Qf8 20.Bg6+ 1-0
Black's opening broke two principles in two moves: 4...f5 is a flank-side pawn move that opens the e8–h5 diagonal to Black's own king, and 5...Bxg2 sends a bishop raiding for material while six black pieces are undeveloped.

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc1, Bd3, Nb1, Ng1, a2, b2, c4, d4, f2, f5, h2; Black Ke8, Qd8, Ra8, Rh8, Bf8, Bg2, Nb8, Ng8, a7, b6, c7, d7, e6, g7, h7 — White to move. FEN:
rn1qkbnr/p1pp2pp/1p2p3/5P2/2PP4/3B4/PP3PbP/RNBQK1NR w KQkq - 0 6🤖 Engine check: Before 4...f5 Stockfish 19 (depth 20, three lines) preferred 4...Nc6 (+0.67); after 4...f5 it reads +1.52. After 5...Bxg2, White's three candidates are 6.Qh5+ (+2.28), 6.Qg4 (−4.14) and 6.Qe2 (−4.37) — a gap of more than six pawns between the queen check and the next move. (After 6.Qh5+ the single-line evaluation reads +2.69; multi-line and single-line searches differ by a few tenths.) Why is the queen sortie the only move? Because the bishop on g2 attacks the rook on h1, and a slow move loses it; the check on h5 uses the diagonal 4...f5 opened, forces 6...g6, and then 7.fxg6 and 8.gxh7+ rip open Black's kingside. The queen is out early — but it is a forcing move against a weakened king, and the opponent has no developed piece to chase it.
That is the rule for the queen exception: an early queen move is justified when it comes with a threat the opponent must answer, against a weakness the opponent has created, so that the opponent has no time to develop against it. 2.Qh5 against 1...e5 fails that test (the threats are parried by developing moves); 6.Qh5+ here passes it.
Exception 2 — the queen recaptures by design: the Scandinavian
In the Scandinavian (treated as a repertoire choice in Chapter 22), Black's queen recaptures on d5 on move 2 and moves again on move 3 — the textbook violation, and a respectable defence at every level.
masters explorer after 3.Nc3: 15,441 games (retrieved 2026-11-20)
3...Qa5 n= 7,969 share= 51.6% Black score= 42.6%
3...Qd6 n= 5,829 share= 37.8% Black score= 44.0%
3...Qd8 n= 1,507 share= 9.8% Black score= 41.8%
Stockfish 19 rates 3...Qa5 the best of the queen moves after 3.Nc3 (+0.60 at depth 20, multipv 3, ahead of 3...Qd8 +0.71 and 3...Qd6 +0.76). The three moves are close enough that the ranking depends on the search: evaluating each resulting position on its own (single-line, depth 20) gives 3...Qd6 +0.56, 3...Qa5 +0.67, 3...Qd8 +0.72. The masters' scores for Black (42–44%) are below the 45.6% Black scores after 1.e4 e5 in the same database — a real but modest price for an opening that is easy to learn and gives Black a clear structure (the c6–e6 "Caro-Kann-like" setup, the bishop outside the pawn chain on f5 or g4). On Lichess, Black scores 48.3% with the Scandinavian below 1200 and 49–50% from 1400 to 2399 (balanced games), in line with the other main defences:

📊 Figure (described): Black's score by Lichess band for seven defences to 1.e4 (balanced games, October 2026 sample). The four that break a classical principle — Alekhine (knight moves repeatedly), Scandinavian (early queen), Pirc and Modern (no central pawn duo, flank fianchetto) — score within a point or two of the French, Caro-Kann and Sicilian at most levels. None of them is "punished" in the results the way the 2.Qh5-style violations of 19.5 are in the engine evaluations.
How does a world-class player handle the queen's exposure? Nodirbek Abdusattorov (2762) won with the main line against Haik Martirosyan (2664) at the 2026 Olympiad: 1.e4 d5 2.exd5 Qxd5 3.Nc3 Qa5 4.Nf3 Nf6 5.Bb5+ c6 6.Be2 Bf5 7.O-O e6 8.d4 Nbd7 9.Nh4 Bg6 10.Bf3 O-O-O.

♟️ Position: White Kg1, Qd1, Ra1, Rf1, Bc1, Bf3, Nc3, Nh4, a2, b2, c2, d4, f2, g2, h2; Black Kc8, Qa5, Rd8, Rh8, Bf8, Bg6, Nd7, Nf6, a7, b7, c6, e6, f7, g7, h7 — White to move. FEN:
2kr1b1r/pp1n1ppp/2p1pnb1/q7/3P3N/2N2B2/PPP2PPP/R1BQ1RK1 w - - 5 11
After ten moves the audit flags Black three times (early queen, a repeat, a tempo spend of 3), and the development counts are level at four apiece; Stockfish 19 gives 0.00 (depth 20). The queen on a5 was out of reach of White's developing moves, so Black's other pieces came out normally — White had nothing to develop against. The queen moved early to a square that had been checked in advance. That is the whole difference from Mac Connel's queen on f6 and the 1000-rated queen on g3.
Exception 3 — the knight that moves four times: Alekhine's Defence
1.e4 Nf6 2.e5 Nd5 3.d4 d6 4.Nf3 — and the knight will usually move again (...Nb6 after c4). By move four, Black has moved one piece twice and invited White's centre pawns forward. The idea is hypermodern: the advanced pawns on d4 and e5 are targets, and Black plans to attack them with ...d6, ...Bg4, ...Nc6 and ...e6.

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc1, Bf1, Nb1, Nf3, a2, b2, c2, d4, e5, f2, g2, h2; Black Ke8, Qd8, Ra8, Rh8, Bc8, Bf8, Nb8, Nd5, a7, b7, c7, d6, e7, f7, g7, h7 — Black to move. FEN:
rnbqkb1r/ppp1pppp/3p4/3nP3/3P4/5N2/PPP2PPP/RNBQKB1R b KQkq - 1 4
Alekhine's Defence, Modern 1.e4 Nf6 2.e5 Nd5 3.d4 d6 4.Nf3 +0.55 best dxe5 | last move 64.7% of 15,239; n=9,867, White scores 58.3%
Alekhine's Defence, Four Pawns 1.e4 Nf6 2.e5 Nd5 3.d4 d6 4.c4 Nb6 5.f4 +0.90 best dxe5 | last move 26.5% of 5,658; n=1,497, White scores 56.9%
Ruy Lopez 4.Ba4 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 +0.36 best Nf6 | last move 91.2% of 123,591; n=112,756, White scores 55.3%
King's Indian 2...g6 1.d4 Nf6 2.c4 g6 +0.29 best Nc3 | last move 32.7% of 473,799; n=154,914, White scores 56.1%
The engine's verdict is honest: after 4.Nf3 White is +0.55 (Stockfish 19, depth 20), about a third of a pawn more than after 1.e4 e5 (+0.24) — the price of the knight's extra moves. In the Four Pawns Attack, where White grabs the whole centre, it is +0.90. And yet on Lichess, Black scores 47.5% with the Alekhine below 1200 and 50.2% at 1600–1799, close to the other defences. The extra tempi buy a target (the overextended centre) that Black understands and White often doesn't.
The same logic covers the "rule-breaking" moves that strong players make every day: 4.Ba4 in the Ruy Lopez (the bishop's second move, +0.36, chosen in 91.2% of master games), and the King's Indian's 2...g6 (a flank pawn that opens the bishop's long diagonal toward the centre, +0.29). Each breaks a letter and serves a purpose: the pin is maintained, the centre is controlled from a distance.
🔍 Why this works: Principles are compressed calculation. "Don't move a piece twice" compresses "a second move by the same piece usually gains less than a first move by another piece". When the second move gains more — because it keeps a pin, reaches a square the first move could not, or answers a concrete threat — the compressed version is wrong and the uncompressed one is still right. Strong players are not players who ignore principles; they are players who can decompress them.
🔄 Check your understanding 1. State the test that separates 6.Qh5+ in Wojtaszek–Fedoseev from 2.Qh5 against 1...e5. 2. Abdusattorov's queen came out on move 2 and moved again on move 3, and the position after ten moves was 0.00. What did his queen's square have that Mac Connel's f6 did not?
Answer
- An early queen move is justified when it comes with a threat that must be answered (here, check) against a weakness the opponent created (the e8–h5 diagonal opened by 4...f5), so that the opponent cannot develop against the queen with tempo. 2.Qh5's threats are parried by ordinary developing moves.
- Safety from developing attacks: on a5 no white minor piece or pawn could hit the queen quickly without weakening White's own position, so Black's development proceeded normally. On f6 the queen took the knight's square and could be hit by Nc3–d5 and e4–e5 ideas.
19.8 The Audit at Scale: 48,000 Openings, Rated by the Engine
The chess question
The previous sections tested one principle at a time. A player's opening is a bundle of decisions, though. If we count, for each side of each game, how many tempo-spending moves it made in the first ten moves, does the count predict the position after move 10 — and the result?
The idea and the definition
📐 Definition — tempo spend (book definition): for one side's first ten moves, the number of free repeats + early-queen moves (queen moves in the side's first three moves) + flank-pawn moves + king walks (non-castling king moves while castling rights remain). It counts moves that usually buy less than a developing move; it does not say any particular one was a mistake.
The code is a loop over the first twenty plies of each game, tagging each move with
opening_principles.move_tags and scoring it with the evaluation stored after it:
for i in range(PLIES): # first 20 plies
mv = board.parse_san(plies[i]["san"])
color = board.turn
tags = op.move_tags(board, mv, hist) # 'develop', 'centre_pawn', 'early_queen', ...
quiet = ("capture" not in tags) and ("out_of_check" not in tags)
board.push(mv)
cur = ev[i] # server eval after the move, White POV (cp)
sign = 1 if color == chess.WHITE else -1
drop = max(0.0, cd.win_pct(sign * prev) - cd.win_pct(sign * cur)) # the book's win-% formula
move_rows.append((g.band, i + 1, color, primary(tags), quiet, drop))
side_cat[color].append((primary(tags), tags, drop))
prev = cur
...
s["tempo_spend"] = s["free_repeats"] + int(s["early_queen"]) + s["flank"] + s["king_walks"]
sd["adj"] = 100 * (sd.score - cd.expected_score(sd.own, sd.opp)) # rating-adjusted score, points
(Full script: code/02_principle_costs.py, about two minutes for 48,000 games.)
The output
C1. Tempo spend (free repeats + early queen + flank-pawn moves + king walks, first 10 moves)
n share score adj eval20
group spend_bin
<1400 0 7575 31.6 52.7 2.6 67.0
1 8121 33.8 50.4 0.5 11.0
2 5221 21.8 48.6 -1.4 -53.3
3+ 3083 12.8 44.7 -5.3 -103.4
1400-1999 0 11358 31.6 52.0 2.0 32.8
1 12825 35.6 50.6 0.6 1.3
2 7982 22.2 48.2 -1.8 -22.0
3+ 3835 10.7 46.1 -3.9 -55.7
2000+ 0 10198 28.3 51.5 1.4 22.3
1 13533 37.6 49.9 -0.2 -0.7
2 8399 23.3 49.0 -0.9 -13.9
3+ 3870 10.8 48.7 -1.2 -25.9

📊 Figure (described): Left: rating-adjusted score (actual score minus the Elo expectation, in points) by tempo spend in the first ten moves, for three Lichess rating groups. Right: the mean evaluation after move 10 from the same side's point of view. Both fall steadily as tempo spend rises, and the slopes are steepest below 1400: a side with three or more tempo-spending moves stands −103 cp after move 10 below 1400 and −26 cp above 2000.
What it means at the board
Below 1400, a side that made no tempo-spending moves in its first ten stands +67 cp after move 10 on average and scores 2.6 points above its rating expectation; a side with three or more stands −103 cp and scores 5.3 points below. That is a swing of 170 centipawns — more than a pawn and a half — from nothing but the kind of moves chosen. Above 2000 the same comparison is +22 cp vs −26 cp, and the score effect shrinks to 2.6 points. The principle matters at every level and matters most where most readers of this book play.
The development count after move 10 tells the same story from the other side:
C2. Development count after move 10 (minor pieces off back rank + castled), all bands
n adj eval20
group dev20
<1400 0 1073 -10.2 -158.3
1 3990 -4.1 -78.6
2 6673 -0.6 -18.4
3 6618 2.0 38.8
4 4340 3.1 55.8
5 1306 3.2 82.2
2000+ 0 416 -0.0 -59.7
1 2708 -1.3 -18.8
2 6949 -1.1 -11.2
3 10968 0.2 -0.1
4 10619 0.7 7.6
5 4340 0.5 17.1
(The 1400–1999 rows sit between these two; see code/_out02.txt.) A side below 1400 with nothing
developed after ten moves (n = 1,073) stands −158 cp and scores 10.2 points below expectation. Above
2000 the curve is much flatter (−60 cp at zero, +17 cp at five): strong players with low development
counts are usually in closed or slow structures where it is safe.
The limits
Be careful what you conclude. These are associations in self-selected games:
- Server-analysed games are not a random sample. Someone asked Lichess to analyse each of these 48,000 games, and the speed mix (24k blitz, 13k rapid, 11k bullet, 0.6k classical) is not the population's. The book's opening-behaviour tables, computed on the weighted population, show the same directions with smaller effects (about −1 to −2 rating-adjusted points for early queens and free repeats).
- Causation runs both ways. A side that is already worse (because the opponent made threats) is forced into repeats and king moves; some tempo spend is a symptom, not a cause. The correlations are modest: Spearman −0.13 between tempo spend and the eval after move 10, +0.10 between development count and that eval. Most of what decides an opening is not captured by counting move types.
- The eval after move 10 is not the result. At club level, a −100 cp position after ten moves is very often won back later — which is why the score effects (a few points) are far smaller than the evaluation effects (a pawn or more).
📋 Try it — Analyze this position. A real Lichess rapid game (average rating 1200–1399, anonymous players): 1.e4 d5 2.exd5 Qxd5 3.Nc3 Qe6+ 4.Be2 Qg6 5.Bf3 Nd7 6.Nge2 Ne5 7.Ng3 c6 8.O-O h5 9.Bxh5 Qh7 10.h3 g6. Audit both sides, then find White's move.
♟️ Position: White Kg1, Qd1, Ra1, Rf1, Bc1, Bh5, Nc3, Ng3, a2, b2, c2, d2, f2, g2, h3; Black Ke8, Qh7, Ra8, Rh8, Bc8, Bf8, Ne5, Ng8, a7, b7, c6, e7, f7, g6 — White to move. FEN:
r1b1kbnr/pp2pp1q/2p3p1/4n2B/8/2N3NP/PPPP1PP1/R1BQ1RK1 w kq - 0 11
Answer
Black's queen has moved four times (Qxd5, Qe6+, Qg6, Qh7), the d7-knight has moved twice (to e5), and two flank pawns (...h5, ...g6) have been pushed; Black's development count is 1, White's is 5 (four minors out and castled), and White's bishop on h5 is attacked by the g6-pawn. Stockfish 19 (depth 18) gives +2.80 with 11.d4!, continuing 11...Nf6 12.dxe5 Nxh5 13.Qf3. The centre pawn kicks the only developed black piece, and if Black takes the bishop, White's queen arrives in the opened centre. When you lead in development, a pawn break with tempo is usually the fastest way to cash it.
🔄 Check your understanding 1. Below 1400, the evaluation gap between tempo spend 0 and 3+ is about 170 cp, but the score gap is under 8 points. Why are the score effects so much smaller than the evaluation effects? 2. Give one reason the tempo-spend association might overstate the causal effect of tempo-spending moves.
Answer
- Club games are decided by later mistakes as much as by the opening; a −1 position after move 10 is often turned around. The evaluation measures the position, the score measures the whole game.
- Reverse causation: a side already under pressure is forced into repeats (retreats) and king moves, so some tempo spend is a consequence of a bad position rather than its cause. (Also: the sample is self-selected server-analysed games.)
19.9 Principles Against Memorised Lines
Grace Mbeki, preparing for her state championship, has been memorising lines from an opening course.
Grace: I know my Najdorf to move 18 in the main lines. Isn't that worth more than "develop your pieces"?
Narrator: Against whom? How often will your opponent follow your file to move 18?
Grace: At my level? Maybe never.
Narrator: Then let's find out when they leave it.
The book's data snapshot answers that question directly. Take a random sample of about 200,000 games from each source and ask, for each game, at which ply it first reaches a position no other game in the sample reached:
| Lichess (online, all levels) | OTB broadcast games | |
|---|---|---|
| Median ply at which a game becomes unique in its sample | 11 (IQR 8–13) | 16 (IQR 12–20) |
| Share of games already in a unique position at ply 10 | 44.9% | 12.8% |
| Share of games already in a unique position at ply 20 | 98.4% | 72.9% |
On Lichess, half of all games have left every other game in a 200,000-game sample by White's sixth move. Over the board, where players prepare more, the median is ply 16 — move eight. Even in the broadcast database, almost three games in four are in a position no other sampled game reached by move ten. A bigger database would push those numbers later, but the conclusion would not change: most of every opening you play happens after your memorised lines end.
That is why principles beat lines below master level. A memorised line tells you what to do in one position; a principle tells you what to look for in the thousands of positions you will actually reach. And principles are what make lines memorable in the first place: a line you understand ("the bishop goes to b5 to pin the knight that defends e5") is a line you can reconstruct; a line you merely memorised is a string that breaks the moment one move differs.
Grace: So I should drop the Najdorf file?
Narrator: Keep it — but for every move in it, write down which job it does. When your opponent deviates on move 9, the jobs are still there. Chapters 20 to 23 — ending with engine-assisted preparation in Chapter 23 — will show you how to build the file so it holds up.
⚠️ Common pitfall: Memorising a line that ends in a position you don't understand. If you can't say what each side's plan is at the end of your preparation, the preparation has handed you a position at move 15 — and the evaluation the engine attached to it — without the means to play it. In 19.2 we saw the opposite case: Anderssen's position was objectively fine at move 14, and he lost it in the middlegame.
🔄 Check your understanding 1. In a 200,000-game Lichess sample, at what ply does the median game first reach a position no other game in the sample reached? What does that imply for memorising lines? 2. What should Grace add to her Najdorf file, according to the narrator?
Answer
- Ply 11 (ply 16 for OTB broadcast games). Most of every opening is played after memorised lines end, so principles (and the reasons behind a line's moves) decide most opening positions you meet.
- For every move, the job it does — so that when the opponent deviates, she still knows what the position needs.
19.10 The Principles at Different Levels
Pulling the chapter's numbers together by level:
Below 1200 (Lichess). Every kind of opening move is a source of errors — even developing moves are mistakes or worse 9.4% of the time — but the principle-breaking kinds are far worse: 20% of free repeats and 27% of queen moves on moves 4–10 lose 10 or more win-% points. Castling by move 10 happens in 37% of side-games. Your opponents also do not punish reliably, which is why 2.Qh5 survives at this level. What to do: follow the principles literally. Every move, ask "which job does this do — develop, centre, castle?" If none, find another move.
1400–1999 (Lichess). The costs fall by about a third, but the ordering is the same, and three or more tempo-spending moves still leave you −56 cp after ten moves on average. This is the level where the exceptions start to pay: fianchettos, the Scandinavian, Alekhine's Defence — openings that break a letter for a reason — score in line with classical defences. What to do: learn your openings' reasons, so you know which rules your opening breaks on purpose and which it doesn't.
2000+ (Lichess) and OTB masters. Principle-breaking move types are cheap (a flank pawn costs 2.1 win-% points at 2400+) because they are chosen for concrete reasons; castling-or-not is almost neutral in the evaluation after move 10 (12 cp). The behaviours that matter at club level have little measurable effect on results in master play. What to do: treat the principles as a default you can override only with a concrete justification — a target, a forcing line, a structure. That is what John Watson called "rule independence", and it is earned, not assumed.
Spaced Review
Before reading the answers, try each question from memory.
- (Chapter 7 — prophylaxis.) In 19.1 we measured the value of a tempo by evaluating a position as if the side to move had passed. Which tool from Chapter 7 uses the same trick, and what does it measure there?
- (Chapter 4 — king safety.) Chapter 4 measured what an uncastled king at ply 30 costs when the opponent has castled. Was the cost large or small in OTB games, and why does that not contradict the engine's +6.70 for 18.Bf7+ in Wei Yi–Piorun?
- (Chapter 5 — space and the centre.) Chapter 5 found that hypermodern defences concede several squares of space by move 5 yet score like classical replies. Which section of this chapter found the same pattern for a different principle?
Answers
- The null-move threat test in Chapter 7: pass the move and see how much the opponent's best move gains — the size of the opponent's threat. Here the same pass measures the size of our move-right in the opening (0.64 pawns in the start position).
- Small on average: in OTB games, the side with an uncastled king at ply 30 (opponent castled) scores 47.8%, about 2.2 rating-adjusted points below expectation. Averages include many quiet positions where the uncastled king is safe (closed centre, queens off). Wei Yi–Piorun is a specific position with an open centre and an open diagonal; there, the engine's number is huge. Averages describe the population, not your position.
- Section 19.7: defences that break a classical principle (the Alekhine, Scandinavian, Pirc and Modern) score within a point or two of the French, Caro-Kann and Sicilian on Lichess — the engine sees a small cost, the results don't, because the broken rule is compensated by a concrete idea.
Project Checkpoint: opening_principles.py
Dev has a confession for the club: his blitz openings are "vibes". He knows his first three moves and improvises the rest. So this chapter's module gives Outpost an opening audit — a tagger for the first ten moves of each side and a card summarising what they did.
🎭 Composite data: Dev's games are real Lichess games played by anonymous players at his rating, assembled into one "player" so we can demonstrate the method on your own games.
The module, project/outpost/opening_principles.py, has seven public functions:
| Function | What it does |
|---|---|
move_tags(board, move, history) |
tags one move: develop, centre_pawn, flank_pawn, cf_pawn, castle, queen, early_queen, repeat_free / repeat_forced, king_walk, capture, out_of_check |
audit_game(game, plies=20) |
one row per ply: SAN, tags, development counts after the move |
development_count(board, color) |
minor pieces off the back rank + 1 if castled (0–5) |
side_summary(audit, side) / audit_summary(audit) |
the audit card: counts, castling ply, tempo spend, flags |
engine_costs(audit, depth=16) |
Stockfish 19 eval before/after each audited move and the mover's win-% drop |
describe(summary) |
a one-paragraph card |
The heart of it is the tagger; the repeat test keeps a set of squares each side's pieces have arrived on, and flags a move that starts from one of them:
else:
if piece.piece_type in (chess.KNIGHT, chess.BISHOP) and move.from_square in MINOR_HOME[color]:
tags.append("develop")
if piece.piece_type == chess.QUEEN:
tags.append("queen")
if nth <= history.get("queen_moves", QUEEN_MOVES):
tags.append("early_queen")
if piece.piece_type == chess.KING:
tags.append("king")
if board.has_castling_rights(color):
tags.append("king_walk")
if move.from_square in history["arrived"][color] and nth <= history.get("repeat_moves", REPEAT_MOVES):
tags.append("repeat")
tags.append("repeat_forced" if (capture or in_check) else "repeat_free")
code/project_checkpoint.py runs it on two games. First, Morphy–Mac Connel:
side moves developing_moves centre_pawn_moves flank_pawn_moves queen_moves early_queen free_repeats forced_repeats king_walks castled_ply development_final tempo_spend
white 10 3 3 0 0 False 0 0 0 None 2 0
black 10 0 2 0 7 True 1 0 0 None 0 2
Then a composite "Dev" game — a real 1600-level blitz game chosen by a fixed rule (the first server-analysed game in the sample with both players 1600–1700, 1.e4 e5 2.Nf3, and at least two tempo-spending moves by Black), with the engine pricing every flagged move:
1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Bc5 5.O-O h5 6.c3 h4 7.d4 Be7 8.dxe5 h3 9.g3 d6 10.exd6 Bxd6
White: 2 developing moves, 4 centre-pawn moves, castled on ply 9; development count 3/5; tempo spend 2. Flags: 1 free repeat move(s).
Black: 2 developing moves, 2 centre-pawn moves, did not castle; development count 2/5; tempo spend 4. Flags: not castled in the audited moves; 4 flank-pawn moves.
Stockfish 19 (depth 16) cost of each flagged move (win-% points, mover's view):
ply side san tags eval_before eval_after best wp_drop
6 black a6 [flank_pawn] 30.0 36.0 a6 0.6
7 white Ba4 [repeat, repeat_free] 36.0 42.0 Ba4 0.0
10 black h5 [flank_pawn] 34.0 186.0 d6 13.4
12 black h4 [flank_pawn] 199.0 209.0 Ba7 0.8
16 black h3 [flank_pawn] 173.0 165.0 h3 0.0
17 white g3 [flank_pawn] 165.0 175.0 g3 0.0
This output is the module's design in miniature. The audit flags; the engine prices. 3...a6 and 4.Ba4 are flagged and cost nothing — both are the engine's own first choice. 5...h5 is flagged and costs 13.4 win-% points (the eval jumps from +0.34 to +1.86); once the h-pawn has gone, its further advances are cheap because the damage is done. (Black won this game anyway — a reminder from 19.5 that results at this level measure the opponent too.)
How it plugs in: Chapter 20's repertoire.py can run the audit over every game in a repertoire node, so
Dev can see whether his worst-scoring lines are also the ones where he spends tempi; Chapter 26's
review.py can put the audit card at the top of a game review; and Chapter 40 assembles Outpost's
command-line interface, where an audit command for a PGN file is a natural addition.
Chapter Summary
| Principle | Reason (geometry / dynamics) | What the engine says | What the data says |
|---|---|---|---|
| Spend moves on new pieces | A developed knight attacks 8 squares vs 3 at home; a bishop 10 vs 2 | One tempo ≈ 0.64 pawns at the start, 0.33 in a closed QGD | OTB dev. lead ≥ 3 after move 12: White 59.5% vs 53.0% level |
| Fight for the centre (pawns or pieces) | Central squares are reached by more pieces; the centre connects both wings | Top first moves Nf3/e4/d4/g3/e3/c4 within +0.17 to +0.26; 1.g4 −1.24 | Centre-pawn moves are the cheapest quiet opening moves (1.73 win-% pts) |
| Castle before the centre opens | The e-file opens first; castling also connects the rooks | Wei Yi–Piorun: 8...O-O +0.43 vs 8...Nxe4 +1.21; 18.Bf7+ +6.70 | Castled side +33 cp vs −23 cp after move 10 below 1400; king walks cost 16 pts |
| Keep the queen home unless it hits a weakness | Worth 9, so any lesser attacker gains a tempo | 2...Qf6 +1.26 vs 2...Nc6 +0.29 (Mac Connel); 6.Qh5+ the only move (Wojtaszek) | Queen moves 4–10: 27% mistakes below 1200, 5% at 2400+ |
| Don't move a piece twice without a reason | A second move by one piece is a first move denied to another | 4.Ba4 is a main line; 5...h5 cost 13.4 pts | Free repeats: 20.9% of side-games below 1200, −2.1 adj pts; neutral at 2400+ |
| Principles over memorised lines | Lines run out; jobs don't | — | Games leave a 200k-game sample by ply 11 (Lichess), 16 (OTB) |
Your opening audit — before every move in the first ten:
- Which job does this move do: develop a new piece, fight for the centre, castle?
- If it moves a piece a second time or pushes a flank pawn: what concrete thing does it buy?
- Is my king still in the centre while the centre is opening? Can I castle now?
- Is my queen on a square where a pawn or minor piece can attack it with a developing move?
- Did my opponent just break a principle? If so, which developing move punishes it with tempo?
- After ten moves: count development (0–5) for both sides. If you lead, look for the pawn break that opens lines; if you trail, keep the position closed and catch up.
What's Next
Principles tell you what kind of move to look for; a repertoire decides which openings you will play them in. Chapter 20 builds Dev's repertoire as a decision tree from his own games, puts a database expectation and a confidence interval on every node — and discovers that the opening weakness one number seemed to reveal is much less certain than it looked.



