Game artificial intelligence is used to create the illusion of intelligent behavior in non-player characters (NPCs). It allows NPCs to obey game rules, be aware of their environment, make decisions, and plan actions. The complexity and smartness of a game depends on its underlying AI. Modern gamers expect both excellent graphics and a moderate level of intelligence from opponents. The design and development of game AI is therefore becoming more important.