Creating intelligent non-player characters (NPCs) that behave realistically and challenge the player.