Skip to content

Not the typical snake game. The snake no longer needs you - it grows on its own (neuro-evolution at its best)

License

Notifications You must be signed in to change notification settings

Acedev003/Genetic-Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snakevolution-CLI

Not the typical snake game. The snake no longer needs you - it grows on its own via simple neuro-evolution mechanics. No external libraries used at all.

Installation

  1. Clone the repository

    git clone https://github.com/Acedev003/Snakevolution-CLI.git


  1. To run the typical snake game using keyboard inputs

    python3 keyboard_snake.py

  2. To train neuro-evolving snakes (via a genetic algorithm based implementation)

    python3 train_snake.py

    and run test_snake.py to test the best snake in the training phase.

About

Not the typical snake game. The snake no longer needs you - it grows on its own (neuro-evolution at its best)

Topics

Resources

License

Stars

Watchers

Forks

Languages