Högskolan i Skövde

his.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • apa-cv
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
An adaptive AI for real-time strategy games
University of Skövde, School of Humanities and Informatics.
2004 (English)Independent thesis Advanced level (degree of Master (One Year))Student thesis
Abstract [en]

In real-time strategy (RTS) games, the human player faces tasks such as resource allocation, mission planning, and unit coordination. An Artificial Intelligence (AI) system that acts as an opponent against the human player need to be quite powerful, in order to create one cohesive strategy for victory. Even though the goal for an AI system in a computer game is not to defeat the human player, it might still need to act intelligently and look credible. It might however also need to provide just enough difficulty, so that both novice and expert players appreciates the game. The behavior of computer controlled opponents in RTS games of today has to a large extent been based on static algorithms and structures. Furthermore, the AI in RTS games performs the worst at the strategic level, and many of the problems can be tracked to its static nature. By introducing an adaptive AI at the strategic level, many of the problems could possibly be solved, the illusion of intelligence might be strengthened, and the entertainment value could perhaps be increased.

The aim of this dissertation has been to investigate how dynamic scripting, a technique for achieving adaptation in computer games, possibly could be applied at the strategic level in an RTS game. The dynamic scripting technique proposed by Spronck, et al. (2003), was originally intended for computer role-playing games (CRPGs), where it was used for online creation of scripts to control non-player characters (NPCs). The focus in this dissertation has been to investigate: (1) how the structure of dynamic scripting possibly could be modified to fit the strategic level in an RTS game, (2) how the adaptation time possibly could be lowered, and (3) how the performance of dynamic scripting possibly could be throttled.

A new structure for applying dynamic scripting has been proposed: a goal-rule hierarchy, where goals are used as domain knowledge for selecting rules. A rule is seen as a strategy for achieving a goal, and a goal can in turn be realized by several different rules. The adaptation process operates on the probability of selecting a specific rule as strategy for a specific goal. Rules can be realized by sub-goals, which create a hierarchical system. Further, a rule can be coupled with preconditions, which if false initiates goals with the purpose of fulfilling them. This introduces planning.

Results have shown that it can be more effective, with regard to adaptation time, re-adaptation time, and performance, to have equal punishment and reward factors, or to have higher punishments than rewards, compared to having higher rewards than punishments. It has also been shown that by increasing the learning rate, or including the derivative, both adaptation, and re-adaptation times, can effectively be lowered.

Finally, this dissertation has shown that by applying a fitness-mapping function, the performance of the AI can effectively be throttled. Results have shown that learning rate, and maximum weight setting, also can be used to vary the performance, but not to negative performance levels.

Place, publisher, year, edition, pages
Skövde: Institutionen för kommunikation och information , 2004. , p. 74
Keywords [en]
real-time strategy games, computer game AI, adaptive AI, RTS game AI
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:his:diva-908OAI: oai:DiVA.org:his-908DiVA, id: diva2:3328
Presentation
(English)
Uppsok
Technology
Supervisors
Available from: 2008-02-27 Created: 2008-02-27 Last updated: 2018-01-12

Open Access in DiVA

fulltext(5913 kB)747 downloads
File information
File name FULLTEXT01.psFile size 5913 kBChecksum SHA-1
2d903f1218d54df9bd0ad1d8fefd5d43364b8f739f42addea4a4ca831f3acdf3bf8a5dc4
Type fulltextMimetype application/postscript
fulltext(2092 kB)5002 downloads
File information
File name FULLTEXT02.pdfFile size 2092 kBChecksum SHA-512
e26084eff7dd88f7d3cfb1ad9ab00d9f672858e12b68a22236c7d5143af4ec2837ebf3821bbf3058e8a2876521e48c1f28157f9ee4901ada2e0b2d632c3eb5c3
Type fulltextMimetype application/pdf

By organisation
School of Humanities and Informatics
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 5750 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 2075 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • apa-cv
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf