Applying Q-Learning to Flappy Bird