Games, Puzzles, and Computation

Games, Puzzles, and Computation is a book on game complexity, written by Robert Hearn and Erik Demaine, and published in 2009 by A K Peters. It is revised from Hearn's doctoral dissertation, which was supervised by Demaine. The Basic Library List Committee of the Mathematical Association of America has recommended it for inclusion in undergraduate mathematics libraries.

Topics
Games, Puzzles, and Computation concerns the computational complexity theory of solving logic puzzles and making optimal decisions in two-player and multi-player combinatorial games. Its focus is on games and puzzles that have seen real-world play, rather than ones that have been invented for a purely mathematical purpose. In this area it is common for puzzles and games such as sudoku, Rush Hour, reversi, and chess (in generalized forms with arbitrarily large boards) to be computationally difficult: sudoku is NP-complete, Rush Hour and reversi are PSPACE-complete, and chess is EXPTIME-complete. Beyond proving new results along these lines, the book aims to provide a unifying framework for proving such results, through the use of nondeterministic constraint logic, an abstract combinatorial problem that more closely resembles game play than the more classical problems previously used for completeness proofs.

It is divided into three parts. The first part concerns constraint logic, which involving assigning orientations to the edges of an undirected graph so that each vertex has incoming edges with large-enough total weight. The second part of this book applies constraint logic in new proofs of hardness of various real-world games and puzzles, by showing that, in each case, the vertices and edges of a constraint logic instance can be encoded by the moves and pieces of the game. Some of these hardness proofs simplify previously-known proofs; some ten of them are new, including the discovery that optimal play in certain multiplayer games can be an undecidable problem. A third part of the book provides a compendium of known hardness results in game complexity, updating a much shorter list of complete problems in game complexity from the 1979 book Computers and Intractability. An appendix provides a review of the methods from computational complexity theory needed in this study, for readers unfamiliar with this area.

Audience and reception
Although primarily a research monograph and reference work for researchers in this area, reviewer Oswin Aichholzer recommends the book more generally to anyone interested in the mathematics of games and their complexity. Liljana Babinkostova writes that Games, Puzzles, and Computation is enjoyable reading, successful in its "purpose of building a bridge between games and the theory of computation".

Leon Harkleroad is somewhat more critical, writing that the book feels padded in places, and Joseph O'Rourke complains that its organization, with many pages of abstract mathematics before reaching the real-world games, does not lend itself to cover-to-cover reading. However, both Harkleroad and O'Rourke agree that the book is well-produced and thought-provoking.