Skip to main content

Using Graph Transformation for Puzzle Game Level Generation and Validation

  • Conference paper
  • First Online:
Graph Transformation (ICGT 2016)

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

Included in the following conference series:

Abstract

As part of a student’s project, computer science student David Priemer and former graphics design student Daniel Goffin started to develop a nice puzzle based computer game called Perlinoid. In his Bachelor thesis, David developed a level generator for Perlinoid. The challenge was to generate interesting puzzles with a reasonably small number of elements and reasonably complex series of steps required for the solution. Being educated in graph transformations, David modeled the possible puzzles as graphs and possible user steps as graph transformations. First a random level is generated, for which the level generator computes a reachabilty graph by applying all graph transformations in all possible combinations on all possible matches. Next, the reachability graph is analyzed for distances between start graph and end graph, number of possible choices, number of different solution paths, etc. and a number of metrics are applied. Finally, the result gets evaluated. In case the level is considered insufficient, it will be discarded and the process starts from the beginning. This is done within the Perlinoid application on demand at user side. To minimize the footprint of the level generator, a new dedicated graph transformation engine has been built and incorporated into the Perlinoid game. This paper reports about the concepts and experiences with this approach.

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

References

  1. Fischer, T., Niere, J., Torunski, L., Zündorf, A.: Story diagrams: a new graph rewrite language based on the unified modeling language and java. In: Ehrig, H., Engels, G., Kreowski, H.-J., Rozenberg, G. (eds.) TAGT 1998. LNCS, vol. 1764, pp. 296–309. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  2. Geiß, R., Kroll, M.: GrGen.NET: a fast, expressive, and general purpose graph rewrite tool. In: Schürr, A., Nagl, M., Zündorf, A. (eds.) Applications of Graph Transformations with Industrial Relevance. LNCS, vol. 5088, pp. 568–569. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  3. Graph Engineering Course at Kassel University

    Google Scholar 

  4. GraphSynth. Open-source research software for creating generative grammars (2006). http://designengrlab.github.io/GraphSynth/. 17 Feb 2016

  5. Rensink, A.: The GROOVE Simulator: A Tool for State Space Generation. In: Pfaltz, J.L., Nagl, M., Böhlen, B. (eds.) Applications of Graph Transformations with Industrial Relevance. LNCS, vol. 3062, pp. 479–485. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  6. SDMLib.org. Story Driven Modeling Library at GitHub (2014). https://github.com/fujaba/SDMLib, 17 Feb 2016

Download references

Acknowledgments

Perlinoid is (c) 2016 by David Priemer and Daniel Goffin. All ingame assets were created by Daniel Goffin.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Albert Zündorf .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Priemer, D., George, T., Hahn, M., Raesch, L., Zündorf, A. (2016). Using Graph Transformation for Puzzle Game Level Generation and Validation. In: Echahed, R., Minas, M. (eds) Graph Transformation. ICGT 2016. Lecture Notes in Computer Science(), vol 9761. Springer, Cham. https://doi.org/10.1007/978-3-319-40530-8_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-40530-8_14

  • Published:

  • Publisher Name: Springer, Cham

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

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

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics