Docsity

Using Genetic Algorithms for Creating Engaging AI Characters in Fighting Games, Thesis of Computer Science

Toggle sidebar
bg1
Game Character AI With Genetic Algorithm
Abstract:-
This research proposes a character generation approach for fighting games
that can create engaging AI characters using a computationally cheap
process without the intervention of the expert developer. The approach uses
a genetic programming algorithm that refines randomly generated character
strategies into better ones using tournament selection. The generated AI
characters were tested against human players and were rated according to
results, perceived difficulty and how engaging the gameplay was. The main
advantages of this procedure are that no prior knowledge of how to code the
strategies of the AI character is needed and there is no need to interact with
the internal code of the game. In addition, the procedure is capable of
creating a wide diversity of players with different strategic skills, which could
be potentially used as a starting point to a further adaptive process.
Keywords: Artificial Intelligence, Game character, Gameplay
Introduction :-
In the broadest sense, most games incorporate some form of artificial
intelligence (AI). For instance, developers have used AI for years to give
seemingly intelligent life to countless game characters, from the ghosts in
the classic arcade game Pac Man to the bots in the first-person shooter
Unreal, and many others in between. The huge variety of game genres and
game characters necessitates a rather broad interpretation as to what is
considered game AI.
[1], [2], [3] The development of AI characters has played an important part
in the continual evolution of more realistic gaming environments. A main
goal of these characters is to provide human-like behavior that can lead to
engaging and challenging games which in turn leads to commercial success.
The AI of most commercial games is based on a number of very well
established techniques, which are simple and processor efficient, such as
manually coded Finite State Machines (FSM) [4]. In fact many game
developers rely exclusively upon these. This is a major limitation due to their
deterministic nature. Buro et al [2] provide insight into the relative lack of
sophistication of current generation AI methods used, stating that most
companies create titles under severe time constraints and do not have the
resources and the incentive to engage in AI research. However, the authors
also acknowledge that multi-player games often do not require high AI
performance in order to become a commercial success as long as there are
enough human players interested in playing the game online. The
competitive environment online, nevertheless, can be seen as a deterrent to
participation for new players. To overcome the limitations of FSM approaches,
there has been some work on the use of machine learning techniques such
as Reinforcement Learning, Artificial Neural Networks (ANN) and Markov
pf3

Partial preview of the text

Download Using Genetic Algorithms for Creating Engaging AI Characters in Fighting Games and more Thesis Computer Science in PDF only on Docsity!

Game Character AI With Genetic Algorithm

Abstract:-

This research proposes a character generation approach for fighting games that can create engaging AI characters using a computationally cheap process without the intervention of the expert developer. The approach uses a genetic programming algorithm that refines randomly generated character strategies into better ones using tournament selection. The generated AI characters were tested against human players and were rated according to results, perceived difficulty and how engaging the gameplay was. The main advantages of this procedure are that no prior knowledge of how to code the strategies of the AI character is needed and there is no need to interact with the internal code of the game. In addition, the procedure is capable of creating a wide diversity of players with different strategic skills, which could be potentially used as a starting point to a further adaptive process. Keywords: Artificial Intelligence, Game character, Gameplay

Introduction :- In the broadest sense, most games incorporate some form of artificial intelligence (AI). For instance, developers have used AI for years to give seemingly intelligent life to countless game characters, from the ghosts in the classic arcade game Pac Man to the bots in the first-person shooter Unreal, and many others in between. The huge variety of game genres and game characters necessitates a rather broad interpretation as to what is considered game AI.

[1], [2], [3] The development of AI characters has played an important part in the continual evolution of more realistic gaming environments. A main goal of these characters is to provide human-like behavior that can lead to engaging and challenging games which in turn leads to commercial success.

The AI of most commercial games is based on a number of very well established techniques, which are simple and processor efficient, such as manually coded Finite State Machines (FSM) [4]. In fact many game developers rely exclusively upon these. This is a major limitation due to their deterministic nature. Buro et al [2] provide insight into the relative lack of sophistication of current generation AI methods used, stating that most companies create titles under severe time constraints and do not have the resources and the incentive to engage in AI research. However, the authors also acknowledge that multi-player games often do not require high AI performance in order to become a commercial success as long as there are enough human players interested in playing the game online. The competitive environment online, nevertheless, can be seen as a deterrent to participation for new players. To overcome the limitations of FSM approaches, there has been some work on the use of machine learning techniques such as Reinforcement Learning, Artificial Neural Networks (ANN) and Markov

models to improve the AI characters strategy in real-time. Until now, little effort has been made to incorporate these into commercial games. The idea of using nondeterministic approaches is something the game industry is still approaching slowly.

Although the adaptive methods mentioned previously have shown progress on the development of more engaging game play, the time and resources taken to create such AI structures is not commensurate with the level of improvement they bring to the game as a whole. A general drawback of this kind of approach is that at the early stages of the game, characters may have a very erratic behavior, needing a certain amount of time to develop into challenging players. A more ā€œintelligentā€ character at the early stages of the game could certainly overcome this shortfall. However, as is well known, creating these characters will depend on the time and expertise of the game developer.

Literature Survey:-

Sr. No Author Paper Publication Abstract

  1. Giovanna MartĆ­nez- Arellano, Richard Cant’,

David Woods

Creating AI Characters for Fighting Games Using Genetic Programming

20 December 2016, Volume:9, Issue: 4.

The approach uses a genetic programming algorithm that refines randomly generated character strategies into better ones using tournament selection.

  1. Jia-Fong Yeh,

Shi-Heng Huang,

Pei-Hsiu Su

Snake game AI: Movement rating functions and evolutionary algorithm- based optimization

25-27 Nov. 2016

A controller based on movement rating functions considering smoothness, space, and food.

Sr. No Name of Author