Research Article

Randomized Pacman maze generation algorithm

Kwan Man Cheng1,*, Hongfan Liu2, Xinyu Dou3
1. Beijing Normal University
2. Zhejiang University
3. Pennsylvania State University

* Corresponding author: [email protected]

Abstract

Pacman, a cultural icon since its debut in 1980, is celebrated for its captivating static maze design. This research explores innovative algorithms, including an improved version of Sidewinder, in the context of dynamic maze generation for Pacman. Traditional algorithms, constituting the initial focus, serve as counterexamples to highlight their unsuitability in creating Pacman mazes due to their generic design unrelated to the game's unique gameplay. By showcasing these limitations, the study emphasizes the necessity for tailored solutions that align with Pacman's dynamic environment. Subsequently, attention shifts to an innovative algorithm exhibiting promise for Pacman maze generation. An in-depth analysis, using the same rigorous criteria applied to traditional algorithms provides essential insights into its potential for enhancing the Pacman gaming experience.

Keywords: Pacman; Maze generation algorithms; Sidewinder
Published: February 23, 2024
DOI: 10.54254/2755-2721/42/20230771
Volume: ACE Vol.42
pp. 156-162
Download PDF

References

  1. Lowood, H. E. (2004). Pac-Man. Encyclopedia Britannica. https://www.britannica.com/topic/Pac-Man-1688279
  2. Kent, Steve L. 2001. The Golden Age (Part I: 1979-1980). The Ultimate History of Video Games. New York, Three Rivers Press. PP. 141-143
  3. M. Gallagher, A. Ryan. (2003) "Learning to play Pac-Man: an evolutionary, rule-based approach," In: The 2003 Congress on Evolutionary Computation. Canberra, ACT, Australia, 2003, pp. 2462-2469 Vol.4
  4. Liapis, A., Yannakakis, G. N., & Togelius, J. (2013). Sentient sketchbook: Computer-aided game level authoring. In Proceedings of the International Conference on Foundations of Digital Games (FDG) (pp. 213-220)
  5. Hendrikx, M., Meijer, S., Van Der Velden, J., & Iosup, A. (2013). Procedural content generation for games: A survey. ACM Transactions on Multimedia Computing, Communications, and Applications (TOMM), 9(1), 1-22.
  6. Safak, A., Bostanci, G. E., & Soylucicek, A. (2016). Automated Maze Generation for Ms. Pac-Man Using Genetic Algorithms. International Journal of Machine Learning and Computing, 6, 226-230. doi: 10.18178/ijmlc.2016.6.4.602.
  7. Karlsson, A. (2018). Evaluation of the Complexity of Procedurally Generated Maze Algorithms (Dissertation). https://urn.kb.se/resolve?urn=urn:nbn:se:bth-16839
  8. Gabrovšek, P. (2019). Analysis of maze generating algorithms. IPSI Transactions on Internet Research. http://ipsitransactions.org/journals/papers/tir/2019jan/p5.pdf
  9. Buck, J. (2015). Mazes for Programmers: Code Your Own Twisty Little Passages. Pragmatic Bookshelf.
  10. Kwiecień, J. (2018). A Swarm-Based Approach to Generate Challenging Mazes. Entropy, 20(10), 762.