[Paper Review] Evolutionary Approach to Collectible Card Game Arena Deckbuilding using Active Genes
This paper proposes an evolutionary algorithm with active genes for optimizing deckbuilding strategies in the arena mode of Legends of Code and Magic, a collectible card game with high non-determinism and unknown card pools. By restricting genetic operators to only the most relevant (active) genes in each draft, the method accelerates learning and improves performance over baselines, with some variants achieving statistically superior win rates despite noisy fitness evaluations.
In this paper, we evolve a card-choice strategy for the arena mode of Legends of Code and Magic, a programming game inspired by popular collectible card games like Hearthstone or TES: Legends. In the arena game mode, before each match, a player has to construct his deck choosing cards one by one from the previously unknown options. Such a scenario is difficult from the optimization point of view, as not only the fitness function is non-deterministic, but its value, even for a given problem instance, is impossible to be calculated directly and can only be estimated with simulation-based approaches. We propose a variant of the evolutionary algorithm that uses a concept of an active gene to reduce the range of the operators only to generation-specific subsequences of the genotype. Thus, we batched learning process and constrained evolutionary updates only to the cards relevant for the particular draft, without forgetting the knowledge from the previous tests. We developed and tested various implementations of this idea, investigating their performance by taking into account the computational cost of each variant. Performed experiments show that some of the introduced active-genes algorithms tend to learn faster and produce statistically better draft policies than the compared methods.
Motivation & Objective
- To address the challenge of evolving effective draft strategies in the arena mode of collectible card games, where card pools are unknown and fitness is non-deterministic.
- To reduce computational cost and improve learning efficiency in evolutionary strategies for CCG deckbuilding by focusing genetic operators on relevant gene subsets.
- To develop and evaluate variants of active genes that selectively update only the most relevant parts of the genotype per draft, enhancing convergence and performance.
Proposed method
- Introduces the concept of 'active genes'—a dynamic subset of the genotype relevant to the current draft—on which genetic operators are applied.
- Applies selection via merging parents and offspring from specific subsets, rather than full population selection, to preserve relevant knowledge across generations.
- Uses simulation-based fitness estimation to evaluate deck performance in a highly stochastic environment.
- Designs multiple algorithm variants: AG_weights, AG_weights/Kg, and AG_weights/2d, differing in how drafts are reused and generations are scheduled.
- Batches learning by reusing the same draft across multiple generations, reducing the number of required simulations while maintaining performance.
- Employs a computational cost measure to ensure fair comparison across variants, adjusting generations and simulations accordingly.
Experimental results
Research questions
- RQ1Can an evolutionary algorithm that restricts genetic operators to only active genes in each draft outperform standard evolutionary methods in CCG arena deckbuilding?
- RQ2How does the proportion of active genes affect learning speed and final performance in a non-deterministic, simulation-based fitness evaluation environment?
- RQ3What is the optimal trade-off between the number of generations and the number of game simulations per generation when using active genes?
- RQ4Do active-gene variants achieve better performance than baseline evolutionary methods despite the high noise in fitness estimation?
- RQ5How does reusing drafts across generations impact the reliability and efficiency of the learning process in CCG arena mode?
Key findings
- Some active-gene variants, particularly AG_weights/2d and AG_weights/4d, achieved statistically better average performance than the baseline evolutionary method (Evo_base).
- The variant AG_weights/2d performed better than the baseline and showed consistent improvement, even though it was not the top-performing variant.
- The proportion of active genes was found to influence performance, with lower proportions (e.g., ~56% in AG_weights) generally yielding better results than higher ones (e.g., ~95% in AG_weights/4d), though the trend was less clear in AG_weights.
- The AG_weights/Kg variant, which reused drafts multiple times, performed poorly due to insufficient evaluations per generation, indicating that too little exploration per draft harms learning.
- The method significantly reduced the number of required game simulations compared to standard approaches, with performance comparable to a random player achieved in under 30 seconds using the simulation engine.
- Overall, active-gene-based algorithms learned faster and produced stronger draft policies than baseline methods, demonstrating effectiveness in noisy, high-variability CCG environments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.