To run the program you need to install OpenAI gym. Run the following command (assuming Python is already installed on your system) on the terminal
pip install gym[atari]
To stop showing the game moves you can set the render variable to false. The repo contains trained model.
This program is based on the blog post from Andrej http://karpathy.github.io/2016/05/31/rl/