How to solve a game

How to Solve a Game by Paul Highway

HOW TO SOLVE A GAME

Exact Search, Tablebases, Oracles and Computational Proof

A practical guide to the architecture of exact game solving: defining states correctly, proving the rules engine, searching efficiently, building tablebases and oracles, and producing results that can be checked independently.

By Paul Highway

How to Solve a Game is about the structure of exact computational game solving: deciding what the state really is, implementing the rules correctly, solving finite regions exactly, and turning solved positions into reusable knowledge.

The book develops a progression from exhaustive search and memoisation through retrograde analysis, dense state ranking, tablebases, exact oracles, proof-number search, hybrid solving and independently checkable computational proofs.

Fanorona provides the principal real-world case study, showing how the techniques scale from small teaching programs to a substantial solver project.

Code and computational materials

The companion page contains runnable Python examples, chapter-by-chapter teaching packages, checksums, Fanorona solver material, verification tools, errata and project updates.

View the How to Solve a Game companion materials →

Available editions

Paperback ISBN: 9781065430520
eBook ISBN: 9781065430537

Paperback available through retailers in the USA, UK, Europe and Australia.