Manuscript Offprint

arXiv:2609.03122

Turn-Based Combat Arena: A New Framework for Multiagent Training and Game Balancing

V. M. Vasyuta, V. V. Malitskyi, O. S. Kushnir, B. I. Horon, V. A. Franiv

Abstract

This paper is the first in a series on Turn-Based Combat Arena, a configurable framework for turn-based strategy games designed to support the efficient training and evaluation of machine learning agents. The proposed framework enables flexible modification of game rules and parameters, allowing rapid experimentation across diverse scenarios. Its architecture is optimized for high-throughput simulation, supporting tens of thousands of games per second and enabling the storage and processing of billions of gameplay records on a single machine. The problem of balancing the game, and particularly the parameters of game units, is investigated in detail. We evaluate several optimization approaches and show that multiple methods converge to comparable solutions, suggesting robustness in identifying balanced game configurations. These results indicate that the framework can serve as a practical platform for both game design analysis and agent training.

1 Introduction

Since the early 1990s, when Chinook became the first computer program to defeat a human world champion in a board game (checkers) [1], games have served as a crucial testbed for developing and evaluating artificial intelligence (AI) algorithms. They provide a controlled environment with clear rules and objectives, making the games ideal for testing various AI techniques.

Similar to Chinook, most AI players that first demonstrated superhuman performance in different games relied on databases of previously played games to determine the optimal behavior in the opening and endgame, while exploring intermediate game states, using some form of tree search. This is the case for chess (DeepBlue, 1997) [2], Othello (Logistello, 1997) [3], and Arimaa (SHARP, 2015) [4]. Such approaches require not only advanced algorithms, but also extensive computational resources. This can be seen in the comparison between game complexity and the year in which machine learning (ML) algorithms reached superiority in it. In particular, we deal with the problems with the state-space complexities of around 102010^{20} for checkers [5], and 104310^{43} for chess [6] and Arimaa [7]. As a result, mastering so complicated a game as Go with the state-space complexity 1017010^{170} [8] or even more complex commercial video games has been a chal-

lenge for decades.

To overcome these challenges, in 2016, AlphaGo [9], an AI agent to play the game of Go, leveraged the power of neural networks and introduced a value network for the estimation of state rewards and a policy network for the selection of moves. This approach has significantly reduced the search space and allowed AlphaGo to achieve superhuman performance, despite the enormous search space.

AlphaGo's successor, AlphaZero [10], has generalized this approach, demonstrating that the same architecture can achieve superhuman performance in chess and shogi without game-specific adjustments or a database of human-played games. The training process relies solely on self-play and reinforcement learning. A remarkable example can also demonstrate the power of neural networks: replacing a hand-crafted evaluation function in an open-source Stockfish ML player [11] with a fully neural network-based one [12] has resulted in a significant performance improvement, allowing the player to defeat the long-time champion AlphaZero in 2025 [13].

Moreover, reinforcement learning models combined with neural networks have been successfully applied to commercial video games with practically infinite state spaces, such as StarCraft II (with approximately 102610^{26} possible actions at each step) [14], Minecraft [15], Dota 2 [16] (where OpenAI Five has defeated world champions in 2019) and Google Research Football [17].

Although neural networks, in conjunction with classical methods, currently represent the state of the art in game-playing AI, achieving victory is not the only goal. There are many other open questions in game theory, such as

¹Department of Optoelectronics and Information Technologies, Ivan Franko National University of Lviv, 107 Tarnavskyi Street, 79017 Lviv, Ukraine. wasasiuta@gmail.com, oleh.kushnir@lnu.edu.ua, bohdan.horon@lnu.edu.ua, volodymyr.franiv@lnu.edu.ua ²Gemicle, 24 Soborna Street, 21050 Vinnytsia, Ukraine. vadym.malitsky357@gmail.com the relation between player performance and complexity of his/her behavior and underlying decision-making processes [18], the effects of diversity of playing strategies in multiagent gaming environments [19], [20], [21], or the mechanisms of appearance of power laws and memory effects in game-history databases [22], [23] and in models' training and inference datasets [24]. Another open question of primary importance concerns the meaning of balance in the game [25]. Finally, among all known board games, checkers remains the only one that has been (weakly) solved: it has been proven that the game always ends in a draw with perfect play from both sides [5].

These considerations motivate the investigation of simpler games than modern commercial ones, so that the basic principles of strategic behavior are not obscured by complicated game mechanics or the parameters of neural network agents. At the same time, the games under test must remain sufficiently complex to contain a diverse set of possible strategies. In this regard, turn-based strategy games are a promising domain for such studies.

From the game theory perspective, turn-based strategy games represent stochastic Markov games, first introduced by L. S. Shapley [26] and actively studied in recent decades, with many important results obtained for equilibrium points [27, 28], the value of games [29] and their computational complexity [30]. Moreover, turn-based strategy games are widely represented in the gaming industry, making their study important from a practical standpoint.

There are many possible variations in the rules of turn-based strategy games [31], but only a few have been widely considered in the literature. One of the most studied games of this type is TUBSTAP [31], in which two teams composed of different types of units, with different attack, defense, attack-range, and movement-capacity parameters, aim to eliminate all units of their opponent on a two-dimensional rectangular board. Another game, STRATEGA [32], is an attempt to build a configurable game framework in which available units, map terrain, and even victory conditions can be configured via a YAML file. A more complicated game, ADAPTA [33], introduces a 'factory' of game units, keeping the game itself relatively simple compared to commercial video games.

In this paper, we introduce a new, highly configurable game framework, the Turn-Based Combat Arena (TBCA), which is designed for ML studies. The game is described in Section 2, where we define its rules and derive an exact expression for its state-space complexity. In Section 3, we describe the architecture of our framework, which allows one to achieve a game simulation throughput of tens of thousands of games per second and the storage and processing of billions of battle records on a single machine. Section 4 is devoted to the central problem of this study, the balance of the game. Finally, in Section 5 we

summarize the main results and conclusions.

References (35)

  • A world championship caliber checkers program
  • The Othello match of the year: Takeshi Murakami vs. Logistello: Princeton NJ, USA August 4-7, 1997
  • Checkers is solved
  • XXII. Programming a computer for playing chess
  • Analysis and implementation of the Game Arimaa
  • and Farnebäck, G., 2006
  • Mastering the game of Go with deep neural networks and tree search
  • A general reinforcement learning algorithm that masters chess, shogi, and Go through self-play
  • Grandmaster level in StarCraft II using multiagent reinforcement learning
  • Mastering diverse control tasks through world models
  • Dota 2 with Large Scale Deep Reinforcement Learning
  • Google Research Football: a novel reinforcement learning environment
  • and Billoni, O.V., 2025
  • and Kliem, J., 2023
  • Effects of diversity on multiagent systems: minority games
  • Modelling behavioural diversity for learning in open-ended games
  • and Tönjes, R., 2009
  • A study of memory effects in a chess database
  • and Gros, C., 2026
  • Balancing wargames through predicting unit point costs
  • Stochastic games
  • and Escobar, J.F., 2010
  • and Sun, Y., 2017
  • and Oliu-Barton, M., 2019
  • The complexity of Markov equilibrium in stochastic games
  • A platform for turn-based strategy games, with a comparison of Monte-Carlo algorithms
  • STRATEGA: a general strategy games framework
  • and Spronck, P., 2008
  • Monte-Carlo search techniques in the modern board game Thurn and Taxis (Doctoral dissertation, MS thesis, Maastricht Univ., Netherlands)
  • Using coevolution to understand and validate game balance in continuous games
  • Evolving card sets towards balancing dominion
  • A systematic review of coevolution in real-time strategy games
  • Markov games as a framework for multiagent reinforcement learning
  • STEP: a framework for automated point cost estimation
  • The CMA evolution strategy: A tutorial (opens arXiv in a new tab)