A game bot using OpenAI gym and Reinforcement Learning
This code is inspired by Siraj Raval's video on creating a Game Bot.
It uses Reinforcement learning to determine 2 things, whethrer to turn or not and which direction to turn in.
the Bot starts off with no knowledge of the game and you can see it get better as it learns and understands how the game works.
Install Universe
It requires docker so you need to run it in sudo for the first time or it will not pull the OpenAI repositories. Run using
sudo python game.py
For more details of code, check the source file.