How to Use This Book

This book is long — forty chapters, each a full lesson with exercises, a quiz, two case studies and working code. Nobody should read it cover to cover in one pass, and almost nobody needs every chapter. This page explains how the book is built so you can find your way through it, and Learning Paths suggests routes for different readers.

The shape of the book: seven parts, forty chapters

Part Chapters What it covers
Part I — Strategic Foundations 1–8 Evaluation, pawn structure, pieces, king safety, space, imbalances, prophylaxis, planning
Part II — Tactics and Calculation 9–13 Motifs, calculation, combinations, attack and defence, practical decisions and the clock
Part III — Endgames 14–18 Essential, pawn, rook, minor-piece, queen and complex endgames — tablebase-verified
Part IV — Openings and Preparation 19–24 Principles, repertoires, White and Black systems, engine preparation, opponent preparation
Part V — Competitive Chess and Improvement 25–29 Study methods, game review, tournaments, psychology, the history of strategy
Part VI — The Data Science of Chess 30–35 Ratings, database mining, engine analysis at scale, style, chess AI, improvement analytics
Part VII — Special Topics and Capstone 36–40 Online chess, variants, teaching, culture and community, and the capstone toolkit

Each part opens with an overview: what the part is for, how its chapters build, its strongest findings, and which readers should read what. After the chapters come twelve appendices (A–L), a bibliography and a subject index, and an instructor companion with syllabi, chapter notes, discussion guides, rubrics and assessments.

The seven files in every chapter

Every chapter lives in its own folder and contains the same seven files, plus its code and images.

File What it is
index.md The chapter itself — typically 9,000–13,000 words of prose, diagrams, engine checks, data and code excerpts
key-takeaways.md A one-page summary: the key ideas, a principles-and-metrics table, common mistakes with fixes, and a decision checklist for the board
exercises.md Graded exercises in six sections (below), with worked answers
quiz.md 15–25 questions — multiple choice, true/false with justification, short answer and position-based — with answers and explanations
case-study-01.md, case-study-02.md Two fully worked cases, usually one annotated real game and one database or engine study
further-reading.md Annotated pointers to books, papers and documentation, with who each is for
code/ The chapter's scripts (01_<topic>.py, 02_<topic>.py, …) and project_checkpoint.py
images/ Board diagrams (chNN-pos-…) and charts (chNN-fig-…) generated by the code

Anatomy of a chapter

Chapters vary in structure, but most follow the same arc.

  1. A hook. A real position from a real game, a surprising data finding, or a short scene at the club — with real evaluations and numbers.
  2. Learning-path routing. Two to four short callouts tell each type of reader which sections matter most to them (see the track icons below).
  3. Numbered sections (## 14.1, ## 14.2, …). For chess concepts the pattern is: the principle, stated plainly → the reasoning (the geometry and dynamics behind it) → a classic example from the master games → a modern example, usually from the 2025–26 broadcast season → the engine perspective → the data, with sample sizes and rating-band splits → how the idea plays at different levels → exercises in line. For analytics concepts: the chess question → the idea → a formal definition → code → real output → a figure → what it means at the board → the limits.
  4. Spaced Review (from Chapter 3 on). Questions that make you retrieve two or three earlier chapters' ideas before the text restates them.
  5. Project Checkpoint. The module this chapter adds to Outpost, with an excerpt and real demo output.
  6. Chapter Summary. Reference-grade: a principles table, a checklist, or a tight list.
  7. What's Next. A short bridge to the following chapter.

The callouts

The book uses a small, fixed set of icons. You will learn them quickly.

Icon Callout What it means
🔄 Check your understanding A quick question roughly every 1,500 words. The answer is folded underneath — try before you open it.
🧩 Productive struggle A position or problem posed before the method that solves it. Struggling first makes the method stick.
🔍 Why this works The geometric or dynamic reason behind a principle — what you need to re-derive it at the board.
📋 Try it A hands-on task with a worked answer. Six kinds: Analyze this position, Build the plan, Find the tactic, Endgame technique, Database research and Engine analysis.
🤖 Engine check What Stockfish 19 says about a position, at what depth — followed by the human explanation of why.
⚠️ Common pitfall A mistake players (or analysts) make often, usually with a real example and the fix.
📐 Definition The formal definition of a metric or concept, stated once, exactly as the toolkit computes it.
🎭 Composite data The games shown belong to a composite player assembled from real anonymous games (see below).
🪞 Learning check-in A short reflection on how your learning is going — only in Chapters 4, 8, 12, 16, 20, 24, 28, 32, 36 and 40.
🚪 Threshold concept An idea that, once grasped, changes how you see everything after it — in Chapters 2, 9, 14, 33 and 36.
♟️ Position The line under every board diagram: the piece list, who is to move, and the FEN.
📊 Figure (described) The line under every chart: what it shows and the takeaway, in two to four sentences.

The same two icons also mark learning tracks: ♟️ Improver Track, 📊 Analyst Track, alongside 🏆 Competitor Track and 💻 Developer Track. Context makes the meaning clear — a track callout always appears straight after a chapter's hook and names the track in bold.

Diagrams, engine numbers and notation

Every analysed position is diagrammed, so you never need a physical board. Arrows in green show plans and good moves; red shows threats or the move that went wrong. The ♟️ Position line under each diagram is generated by code from the position itself, and its FEN can be pasted into any analysis board.

Engine evaluations are always written as +0.83 (Stockfish 19, depth 20): in pawns, two decimals, from White's point of view, with the depth. Mates are written #5 (White mates in five) or #-5 (Black mates in five). A centipawn is a hundredth of a pawn. When a conclusion depends on the depth, the chapter shows two depths. Engine numbers are measurements with a setup, not oracles; Chapter 32 explains how much they move.

Moves are in standard algebraic notation with English piece letters (K, Q, R, B, N): 12.Nf5, 12...Nf6. Annotation symbols (!, ?, !!, ?!, !?, ??) are used sparingly, and each one is justified.

Ratings always name their pool. "Lichess blitz 1600", "FIDE 1850" and "Chess.com rapid 1150" are different scales measured on different populations, and the book never converts one into another as if it were fact. Win %, accuracy, ACPL, phases, rating bands and speeds each have one definition, given in a 📐 box where first used and collected in Appendix D — Metric Encyclopedia. One example worth knowing now: the book's accuracy is the plain average of per-move accuracies, which runs higher than the number Lichess displays and is not comparable with Chess.com's proprietary figure.

Exercises, quizzes and case studies

Each exercises.md is graded from ⭐ to ⭐⭐⭐⭐ in six sections:

Section Difficulty What you do
Part A — Concepts ⭐ Check the ideas: definitions, reasons, short explanations
Part B — Positions ⭐⭐ Real positions with diagrams: analyse, plan, find the tactic, play the ending — solutions verified by engine or tablebase
Part C — Data & Code ⭐⭐–⭐⭐⭐ Extend the chapter's scripts: database research and engine analysis with stated inputs and expected output
Part D — Judgment & Transfer ⭐⭐⭐ What changes at 1200 versus 2000? When should you trust the engine?
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐ Combine this chapter with named earlier chapters — interleaving is how ideas become usable
Part E — Research & Extension ⭐⭐⭐⭐ Open-ended projects for ambitious readers and courses

Answers to selected exercises are collected in Appendix L. Quizzes keep every answer and explanation folded until you open it. Case studies follow a fixed structure — Setup → The game (or the data) → Analysis → What it means (and doesn't) → Discussion questions → Your turn — so you can use them as models for your own investigations.

The recurring cast and the four anchors

Four members of the Thursday Night Chess Club at the public library in Hartwell, a fictional town, appear throughout: Lena Ortiz, an ER nurse who came back to chess in 2020 and loves tactics puzzles; Dev Raman, a computer-science student who plays too much bullet and builds Outpost; Grace Mbeki, sixteen and about FIDE 1850, preparing for her first FIDE open; and Sam Whitaker, a retired history teacher and club organiser who owns every Chernev and Fine book and is sceptical of engines. They appear in short scenes and in most Project Checkpoints — never as experts, and never quoting real players.

Their "own games" are composites: real games played by anonymous players at the right rating, selected by a fixed rule and assembled into one record so the methods can be demonstrated on a realistic game history. Every use is labelled 🎭, and none of their numbers is a fact about a real person.

Four anchor examples recur across the book, each introduced once and revisited where it teaches something new:

  • Anchor A — The Carlsbad structure tells you the plan. Smyslov–Keres, 1948: the minority attack as a long-term plan, not a knockout (Chapters 2, 8, 21, 22, 31).
  • Anchor B — The hidden sacrifice the engine found. A real Lichess rapid game between two anonymous 1613-rated players: the missed 10.Nxf7! and its preconditions (Chapters 11, 26, 32).
  • Anchor C — The database query that seemed to reveal Dev's opening weakness. Confidence intervals before conclusions (Chapters 20, 23, 31, 35, 40).
  • Anchor D — The opponent preparation that killed Grace's assumption. A scouting story refuted by the data, and a lesson about practical chances (Chapters 24, 27, 40).

The progressive project: Outpost

Across the book you build Outpost, a personal chess analysis and improvement toolkit, as a Python package in project/outpost/. Each chapter adds exactly one module — games.py in Chapter 1, structure.py in Chapter 2, and so on to community.py in Chapter 39 — and each chapter's code/project_checkpoint.py demonstrates its module on real data. Chapter 40 assembles them into a command-line program:

python -m outpost import     --persona dev --work runs/dev
python -m outpost analyze    --work runs/dev
python -m outpost review     --work runs/dev --game 17
python -m outpost repertoire --work runs/dev
python -m outpost scout      --work runs/dev
python -m outpost progress   --work runs/dev
python -m outpost report     --work runs/dev

The same commands accept your own PGN file or a public Lichess or Chess.com account. Outpost follows the book's rules: rating pools are never mixed, and nothing is called a weakness unless an interval or a corrected test says so. You can follow the project chapter by chapter (the 💻 Developer path), or skip it entirely and use the finished toolkit after Chapter 40.

Reading code, reading output

Every chapter has code, but the code never carries the chess argument by itself. The chapter shows the key lines — usually 10 to 40 at a time — and points to the full script in code/. Output shown in ```text blocks is the real output of running that script on the book's data, pasted unedited. If you run the same script on the same data, you should get the same numbers; engine work is cached, so reruns are fast. In Chapters 1–8 each new Python or python-chess idiom is explained briefly the first time it appears; from Chapter 9 on, the book assumes Part I. Appendix A is a primer if you're new to Python.

Reading without code

If you don't want to code at all, you lose very little. Every result is stated in the prose, every position is diagrammed, and every chart has a written description. Skip the code blocks, read the text outputs only when you want the exact numbers, and do Parts A, B, D and M of the exercises.

A suggested rhythm for each chapter

  1. Read key-takeaways.md first — two minutes — so you know where the chapter is going.
  2. Read index.md with the diagrams. Answer each 🔄 before opening it, and attempt each 🧩 before reading on.
  3. Do at least the Part B positions in exercises.md, on a clock if you're a competitor.
  4. Take the quiz a day or two later; the delay is the point.
  5. Read one case study, and do its "Your turn" task.
  6. If you're building Outpost, run code/project_checkpoint.py and read the module.