Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake-AI

A program that slowly learns to play the snake game using genetically evolving neural networks(Only evolution of weight).

To Train - python main.py

main.py - contains code the run the program

population.py - Manages each generation of neural networks , calculate fitness , and reproduce

dna.py - Maintains data for a single neural network

snake_imp.py - Manages the snake game

To Directly see the trained snake:

$ git checkout playing

$ python2 play.py

About

A program that slowly learns to play the snake game using genetically evolving neural networks(Only evolution of weight).

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages