We present an algorithm to add puzzles to maps represented as graphs. The algorithm starts from an empty map, represented as a graph, with at least one entry area and one exit area. It runs several specialized agents responsible for adding puzzles (e.g., locked doors, keys, switches). It generates a map with at least one acceptable solution (path) whose difficulty depends on the type of agents used (that is, the variety of puzzles added) and the number of puzzles added by each agent. Most importantly, no sequence of actions can leave the players stuck in a dead-end situation with no way to reach the goal. We include two examples of agents specialized in (i) switch mechanics (e.g., a lever that opens a passage and closes another one, the lighting of a fire that shows an inscription needed to solve another puzzle), and (ii) element collection mechanics (e.g., collecting keys or other puzzle elements to open a passage).

An Agent-Based Approach for Procedural Puzzle Generation in Graph-Based Maps

Francesco Venco;Pierluca Lanzi
2021-01-01

Abstract

We present an algorithm to add puzzles to maps represented as graphs. The algorithm starts from an empty map, represented as a graph, with at least one entry area and one exit area. It runs several specialized agents responsible for adding puzzles (e.g., locked doors, keys, switches). It generates a map with at least one acceptable solution (path) whose difficulty depends on the type of agents used (that is, the variety of puzzles added) and the number of puzzles added by each agent. Most importantly, no sequence of actions can leave the players stuck in a dead-end situation with no way to reach the goal. We include two examples of agents specialized in (i) switch mechanics (e.g., a lever that opens a passage and closes another one, the lighting of a fire that shows an inscription needed to solve another puzzle), and (ii) element collection mechanics (e.g., collecting keys or other puzzle elements to open a passage).
2021
2021 IEEE Conference on Games (CoG), Copenhagen, Denmark, August17-20, 2021
978-1-6654-3886-5
File in questo prodotto:
File Dimensione Formato  
An_Agent-Based_Approach_for_Procedural_Puzzle_Generation_in_Graph-Based_Maps.pdf

Accesso riservato

: Publisher’s version
Dimensione 264.24 kB
Formato Adobe PDF
264.24 kB Adobe PDF   Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11311/1208001
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
social impact