Skip to main content
QUICK REVIEW

[Paper Review] Generating Real-Time Strategy Game Units Using Search-Based Procedural Content Generation and Monte Carlo Tree Search

Kynan Sorochan, Matthew Guzdial|arXiv (Cornell University)|Dec 7, 2022
Artificial Intelligence in GamesComputer Science7 citations
TL;DR

This paper proposes a search-based procedural content generation (SBPCG) method enhanced with Monte Carlo Tree Search (MCTS) to automatically generate balanced and unique Real-Time Strategy (RTS) game units. By using an MCTS-based fitness function that evaluates unit balance through simulated gameplay, the system generates ten novel units for microRTS that demonstrate utility and balanced performance across diverse agent skill levels.

ABSTRACT

Real-Time Strategy (RTS) game unit generation is an unexplored area of Procedural Content Generation (PCG) research, which leaves the question of how to automatically generate interesting and balanced units unanswered. Creating unique and balanced units can be a difficult task when designing an RTS game, even for humans. Having an automated method of designing units could help developers speed up the creation process as well as find new ideas. In this work we propose a method of generating balanced and useful RTS units. We draw on Search-Based PCG and a fitness function based on Monte Carlo Tree Search (MCTS). We present ten units generated by our system designed to be used in the game microRTS, as well as results demonstrating that these units are unique, useful, and balanced.

Motivation & Objective

  • To address the lack of automated methods for generating interesting and balanced RTS game units, a task that is time-consuming and complex even for human designers.
  • To explore whether AI-driven procedural content generation can effectively create new units that are both mechanically unique and balanced in gameplay.
  • To evaluate the utility and balance of generated units using simulated gameplay with agents of varying skill levels, avoiding reliance on human playtesting.
  • To demonstrate that MCTS-based fitness evaluation can serve as a reliable proxy for game balance in RTS unit generation.

Proposed method

  • Employing a search-based procedural content generation (SBPCG) framework that iteratively improves a randomly initialized unit through local search in the unit generation space.
  • Defining a fitness function based on MCTS simulations to evaluate unit balance by measuring win rates across agent pairs with varying skill levels.
  • Using MCTS to simulate games where one player can produce the new unit and comparing outcomes to baseline matches without the unit to assess balance and utility.
  • Generating units by optimizing for a balance metric derived from the win-rate distribution of simulated matches between agents of different skill levels.
  • Evaluating units in a large-scale MCTS study across 100,000 simulated games to assess both their strategic utility and overall game balance.
  • Applying the method to the microRTS game engine, a recognized RTS testbed, to generate and validate ten novel units with distinct mechanical features.

Experimental results

Research questions

  • RQ1Can SBPCG with an MCTS-based fitness function generate RTS units that are both mechanically unique and balanced?
  • RQ2Does the simulated gameplay-based fitness function effectively predict real balance and utility in RTS units?
  • RQ3How do generated units perform across different agent skill levels in terms of win rates and strategic impact?
  • RQ4To what extent do the generated units maintain balance when both players can produce them?
  • RQ5Can the method produce units that are not only balanced but also strategically useful in diverse gameplay scenarios?

Key findings

  • The system successfully generated ten unique RTS units for microRTS, each with distinct mechanical features and roles.
  • Simulated gameplay showed that units provided a measurable advantage when only one player could produce them, as evidenced by shifts in win rates.
  • In balanced scenarios where both players could produce the unit, win rates converged toward 50%, indicating overall balance across skill levels.
  • The heat map of win rates across agent skill pairs followed the expected pattern for a balanced game, supporting the validity of the MCTS-based fitness function.
  • Some units showed a slight 'cheap' effect by increasing win rates for lower-skill agents, suggesting potential overperformance in specific matchups.
  • Despite minor imbalances in specific matchups, the overall trend confirmed that the generated units are balanced on average and useful in gameplay.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.