Acknowledgments
A book that promises to compute every number from real data owes everything to the people and projects that make that data and those tools free. This one could not exist without them.
The data
Lichess (https://lichess.org) is a free, open-source, non-commercial chess server, and it gives away almost everything this book is built on. Its open database publishes every rated game played on the site, month by month, under the CC0 public-domain dedication; the book's sample of four million October 2026 games comes from it. The broadcast database — over-the-board tournament games relayed live by Lichess — is the book's whole over-the-board record of the 2025–26 season, from opens and junior championships to the Candidates. The puzzle database, more than six million puzzles generated from real games, carries most of Part II. The opening explorer supplies master-level opening statistics, and the tablebase server answers every endgame question about seven pieces or fewer. Lichess's volunteers, developers and donors keep all of this running and free for everyone. Thank you.
PGN Mentor (https://www.pgnmentor.com) offers free downloadable game collections of great players across the history of chess. Its collections of forty players, from Philidor to Gukesh, are the historical record this book uses to show Morphy, Steinitz, Capablanca, Botvinnik, Tal, Petrosian, Karpov, Kasparov, Judit Polgar, Carlsen and the others in their own games.
FIDE, the International Chess Federation, publishes its full rating list as a public download. That list is the basis of the book's chapters on ratings and on who plays chess.
Chess.com provides a public Published-Data API through which the complete game archives of public accounts can be retrieved. The book uses two of them, Hikaru Nakamura's and Levy Rozman's (GothamChess), as real long-run rating histories.
The software
Stockfish (https://stockfishchess.org), the free, open-source chess engine developed by a large community of volunteers, produced every engine evaluation in this book. Version 19 was used throughout. The Stockfish project's openness — its code, its testing framework, the volunteers who donate computing time to test it — is the reason a free textbook can put the strongest chess player in the world beside every diagram.
The Syzygy tablebases, created by Ronald de Man, give the exact result of every position with seven pieces or fewer, and make it possible to verify every endgame position in Part III instead of repeating it from older books.
python-chess, the Python library for chess move generation, PGN parsing, engine communication and tablebase probing, is the foundation of every script in the book and of the Outpost project.
The analysis stands on the scientific Python ecosystem: pandas, NumPy, SciPy, scikit-learn, Matplotlib, seaborn, Apache Arrow (PyArrow), zstandard and requests. The book itself is built with mdBook and Jupyter Book.
The tradition
The ideas in this book come from two centuries of players and writers who thought hard about the game and wrote down what they found — Steinitz, Lasker, Nimzowitsch, Capablanca, Botvinnik, Kotov, Petrosian and the many authors whose books are listed in the bibliography. The data-science chapters build on the work of Claude Shannon on chess programming, Arpad Elo and Mark Glickman on rating systems, Adriaan de Groot, William Chase, Herbert Simon, Fernand Gobet and Anders Ericsson on chess expertise, and Kenneth Regan on measuring play with engines. Where the book tests their ideas against data, it does so out of respect: their claims were clear enough to be tested.
The players
Finally, thanks to the millions of players whose games are in the data — the anonymous online players whose rated games fill the Lichess database, the professionals and amateurs whose tournament games were relayed, and the champions whose games are the history of the game. Every position in this book was played by someone. We have tried to treat their games, and their privacy, with care.