What Is Game AI?
Game AI controls how non-player characters (NPCs) behave in a game. These characters can include enemies, allies, or neutral characters.
Unlike real artificial intelligence, game AI focuses on creating believable behavior rather than true intelligence.
Common AI Behaviors
Game AI systems often manage behaviors like:
- Enemy patrol routes
- Attacking players
- Taking cover
- Searching for targets
Example Enemy Behavior
- Patrol an area
- Detect the player
- Chase the player
- Attack when close
AI Behavior Example

Developers often use systems like Finite State Machines or Behavior Trees to control AI logic.
Learn more:
Game Artificial Intelligence