Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
The algorithmics of solitaire-like games
Backhouse R., Chen W., Ferreira J. Science of Computer Programming78 (11):2029-2046,2013.Type:Article
Date Reviewed: Jul 7 2014

Using three types of solitaire puzzles, peg-jumping games, chessboard tiling problems, and a type that the authors call replacement-set games, the authors provide examples of the use of invariants in the design and solution of such puzzles. Their aim, stated several times throughout the paper, is to provide examples “with a view to using them as an aid to teaching algorithmic problem-solving.”

With regard to this pedagogical goal, the material in Sections 2 and 3 on peg games and tiling is accessible to upper-level undergraduates with some knowledge of abstract algebra. However, the results in these sections are primarily about solvability rather than designing algorithms. Invariant properties of polynomials over a finite field are used to classify the positions in peg-jumping puzzles. The authors prove necessary and sufficient conditions on m and n for tiling an m × m checkerboard with a single 1 × 1 tile and a set of n ×1 tiles, where n < m.

It is not until the much longer Section 4 on replacement-set games that more attention is given to developing algorithmic solutions to puzzles. The material, which depends heavily upon the theory of cyclotomic polynomials, seems much more suited to a graduate special topics seminar than a standard or advanced course in algorithm design. The puzzles, which involve stacking and unstacking checkers on the cells of an infinite one-dimensional tape according to a fixed set of rules, are variants of the so-called “nuclear pennies game,” and the authors describe how to construct and solve an infinite class of such puzzles.

Throughout the paper, some remarks are included to explain or justify nonstandard or unfamiliar notations; for instance, the authors adopt the so-called Eindhoven quantifier notation and use a lengthy footnote to describe it. The reasons for such notational choices are not always clear from the paper itself, but the references (particularly chapter 2 of the third author’s PhD dissertation) supply insights into the pedagogical motivations behind such decisions.

While Section 4 seems to be less clearly valuable as a teaching example than the two preceding sections (at least for standard algorithm design courses), the results are nonetheless interesting and thought provoking. Most of the necessary theorems on fields and field extensions, cyclotomic polynomials, and so on are provided in the paper; the references and Wikipedia provide the rest.

Reviewer:  R. Roos Review #: CR142476 (1410-0886)
Bookmark and Share
 
Games (I.2.1 ... )
 
 
Games (K.8.0 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Games": Date
How computers play chess
Levy D. (ed), Newborn M., Computer Science Press, Inc., New York, NY, 1991. Type: Book (9780716782391)
Oct 1 1991
Computer chess
Pachman L., Kühnmund V., Routledge&Kegan Paul Ltd., London, UK, 1986. Type: Book (9789780710097859)
Oct 1 1987
Sums of games born on Days 2 and 3
Moews D. Theoretical Computer Science 91(1): 119-128, 1991. Type: Article
Feb 1 1993
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy