Skip to content

An ai controlled snake game made using pytorch and pygame, trained with Reinforcement Learning.

Notifications You must be signed in to change notification settings

smahesh77/smart-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smart-python

packages needed to run this program - pytorch, torchvision, numpy, matlotlib, ipython which can be installed by running the following command from your terminal

pip install torch torchvision matplotlib ipython numpy

after installing the packages ou can see the ai doing its magic by running the agent.py program
you should let the program run for 10 mins to start getting accurate results

you can also the play the game yourself by running the snake.py program

About

An ai controlled snake game made using pytorch and pygame, trained with Reinforcement Learning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages