Skip to content

Teaching my computer to play snake through a genetic algorithm in Java

Notifications You must be signed in to change notification settings

JZacaroli/GeneticAlgorithmSnakeGame

Repository files navigation

GeneticAlgorithmSnakeGame

Teaching your computer to play snake through a genetic algorithm in Processing (Java).

Inspired by @CodingTrain 's video on playing flappy bird with a genetic algorithm. The snakes' brains are simple Neural networks implemented by @kim-marcel here. To run, make sure you install the G4P add-on libraries, and you're ready to go.

TODO:

  • Train for a while.
  • Create sketch to watch a single well-trained snake.

About

Teaching my computer to play snake through a genetic algorithm in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published