/snake

The game snake (for playing by yourself run snake_env.py). Deep Reinforcement Learning agent learns to play the game (run agent_1.py)..

Primary LanguagePython

Snake

This project contains the following files:

  1. snake_env.py : run this and you can play the game Snake by yourself
  2. agent_1.py : run this and a Deep Reinforcement Learning Agent will learn to play snake
  3. plot_script.py : plotting the results of the agent
  4. requirements.txt : you will need some Python packages, like turtle, TensorFlow and Keras before you can run the scripts, install these first

Enjoy!