[Paper Review] Experiments with Game Tree Search in Real-Time Strategy Games
This paper introduces RTMM (Real-Time Minimax), a variant of the minimax algorithm adapted for real-time strategy (RTS) games by addressing the challenge of non-turn-based gameplay. It demonstrates that RTMM enables strong tactical performance in low-branched-factor scenarios like simplified RTS games, but struggles in complex, high-branching environments without additional sampling techniques like UCT.
Game tree search algorithms such as minimax have been used with enormous success in turn-based adversarial games such as Chess or Checkers. However, such algorithms cannot be directly applied to real-time strategy (RTS) games because a number of reasons. For example, minimax assumes a turn-taking game mechanics, not present in RTS games. In this paper we present RTMM, a real-time variant of the standard minimax algorithm, and discuss its applicability in the context of RTS games. We discuss its strengths and weaknesses, and evaluate it in two real-time games.
Motivation & Objective
- To investigate whether traditional game tree search algorithms like minimax can be effectively adapted to real-time strategy (RTS) games, which traditionally assume turn-based mechanics.
- To address the core challenge of real-time gameplay, where actions occur continuously and simultaneously, making standard minimax inapplicable.
- To evaluate RTMM in isolation from other RTS complexities such as partial observability and non-determinism, focusing solely on real-time execution.
- To assess the performance of RTMM in both simplified and full-scale RTS environments, comparing it against baseline AI strategies.
- To establish RTMM as a foundational framework for extending game tree search to real-time domains, especially when combined with sampling-based methods like UCT.
Proposed method
- Propose RTMM, a real-time variant of minimax that modifies the standard algorithm to handle continuous, simultaneous action execution by limiting lookahead and prioritizing immediate action selection.
- Introduce RRTMM (Randomized RTMM), which applies randomized alpha-beta pruning to improve robustness in scenarios with high uncertainty or simultaneous moves.
- Use a simple evaluation function based on unit resource costs to estimate game state value, avoiding complex heuristics.
- Implement RTMM in two test environments: BattleCity (a simplified real-time action game) and μRTS (a minimalistic RTS simulator with full observability and deterministic mechanics).
- Apply RTMM with a fixed depth limit and time budget, ensuring actions are selected within real-time constraints, even as the game state evolves during search.
- Compare RTMM against stochastic and rush-strategy AIs in both melee (4v4 unit combat) and full-game (8x8 map, base-building) scenarios to assess tactical and strategic performance.
Experimental results
Research questions
- RQ1Can the standard minimax algorithm be effectively adapted to real-time strategy games that lack turn-based mechanics?
- RQ2How does RTMM perform in real-time environments with continuous action execution and simultaneous moves?
- RQ3What is the impact of branching factor and lookahead depth on RTMM’s effectiveness in RTS games?
- RQ4Does RTMM achieve strong tactical performance in low-complexity scenarios, and how does it fare against strategic AI in high-complexity settings?
- RQ5Can RTMM serve as a foundation for integrating with sampling-based methods like UCT to address large branching factors in full RTS games?
Key findings
- In the μRTS-Melee scenario (4v4 unit combat), RTMM-based bots won 18 out of 20 games against the stochastic AI and 15 out of 20 against the rush AI, demonstrating strong tactical performance.
- In the full μRTS-Full scenario, RTMM defeated the stochastic AI (22 wins, 0 ties, 58 losses overall) but lost all games against the rush AI, indicating poor long-term strategic planning.
- The branching factor in the full game scenario grew to tens of thousands, severely limiting lookahead depth and reducing RTMM’s effectiveness despite a maximum lookahead of 4.9 seconds at game start.
- RRTMM (randomized α-β pruning variant) outperformed standard RTMM in the melee scenario, suggesting that stochastic pruning improves robustness in simultaneous-move environments.
- RTMM excels in short-term tactical decisions when branching factors are manageable but fails in strategic depth, as seen in its inability to counter a simple rush strategy in full games.
- The results indicate that RTMM alone is insufficient for complex RTS games, and sampling-based methods like UCT are necessary to manage large branching factors and enable deeper search.
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.