Book

Games, Puzzles, and Computation

by Robert A. Hearn, Erik D. Demaine

📖 Overview

Games, Puzzles, and Computation explores the computational complexity of solving logic puzzles and making optimal moves in games. The 2009 book by Robert Hearn and Erik Demaine examines real-world games and puzzles rather than theoretical mathematical constructs. The text introduces nondeterministic constraint logic as a framework for analyzing game complexity, demonstrating how common games like sudoku, Rush Hour, reversi, and chess possess different levels of computational difficulty. The book shows how these games can be classified as NP-complete, PSPACE-complete, or EXPTIME-complete based on their complexity. The material is structured in three sections, with the first focusing on constraint logic fundamentals, the second applying these concepts to prove the computational hardness of various games, and the third presenting new findings about multiplayer game complexity. Through this structure, the authors present both previously known proofs and new discoveries about game theory. The work represents a significant contribution to computational complexity theory, bridging abstract mathematical concepts with practical applications in game design and analysis. Its framework provides tools for understanding the inherent difficulty of games and puzzles that humans regularly encounter.

👀 Reviews

The book gets reviewed mainly by computer science academics and puzzle enthusiasts. Most readers mention it builds on advanced concepts and requires significant mathematical background. Readers appreciated: - Rigorous treatment of computational complexity in games/puzzles - Clear explanations of constraint logic - High-quality diagrams and visual examples - Comprehensive coverage of reduction techniques Common criticisms: - Very technical and dense for non-experts - Limited accessibility for general readers - High price point for a niche academic text - Some sections feel overly formal Ratings: Goodreads: 4.0/5 (5 ratings) Amazon: No ratings available Google Books: No ratings available One academic reviewer noted it "fills an important gap between recreational mathematics and computational theory." A computer science student mentioned "the constraint logic framework was enlightening but took significant effort to grasp fully." Limited review data exists due to the book's specialized academic nature.

📚 Similar books

Algorithmic Puzzles by Anany Levitin and Maria Levitin This book presents mathematical and computational puzzles with analysis of their algorithmic approaches and complexity.

Computers and Games by Jonathan Schaeffer and H. Jaap van den Herik The book explores computational game theory, artificial intelligence in gaming, and mathematical approaches to classic games.

Mathematical Puzzles: A Connoisseur's Collection by Peter Winkler The collection connects abstract mathematics to puzzle-solving through formal proofs and computational methods.

The Mathematics of Various Entertaining Subjects by Jennifer Beineke and Jason Rosenhouse The text examines the mathematical structures underlying games, puzzles, and recreational mathematics with formal rigor.

Winning Ways for Your Mathematical Plays by J. H. Conway The book provides mathematical analysis of combinatorial games and their computational properties.

🤔 Interesting facts

🎮 Erik D. Demaine became the youngest professor in MIT's history when he was hired at age 20 in 2001. 🧩 The book's framework revolutionized how we classify puzzle difficulty, proving that many popular sliding block puzzles are PSPACE-complete - one of the highest complexity classes. 🎲 The Rush Hour puzzle, featured prominently in the analysis, was proven to be PSPACE-complete by the authors, meaning it's computationally as hard as far more complex games. 📚 The book emerged from Robert A. Hearn's PhD thesis at MIT, where he developed the groundbreaking "nondeterministic constraint logic" model under Demaine's supervision. 🔬 The computational complexity theories discussed in this book have practical applications in artificial intelligence, particularly in developing algorithms for game-playing computers.