Skip to main content

Lemmings Is PSPACE-Complete

  • Conference paper
Fun with Algorithms (FUN 2014)

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

Included in the following conference series:

  • 1402 Accesses

Abstract

Lemmings is a computer puzzle game developed by DMA Design and published by Psygnosis in 1991, in which the player has to guide a tribe of lemming creatures to safety through a hazardous landscape, by assigning them specific skills that modify their behavior in different ways. In this paper we study the optimization problem of saving the highest number of lemmings in a given landscape with a given number of available skills.

We prove that the game is PSPACE-complete, even if there is only one lemming to save. We thereby settle an open problem posed by Cormode in 2004, and again by Forišek in 2010. However, if we restrict to levels in which the available Builders, Bashers, and Miners are polynomially many, then the game is solvable in NP.

Furthermore, we show that saving the maximum number of lemmings is APX-hard, even when only Climbers are available. This contrasts with the membership in P of the decision problem restricted to levels with no “deadly areas” (such as water or traps) and only Climbers and Floaters, as previously established by Cormode.

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. Ausiello, C., Crescenzi, P., Gambosi, G., Kann, V., Marchetti-Spaccamela, A., Protasi, M.: Complexity and approximation: Combinatorial optimization problems and their approximability properties. Springer, Heidelberg (2003)

    Google Scholar 

  2. Cormode, G.: The hardness of the Lemmings game, or Oh no, more NP-completeness proofs. In: Proceedings of FUN 2004, pp. 65–76 (2004)

    Google Scholar 

  3. Demaine, E.D., Hearn, R.A.: Playing games with algorithms: Algorithmic combinatorial game theory. In: Albert, M.H., Nowakowski, R.J. (eds.) Games of No Chance, 3rd edn., vol. 56, pp. 3–56. MSRI Publications (2009)

    Google Scholar 

  4. Forišek, M.: Computational complexity of two-dimensional platform games. In: Boldi, P. (ed.) FUN 2010. LNCS, vol. 6099, pp. 214–227. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  5. Håstad, J.: Some optimal inapproximability results. In: Proceedings of STOC 1997, pp. 1–10 (1997)

    Google Scholar 

  6. Kendall, G., Parkes, A., Spoerer, K.: A survey of NP-complete puzzles. International Computer Games Association Journal 31, 13–34 (2008)

    Google Scholar 

  7. McCarthy, J.: Partial formalizations and the Lemmings game. Technical report. Stanford University, Formal Reasoning Group (1998)

    Google Scholar 

  8. Papadimitriou, C.H.: Computational complexity. Addison-Wesley Publishing Company, Inc. (1994)

    Google Scholar 

  9. Spoerer, K.: The Lemmings puzzle: computational complexity of an approach and identification of difficult instances. Ph.D. thesis (2007)

    Google Scholar 

  10. Viglietta, G.: Gaming is a hard job, but someone has to do it! In: Kranakis, E., Krizanc, D., Luccio, F. (eds.) FUN 2012. LNCS, vol. 7288, pp. 357–367. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this paper

Cite this paper

Viglietta, G. (2014). Lemmings Is PSPACE-Complete. In: Ferro, A., Luccio, F., Widmayer, P. (eds) Fun with Algorithms. FUN 2014. Lecture Notes in Computer Science, vol 8496. Springer, Cham. https://doi.org/10.1007/978-3-319-07890-8_29

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-07890-8_29

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-07889-2

  • Online ISBN: 978-3-319-07890-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics