An intelligently designed NPC with adaptive behaviour.