Skip to content

An AI trained using a neural network and Deep Q Learning to play a version of the classic game Snake

Notifications You must be signed in to change notification settings

Jimegroxak/snake-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repo utilizes Deep Q Learning to train an AI on a Python version of the game Snake. The AI is trained by taking state data including direction, presence of danger, and location of food.

TO RUN:

Simply download the repo and run the file agent.py. There is an agent2.py that I was experimenting with, but it is not as good as the first agent.

About

An AI trained using a neural network and Deep Q Learning to play a version of the classic game Snake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages