Skip to main content

The Algorithmics of Solitaire-Like Games

  • Conference paper
Mathematics of Program Construction (MPC 2010)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6120))

Included in the following conference series:

Abstract

Puzzles and games have been used for centuries to nurture problem-solving skills. Although often presented as isolated brain-teasers, the desire to know how to win makes games ideal examples for teaching algorithmic problem solving. With this in mind, this paper explores one-person solitaire-like games.

The key to understanding solutions to solitaire-like games is the identification of invariant properties of polynomial arithmetic. We demonstrate this via three case studies: solitaire itself, tiling problems and a collection of novel one-person games. The known classification of states of the game of (peg) solitaire into 16 equivalence classes is used to introduce the relevance of polynomial arithmetic. Then we give a novel algebraic formulation of the solution to a class of tiling problems. Finally, we introduce an infinite class of challenging one-person games inspired by earlier work by Chen and Backhouse on the relation between cyclotomic polynomials and generalisations of the seven-trees-in-one type isomorphism. We show how to derive algorithms to solve these games.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Golomb, S.W.: Polyominoes. George Allen & Unwin Ltd. (1965)

    Google Scholar 

  2. Mackinnon, N.: An algebraic tiling proof. The Mathematical Gazette 73(465), 210–211 (1989)

    Article  Google Scholar 

  3. Piponi, D.: Arboreal isomorphisms from nuclear pennies (September 2007), Blog post available at, http://blog.sigfpe.com/2007/09/arboreal-isomorphisms-from-nuclear.html

  4. Chen, W., Backhouse, R.: From seven-trees-in-one to cyclotomics (2010) (submitted for publication), http://cs.nott.ac.uk/~wzc

  5. de Bruijn, N.G.: A Solitaire game and its relation to a finite field. J. of Recreational Math. 5, 133–137 (1972)

    Google Scholar 

  6. Berlekamp, E.R., Conway, J.H., Guy, R.K.: Winning Ways, vol. I, II. Academic Press, London (1982)

    MATH  Google Scholar 

  7. Reiss, M.: Beitrage zur Theorie der Solitär-Spiels. Crelle’s J. 54, 344–379 (1857)

    MATH  Google Scholar 

  8. Dijkstra, E.W.: The checkers problem told to me by M.O. Rabin (September 1992), http://www.cs.utexas.edu/users/EWD/ewd11xx/EWD1134.PDF

  9. Piponi, D.: Using thermonuclear pennies to embed complex numbers as types (October 2007), Blog post available at, http://blog.sigfpe.com/2007/10/using-thermonuclear-pennies-to-embed.html

  10. Blass, A.: Seven trees in one. Journal of Pure and Applied Algebra 103(1), 1–21 (1995)

    Article  MATH  MathSciNet  Google Scholar 

  11. Fiore, M.: Isomorphisms of generic recursive polynomial types. In: Proceedings of the 31st Annual ACM SIGPLAN-SIGACT Symposium on the Principles of Programming Languages, pp. 77–88. ACM Press, New York (2004)

    Chapter  Google Scholar 

  12. Lawvere, F.W.: Some thoughts on the future of category theory. Lecture Notes in Mathematics, vol. 1488, pp. 1–13 (1991)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Backhouse, R., Chen, W., Ferreira, J.F. (2010). The Algorithmics of Solitaire-Like Games. In: Bolduc, C., Desharnais, J., Ktari, B. (eds) Mathematics of Program Construction. MPC 2010. Lecture Notes in Computer Science, vol 6120. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-13321-3_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-13321-3_1

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-13320-6

  • Online ISBN: 978-3-642-13321-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics