exploreIO / rl-snake-game

Reinforcement Learning AI learns how to play snake game using the frameworks Pytorch and Pygame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reinforcement Learning Snake game

AI that learns how to play snake game using Pytorch and take generations to perfect the game (no GPU required).

Get Started

See this program in action

  virtualenv env

then

  source env/bin/activate 

then

  pip install -r requirements.txt

to run the program :

  python agent.py

About

Reinforcement Learning AI learns how to play snake game using the frameworks Pytorch and Pygame

License:MIT License


Languages

Language:Python 100.0%