Real-Time Monte Carlo Tree Search in Ms Pac-Man
Open Access
- 4 February 2014
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computational Intelligence and AI in Games
- Vol. 6 (3) , 245-257
Abstract
In this paper, Monte Carlo tree search (MCTS) is introduced for controlling the Pac-Man character in the real-time game Ms Pac-Man. MCTS is used to find an optimal path for an agent at each turn, determining the move to make based on the results of numerous randomized simulations. Several enhancements are introduced in order to adapt MCTS to the real-time domain. Ms Pac-Man is an arcade game, in which the protagonist has several goals but no conclusive terminal state. Unlike games such as Chess or Go there is no state in which the player wins the game. Instead, the game has two subgoals, 1) surviving and 2) scoring as many points as possible. Decisions must be made in a strict time constraint of 40 ms. The Pac-Man agent has to compete with a range of different ghost teams, hence limited assumptions can be made about their behavior. In order to expand the capabilities of existing MCTS agents, four enhancements are discussed: 1) a variable-depth tree; 2) simulation strategies for the ghost team and Pac-Man; 3) including long-term goals in scoring; and 4) reusing the search tree for several moves with a decay factor γ. The agent described in this paper was entered in both the 2012 World Congress on Computational Intelligence (WCCI'12, Brisbane, Qld., Australia) and the 2012 IEEE Conference on Computational Intelligence and Games (CIG'12, Granada, Spain) Pac-Man Versus Ghost Team competitions, where it achieved second and first places, respectively. In the experiments, we show that using MCTS is a viable technique for the Pac-Man agent. Moreover, the enhancements improve overall performance against four different ghost teams.Keywords
Funding Information
- Maastricht Research Based Learning (MARBLE)
- Netherlands Organisation for Scientific Research (NWO) (612.000.938)
This publication has 24 references indexed in Scilit:
- Using genetic programming to evolve heuristics for a Monte Carlo Tree Search Ms Pac-Man agent2013
- Enhancements for Monte-Carlo Tree Search in Ms Pac-Man2012
- Accelerated UCT and Its Application to Two-Player Games2012
- Applying Monte-Carlo Tree Search to collaboratively controlling of a Ghost Team in Ms Pac-Man2011
- A Monte-Carlo approach for the endgame of Ms. Pac-Man2011
- On Upper-Confidence Bound Policies for Switching Bandit Problems2011
- PROGRESSIVE STRATEGIES FOR MONTE-CARLO TREE SEARCHNew Mathematics and Natural Computation, 2008
- An Analysis of UCT in Multi-player Games2008
- Efficient Selectivity and Backup Operators in Monte-Carlo Tree Search2007
- Bandit Based Monte-Carlo Planning2006