Design and Implementation of a Compiled Declarative Language for Game AI Control

0Citations
Citations of this article
9Readers
Mendeley users who have this article in their library.

Abstract

Video games have become one of the most popular forms of entertainment around the world. Currently, agents (bots or non-player characters) are predominantly programmed using procedural and deterministic imperative techniques, which pose significant drawbacks in terms of cost and time efficiency. An interesting and alternative line of work is to develop declarative scripting languages which align the programming task closer to human logic. This allows programmers to intuitively implement agents’ behaviors using straightforward rules. In this regard, most of these languages are interpreted, which may impact performance. Hence, this article presents the design and implementation of a new declarative and compiled scripting language called Obelysk for controlling agents. To test and evaluate the language, a video game was created using the Godot game engine, which allowed us to demonstrate the correct functionality of our scripting language to program the AIs participating in the video game. Finally, an analytics platform was also developed to evaluate the correct behavior of the programmed agents.

Cite

CITATION STYLE

APA

Cromer, C., Araneda, M., & Rubio-Manzano, C. (2025). Design and Implementation of a Compiled Declarative Language for Game AI Control. Applied Sciences (Switzerland), 15(1). https://doi.org/10.3390/app15010157

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free