Evolving the Hearthstone Meta

Fernando de Mesentier Silva, Rodrigo Canaan, Scott Lee, Matthew C. Fontaine, Julian Togelius, Amy K. Hoover

Introduction

Digital collectible card games (CCGs) like Hearthstone present a significant challenge for game designers. With thousands of cards interacting in complex ways, maintaining a balanced metagame—where no single strategy dominates—is a "moving target." Traditional balancing relies on reactive manual playtesting and data visualization. This study explores computational tools to proactively search for a balanced state while minimizing disruption to the player experience, defined as the magnitude of changes to existing card attributes.

Methodology

The researchers utilized the SabberStone simulation engine to evaluate card changes across a "Small Meta" of three representative decks: Hunter Aggro, Paladin Control, and Warlock Control. Two primary evolutionary approaches were tested:

  1. Single-Objective Evolution: An Evolutionary Algorithm (EA) optimized for a single fitness function: minimizing the distance between actual win rates and a perfect 50% win rate.
  2. Multi-Objective Optimization (NSGA-II): This approach simultaneously optimized for two conflicting goals: maximizing balance (fitness) and minimizing the "magnitude of change" (the total number and weight of attribute adjustments to Cost, Attack, Health, and Durability).
Fitness convergence over generations

Results and Discussion

The single-objective EA successfully converged on a near-perfectly balanced state, achieving a fitness score of 0.0062. As shown in the fitness tracking over generations, the algorithm consistently reduced the variance in win rates across the meta. However, this optimization required 403 individual attribute changes, a level of disruption that would be impractical for a live game environment.

The multi-objective NSGA-II approach provided a more viable solution. As shown in the Pareto front analysis, the algorithm identified "non-dominated" individuals that offered superior trade-offs between balance and disruption. For instance, one solution achieved a balance score of 0.008 with a change magnitude of only 154—achieving nearly the same balance as the first experiment with less than half the disruption.

Pareto front of balance vs. disruption

Heuristic Evaluation: WRD vs. WRP

The study also evaluated "Win Rate when Drawn" (WRD) and "Win Rate when Played" (WRP) as heuristics for card power. Analysis revealed that WRD is a more reliable indicator for identifying cards to nerf. High-cost cards often show a high WRP simply because they are played when a player is already winning, whereas WRD accounts for the "dead weight" of a card sitting in hand when it is not useful.

Conclusion

Evolutionary algorithms can effectively automate the search for a balanced metagame. By incorporating multi-objective optimization, designers can find solutions that achieve competitive parity while respecting the integrity of the existing card collection. While current models are limited by static deck assumptions and numerical attribute changes, they provide a statistically sound foundation for proactive game balancing.

Summary updated

BibTeX
@inproceedings{silva2019evolving,
  author = {Fernando de Mesentier Silva and Rodrigo Canaan and Scott Lee and Matthew C. Fontaine and Julian Togelius and Amy K. Hoover},
  title = {{Evolving the Hearthstone Meta}},
  booktitle = {CoG},
  year = {2019},
  doi = {10.1109/cig.2019.8847966},
}
Figure