Skip to content

davidmasek/genetic_snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genetic Snake

Genetic algorithm framework for the game Snake. Provides GUI for configuration of genetic algorithm parameters, loading and saving models and watching the models play the game.

Game GUI

Interface GUI

How to run:

$ python -m genetic_snake

Requirements:

Note:

good.individual contains individual that can be loaded from the game interface

Configuration:

Some variables ("constants") are not configurable from the GUI but can be easily modified in source files. Most of them are located in the tree.py file in Evolution class.

Current state

  • The framework is fully functional.
  • Variable configuration could use some polish.
  • Framework could be improved by increasing modularity and allowing different types of nodes ("behavior").

Authors

Original project made as a semestral work for BI-ZUM at FIT CTU.

Made with / Thanks to

About

Genetic algorithm framework for the game Snake.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages