This repository holds code of evolutionary game simulations for a Bachelor
Research Dissertation. The main script implementing the simulations is
Spatial_Evolutionary_Game
. The combinator
function is necessary to run this
script. The code does the following:
- Set simulation parameters
- Initialise strategies
- Start generation
- Start session
- Start game
- Apply selection, recombination and mutation
- Make video animations
Here is a simplified schematic of the evolutionary algorithm.
The file Worlds_of_Varying_Resource_Clustering
contains code for network
modelling of the environment and creation of worlds with varying spatial
clustering of resources.