| Title: |
Programming Smart Playtesting |
| Authors: |
Prasetya, I. S.W.B.; Dastani, Mehdi; Prada, Rui; Vos, Tanja E.J.; Dignum, Frank; Kifetew, Fitsum; Mintjes, Guido; Shirzadehhajimahmood, Samira; Gholizadeh Ansari, Saba; Sub Software Technology; Sub Intelligent Systems; Sub Responsible AI |
| Publication Year: |
2026 |
| Subject Terms: |
agent-based testing; automated game testing; automated playtesting; DSL for playtesting; Software |
| Description: |
Until recently the game industry heavily relied on manual playtesting to test the games it produces. Even if the benefits of introducing automated testing are acknowledged, it is rarely done in practice. Some of the main hurdles include the lack of automated testing tools that can target computer games as well as the complexity of automated game plays which are much more difficult to program than typical simple test sequences. This article presents an agent-based testing framework called aplib that comes with a Domain Specific Language (DSL) that allows complex playtests to be programmed more abstractly. A so-called goal structure is used to abstractly formulate a playtest scenario in terms of main goals and their decomposition into subgoals. Scenarios that are not too complicated can be formulated using static goal structures. More complex scenarios may need a test agent that can dynamically adapt its play according to the situation that evolves during the play. To handle such cases, aplib allows dynamic goals to be expressed as well. Invariants and pre-/post-conditions are used to assert the properties that a play is expected to satisfy. They include differential properties that allow constraints on the current state to be related to that of past states. Three case studies are included in the article. The first one aims to evaluate the performance of playtests programmed with aplib. The second shows that the approach can also be combined with other automated testing approaches, in this case reinforcement learning. The third shows the applicability of such playtests in a 3D setup and for non-functional testing. |
| Document Type: |
article in journal/newspaper |
| File Description: |
application/pdf |
| Language: |
English |
| ISSN: |
1049-331X |
| Relation: |
https://dspace.library.uu.nl/handle/1874/480921 |
| Availability: |
https://dspace.library.uu.nl/handle/1874/480921 |
| Rights: |
info:eu-repo/semantics/OpenAccess |
| Accession Number: |
edsbas.43D94E38 |
| Database: |
BASE |