Applications of AI in games
There are many different applications of AI in games. Many game genres, each having different set of AI problems, create a wide spectrum of game AI. Despite its many application possibilities, AI algorithms and technologies advance very slowly, compared tothe technologies in other aspects of games, such as graphics or physics. Application of game AI involves giving life to artificially intelligent agents in games. This task is easier to directly immitate human behaviour, because the agents are only expected to be intelligent in the context of the game. There are some algorithms that proved to be useful and are widely used in certainapplications of game AI. These algorithms solved some of the AI problems in games so well that some of these problems are not considered in the AI area anymore. Problems likecollision detection, pathfinding, visibility detection in fact do require artificially intelligentalgorithms, but they are generally given different names such as physics or tree searching. AI is mostly related with higher order functions of the human brain, although it containsevery level of human intelligence from perception and reasoning to deciding and behaving.Many game genres exist, and there are several game roles that require AI techniques.Enemies, allies of the player, other characters or units, any rational agent in the game usesartificial intelligence.
The game, with its set of rules and limited world, is like a playground for testing different kinds of artificial intelligence. These different AI problems are practically presented as game roles. These game roles define certain areas of problems in game AI. Well-known AI roles are tactical enemies, partners, support characters, strategic opponentsand units (1).
Tactical enemies are most frequently used in first-person (FPS) or third-person (TPS)shooter games. The first well-known FPS is Wolfenstein, and the most influential one isDoom, both by id software. In first FPS games, tactical enemies simply waited standing until they see the player. When they did, they started firing their guns at the player. They