Manuscript Offprint

arXiv:2610.01845

Temporal-Difference Learning for Dragonchess

Jim O'Connor, Annika Hoag, Sarah Goyette, Gary B. Parker

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jim O'Connor, Annika Hoag, Sarah Goyette, and Gary B. Parker

Connecticut College, New London CT 06320, USA

{joconno2, ahoag, sgoyette, parker}@conncoll.edu

Abstract. Our research investigates how two adaptive AI methods, evolutionary transfer learning and TD( λ\lambda), perform in the three-dimensional chess environment Dragonchess. The game challenges players with its unique board structure and computational load, making it an ideal setting to study how adaptive methods can update evaluation heuristics in novel environments. In this work we re-implement the Dragonchess engine, changing it from a PyGame engine to C++. This enables faster gameplay, allowing us to run 10,000 games with confidence intervals and significance tests, rather than a single small tournament. Both adaptive methods outperform all other agents in the round-robin tournament. Our results showed that there is no significant difference in the performance between the evolved and learned evaluations. This research establishes the efficacy of adaptive methods in structurally complex, novel game domains.

Keywords: temporal-difference learning · CMA-ES · decisive games

1 Introduction

Game playing has demonstrated to be a productive testing ground for developments in the domain of artificial intelligence (AI). From early heuristic-based strategies in chess and checkers [3] to modern deep reinforcement learning approaches exemplified by systems like AlphaZero [14], the field has progressed substantially in tailoring AI to intricate strategic settings. However, much of the previous research focused on games with moderately static board structures, primarily two-dimensional layouts with well-defined, stable piece-movement rules [6]. As AI strategies continue to advance, there is an ability to extend these techniques to increasingly complex game environments that present novel structural and strategic challenges.

Dragonchess, a game developed by Gary Gygax, offers an interesting case for studying AI adaptation in novel game environments. In contrast to traditional chess, Dragonchess features a three-tiered board, substantially increasing the state and action space of the game [7]. Its unique framework offers multilevel interactions, distinct movement rules for different piece types, and challenges players to be more forward-thinking than conventional chess-like games. These factors make Dragonchess an immensely challenging domain for game-playing research, as more traditional search-based strategies and heuristic evaluations struggle with the domain's increased complexity.

J. O'Connor et al.

Our previous work investigated evolutionary transfer learning in the context of Dragonchess by adapting heuristics from Stockfish, the leading open-source chess engine [11]. While these heuristics are optimized for conventional chess, they perform poorly when directly applied to Dragonchess, prompting us to employ the Covariance Matrix Adaptation Evolution Strategy (CMA-ES) [10] to evolve them. This work showed that through the application of CMA-ES, transferred Stockfish heuristics can adapt to a competitive Dragonchess evaluation function, resulting in an agent that outperformed handcrafted Jackman and Gygax weightings in a Swiss tournament [9]. This motivated us to explore how a learning-based method would compare to the evolutionary agent.

In this extension, we create an agent that incorporates a temporal-difference self-play TD( λ\lambda). TD( λ\lambda) enables the agent to improve its evaluation function without external supervision or search labels [17]. Transfer learning and TD( λ\lambda) differ significantly. The CMA-ES evolved agent scales a fixed set of transferred heuristics using a 14-dimensional piece-value vector. In contrast, the learning-based agent fits a 40-feature linear evaluation directly from self-play. It combines per-piece material terms with Dragonchess-specific positional signals such as frozen-piece counts, pieces stationed above certain enemies, and king-proximity counts. To compare these agents, we re-engineered the Dragonchess platform, replacing the original PyGame engine with an open-source C++ engine. It includes alpha-beta search and a transposition table, is more efficient, running thousands of decisive games per matchup, and reports statistical confidence intervals rather than a single tournament ranking.

Our tests show that both adaptive methods, evolutionary and learning, surpass the handcrafted baseline and plain search, validating the effectiveness of adaptive evaluation in Dragonchess. We illustrate that these policies are viable strategies for AI in intricate and underrepresented game domains.

On a wider scale, this work demonstrates that multiple adaptive AI-driven strategies can be applied to a three-dimensional board game, highlighting the importance of heuristic adaptation in novel domains. By illustrating the effectiveness of adaptive evaluation, whether through evolution or self-play learning, this research furthers the study of generalizable AI approaches to strategic decision-making.

References (16)