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

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...

Full description

Saved in:
Bibliographic Details
Published in:Applied sciences Vol. 15; no. 1; p. 157
Main Authors: Cromer, Christopher, Araneda, Martin, Rubio-Manzano, Clemente
Format: Journal Article
Language:English
Published: Basel MDPI AG 01.01.2025
Subjects:
ISSN:2076-3417, 2076-3417
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary: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.
Bibliography:ObjectType-Article-1
SourceType-Scholarly Journals-1
ObjectType-Feature-2
content type line 14
ISSN:2076-3417
2076-3417
DOI:10.3390/app15010157