• Sep 11, 2025 News!A full waiver of Article Processing Charges (APC) for articles accepted until December 31, 2026   [Click]
  • Jun 30, 2026 News!JAAI Volume 4, Number 2 is available now.   [Click]
  • Mar 27, 2026 News! JAAI Volume 4, Number 1 is available now   [Click]
General Information
    • Abbreviated Title: J. Adv. Artif. Intell.
    • E-ISSN: 2972-4503
    • Frequency: Quarterly
    • DOI: 10.18178/JAAI
    • Editor-in-Chief: Prof. Dr.-Ing. Hao Luo
    • Managing Editor: Ms. Jennifer X. Zeng
    • E-mail: editor@jaai.net
Editor-in-chief
Prof. Dr.-Ing. Hao Luo
Harbin Institute of Technology, Harbin, China
 
It is my honor to be the editor-in-chief of JAAI. The journal publishes good papers in the field of artificial intelligence. Hopefully, JAAI will become a recognized journal among the readers in the field of artificial intelligence.


 
JAAI 2025 Vol.3(1): 90-108
doi: 10.18178/JAAI.2025.3.1.90-108

Generative Datalog for Procedural Content Generation in Video Games

Mario Alviano * , Pasquale Tudda

  • Department of Mathematics and Informatics, University of Calabria, Via Bucci 30/B, 87036 Rende (CS), Italy.

* Corresponding author

  • Manuscript received December 12, 2024
  • revised December 25, 2024
  • accepted December 31, 2024
  • published March 12, 2025

Abstract

Procedural Content Generation (PCG) is a cornerstone of modern game development, enabling the automatic creation of game levels, characters, and narratives. This paper presents a novel methodology for PCG using Generative Datalog (GDatalog), a rule-based language extended with probabilistic capabilities. By treating the game state and previously generated elements as logical facts and representing generation rules as probabilistic GDatalog programs, we provide a declarative framework for content generation. Our approach iteratively maps the evolving game state to new game elements, ensuring both variability and adherence to gameplay constraints. The methodology is demonstrated through examples, highlighting its ability to produce diverse, context-sensitive content while maintaining logical consistency. This work lays the groundwork for structured, rule-driven PCG pipelines that leverage logical inference and probabilistic reasoning to enrich player experiences.

Keywords

  • Procedural content generation
  • probabilistic logic programming
  • answer set programming
  • declarative programming
JAAI-V3N1-38

How to Cite

Copied

Mario Alviano and Pasquale Tudda, "Generative Datalog for Procedural Content Generation in Video Games," Journal of Advances in Artificial Intelligence, vol. 3, no. 1, pp. 90-108, 2025. https://doi.org/ 10.18178/JAAI.2025.3.1.90-108

Copyright & License

Copyright © 2025 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions

Copyright © 2023-2026. Journal of Advances in Artificial Intelligence. Unless otherwise stated.

E-mail: editor@jaai.net