TVTropes Now available in the app store!
Open

Follow TV Tropes

Video Game A.I.

Go To

In video games, "AI" (artificial intelligence) is an informal term for the programming that allows game entities to make decisions. For example, the ghosts in Pac-Man are capable of navigating the maze they're in and chasing down Pacman — these abilities are governed by their AI programming.

AI design is one of the more abstruse and challenging parts of game design, as computers by definition have no intelligence — they can only blindly obey the instructions they've been given, and have no intrinsic understanding of the game world or its mechanics. An AI programmer must essentially build a brain from scratch, and furnish it with the means for an entity to understand the game world and how to interact with it. Doing this is difficult enough, and doing it convincingly — in a way that can fool or outsmart a human — even more so.

Since every game is different, there is no one-size-fits-all solution for AI — like any other game aspect, the way it's implemented is typically a design choice. Some games may choose to implement deliberately simple AI — either due to system limitations, looming release deadlines, or simply to make enemy behaviors easier for the player to understand. Other games may have greater AI requirements, such as enemy pathfinding and advanced decision making. Strategic games may require an AI to think ahead and try to predict what the player might do.

There is a second, more formal version of AI, which — according to The Other Wiki — is defined as an engineered system that perceives its environment and takes actions that maximize its odds of successfully achieving certain goals. This version of AI is more like an optimization engine than something that is attempting to create the illusion of intelligence. While it sees some usage in games — for example, the chess-playing Deep Blue and go-playing AlphaGo — creating such AIs is generally more of an academic pursuit than a game design choice.

Finally, there is a third version of AI which has become prevalent since the start of the 2020s: generative AI, which uses a large language model (LLM) to produce human-like conversation and imagery. This, again, is closer to academic research than to video game design at the moment, but has nonetheless started to see usage in gaming — for instance, some games are using generative AI to give their characters realistic dialogue and reasoning skills. There are also Interactive Fiction games such as AI Dungeon 2 that employ generative AI more directly, using it to generate unique adventures that react to the player's actions.

For more details, see MediaNotes.Video Game AI. The Other Wiki also has an article on Artificial intelligence in video games.


Subtropes:


Related tropes

Game design tropes that often apply to artificially intelligent characters in games, without directly concerning their behaviors:

Top