Skip to content

xuzhao-nick/Evolve-a-Greedy-Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Use Genetic Programming Algorithm Evolve a Greedy Snake

I wrote this program many years ago, now I put it on GitHub. The main idea is from the article: Application of Genetic Programming to the Snake Game.
Based on the idea, I wrote the source code in Java.
After many generations evolving, this app will base on very basic "syntax node", automatic evolve a "best program" for snake to follow.
The higher the "Best score", the "Smarter" the snake is.
The main class is: gui/EvolveGreedySnake.java.
You can also directly run the "Snake.jar" file.

About

Use Genetic Programming Algorithm to evolve a greedy snake.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages