Skip to main content

Havannah and TwixT are PSPACE-complete

  • Conference paper
  • First Online:
Computers and Games (CG 2013)

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

Included in the following conference series:

Abstract

Numerous popular abstract strategy games ranging from Hex and Havannah via TwixT and Slither to Lines of Action belong to the class of connection games. Still, very few complexity results on such games have been obtained since Hex was proved pspace-complete in the early 1980s.

We study the complexity of two connection games among the most widely played ones, i.e., we prove that Havannah and TwixT are pspace-complete. The proof for Havannah involves a reduction from Generalized Geography and is based solely on ring-threats to represent the input graph. The reduction for TwixT builds up on previous work as it is a straightforward encoding of Hex.

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 EPUB and 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

Notes

  1. 1.

    For a summary in English of Reisch’s reduction, see Maarup’s thesis [17].

  2. 2.

    See www.boardability.com/game.php?id=twixt and www.grappa.univ-lille3.fr/icga/ game.php?id=37 for details.

References

  1. Anshelevich, V.V.: A hierarchical approach to computer Hex. Artif. Intell. 134 (1–2), 101–120 (2002)

    Google Scholar 

  2. Arneson, B., Hayward, R.B., Henderson, P.: Monte Carlo tree search in Hex. IEEE Trans. Comput. Intell. AI Games 2(4), 251–258 (2010)

    Article  Google Scholar 

  3. Björnsson, Y., Hayward, R., Johanson, M., van Rijswijck, J.: Dead cell analysis in Hex and the Shannon game. In: Bondy, A., Fonlupt, J., Fouquet, J.-L., Fournier, J.-C., Alfonsín, J.L.R. (eds.) Graph Theory in Paris, pp. 45–59. Springer-Birkhäuser, Basel (2007)

    Google Scholar 

  4. Bonnet, É., Jamain, F., Saffidine, A.: On the complexity of trick-taking card games. In: Rossi, F. (ed.) 23rd International Joint Conference on Artificial Intelligence (IJCAI), Beijing, China, August 2013. AAAI Press

    Google Scholar 

  5. Browne, C.: Connection Games: Variations on a Theme. AK Peters, Natick (2005)

    Google Scholar 

  6. Browne, C., Powley, E., Whitehouse, D., Lucas, S., Cowling, P., Rohlfshagen, P., Tavener, S., Perez, D., Samothrakis, S., Colton, S.: A survey of Monte Carlo tree search methods. IEEE Trans. Comput. Intell. AI Games 4(1), 1–43 (2012)

    Article  Google Scholar 

  7. Bruno, J., Weinberg, L.: A constructive graph-theoretic solution of the Shannon switching game. IEEE Trans. Circ. Theory 17(1), 74–81 (1970)

    Article  MathSciNet  Google Scholar 

  8. Demaine, E.D., Hearn, R.A.: Playing games with algorithms: algorithmic combinatorial game theory. In: Nowakowski, R.J. (ed.) Games of No Chance III, pp. 3–56. Cambridge University Press, Cambridge (2009)

    Chapter  Google Scholar 

  9. Even, S., Tarjan, R.E.: A combinatorial problem which is complete in polynomial space. J. ACM (JACM) 23(4), 710–719 (1976)

    Article  MATH  MathSciNet  Google Scholar 

  10. Ewalds, T.: Playing and solving Havannah. Master’s thesis, University of Alberta (2012)

    Google Scholar 

  11. Furtak, T., Kiyomi, M., Uno, T., Buro, M.: Generalized Amazons is PSPACE-complete. In: Kaelbling, L.P., Saffiotti, A. (eds.) 19th International Joint Conference on Artificial Intelligence (IJCAI), pp. 132–137 (2005)

    Google Scholar 

  12. Hearn, R.A., Demaine, E.D.: Games, Puzzles, and Computation. AK Peters, Natick (2009)

    MATH  Google Scholar 

  13. Huber, J.R.: Computer game playing: the game of Twixt. Master’s thesis, Rochester Institute of Technology (1983)

    Google Scholar 

  14. Kiefer, S.: Die Menge der virtuellen Verbindungen im Spiel Hex ist PSPACE-vollständig. Studienarbeit Nr. 1887, Universität Stuttgart, July 2003

    Google Scholar 

  15. Lichtenstein, D., Sipser, M.: Go is polynomial-space hard. J. ACM (JACM) 27(2), 393–401 (1980)

    Article  MATH  MathSciNet  Google Scholar 

  16. Lorentz, R.J.: Improving Monte–Carlo tree search in Havannah. In: van den Herik, H.J., Iida, H., Plaat, A. (eds.) CG 2010. LNCS, vol. 6515, pp. 105–115. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  17. Maarup, T.: Hex: everything you always wanted to know about Hex but were afraid to ask. Master’s thesis, Department of Mathematics and Computer Science, University of Southern Denmark, Odense, Denmark (2005)

    Google Scholar 

  18. Mazzoni, D., Watkins, K.: Uncrossed knight paths is NP-complete (1997). http://www.cs.cmu.edu/~kw/pubs/Twixt_Proof_Draft.txt

  19. Moesker, K.: Twixt: theory, analysis and implementation. Master’s thesis, Maastricht University (2009)

    Google Scholar 

  20. Reisch, S.: Hex ist PSPACE-vollständig. Acta Inform. 15, 167–191 (1981)

    Article  MATH  MathSciNet  Google Scholar 

  21. Schaefer, T.J.: On the complexity of some two-person perfect-information games. J. Comput. Syst. Sci. 16(2), 185–225 (1978)

    Article  MATH  MathSciNet  Google Scholar 

  22. Teytaud, F., Teytaud, O.: Creating an upper-confidence-tree program for Havannah. In: van den Herik, H.J., Spronck, P. (eds.) ACG 2009. LNCS, vol. 6048, pp. 65–74. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  23. Uiterwijk, J., Moesker, K.: Mathematical modelling in Twixt. In: Löwe, B. (ed.) Logic and the Simulation of Interaction and Reasoning, pp. 29 (2009)

    Google Scholar 

  24. M.H.M, Winands, Björnsson, Y., Saito, J.-T.: Monte Carlo tree search in lines of action. IEEE Trans. Comput. Intell. AI Games 2(4), 239–250 (2010)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Abdallah Saffidine .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this paper

Cite this paper

Bonnet, É., Jamain, F., Saffidine, A. (2014). Havannah and TwixT are PSPACE-complete. In: van den Herik, H., Iida, H., Plaat, A. (eds) Computers and Games. CG 2013. Lecture Notes in Computer Science(), vol 8427. Springer, Cham. https://doi.org/10.1007/978-3-319-09165-5_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-09165-5_15

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-09164-8

  • Online ISBN: 978-3-319-09165-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics