Generating Adaptive Companion Behaviors Using Reinforcement Learning In Games