Repository for course project in modelling complex systems
game.pycontains the falling ball game with a chromosome of rules as a test input.show_game.pycontains the visualizaion of the falling ball game visualization with a chromosome of rules as a test input. The file can be used for videos. It cannot be run on Google Collab as it needs a video support.GA.pycontains the genetic algorithm. Must be modified to change the way to select parents or the way to reproduce them. Contains alsoaux_func.pycontains the functions necessary to run GA (parent selection and offspring method)fitness_heatmaps.pycontains the code used to generate the fitness over λ or over s heatmapsvelocity_heatmaps.pycontains the code used to generate the speed velocity over λ or over s heatmaps
- Python 3.8 or higher
- Python module
numpy - Python module
random - Python module
math - Python module
pygame - Python module
copy - Python module
matplotlib
This video shows how the evolution of the behavior of the best chromosome over the generations.