AI-powered NPC behavior in games