AAU Student Projects - visit Aalborg University's student projects portal
A master thesis from Aalborg University

Using reinforcement learning in the context of computer games

Author(s)

Term

4. term

Education

Publication year

2004

Submitted on

2012-02-14

Abstract

In this Thesis I investigate the ability of an agent, implemented using reinforcement learning, to learn and to adapt to a changing environment. I do this using two different methods of reinforcement learning, basic Q learning and a hierarchical method, MaxQ learning. In order to test the agent implemented using these methods, I first design Flag Hunter, a simple turnbased game that forms the basis for the testing of the agent in different situations. Flag Hunter requires the agent to go to the opponent''s base, pick up its flag, and return it to the agent''s homebase. In order to test the agents ability to learn, they were trained, first by playing the game without an opponent, and second, to play the game against opponents of different levels of randomness. It was found that the agent using the MaxQ method, would reach the goal significantly faster than the basic Q learning, but converge at about the same rate. The reasons for this was found and discussed. To examine the agents ability to adapt to a changing situation, the agents were trained without an opponent, and then set to play against the opponent. It was found that neither was very succesful at adapting.

Documents


Colophon: This page is part of the AAU Student Projects portal, which is run by Aalborg University. Here, you can find and download publicly available bachelor's theses and master's projects from across the university dating from 2008 onwards. Student projects from before 2008 are available in printed form at Aalborg University Library.

If you have any questions about AAU Student Projects or the research registration, dissemination and analysis at Aalborg University, please feel free to contact the VBN team. You can also find more information in the AAU Student Projects FAQs.