This repository is a Q-learning implementation of OpenAI Gym Mountain Car game.
The goal is reaching to the flag by using 3 different actions, including 'left', 'nothing', 'right'. However, the force is not enough to reach to the flag just by 'right' action and the agent must use the momentum of car.
Just copy-paste the mountain_car_v0.py to your project or clone this repository and run mountain_car_v0.py using python.
The car reaches to the goal just after a few hundreds of episodes.
With special thanks to sentdex, An amazing Youtuber!