AI Questions and Answers
AI and Design of Computer Games

Most video games contain non-player characters (NPCs) controlled by the computer, and their behaviour is commonly referred to as the game's "AI." In this context, a dramatisation of the typical behaviour of an NPC in a first-person shooter game is presented, where the enemy character's mind is a finite state machine with instructions for each state. The NPC's behaviour is determined by algorithms such as A* for pathfinding. The architecture of the NPC's mind is shared among all NPCs in the game but differs in the specific states they have. Share some examples with us.