Just a Playground Repo for my Genetic Programming experiments. I have no prior exprience with Genetic Programming and Algorithms.
- The development of this project was performed live on https://twitch.tv/tsoding.
- Every stream is archived on YouTube and can be found in this playlist.
- Highlights made by @kolumb: https://www.youtube.com/playlist?list=PL9aFTwX54fqWWCBuBUGzawg_E7SFwgDoz
- Write a simple game where agents are trying to survive in an environment fighting for food and with each other.
- The behaviour of a single agent is described with a Turing machine style state machine that we call Chromosomes.
- Use Genetic Algorithms to find an optimial behaviour that survives the longest.
TBD
TBD
TBD
TBD
TBD
Should be available on Windows, MacOS, and the majority of Linux distros.
$ make
$ ./gp_trainer 69 ./output.bin
$ ./gp_simulator ./output.bin
Lets you select agents over several generations in a batch mode. The results can be simulated and inspected by gp_simulator and gp_inspector.
Lets you interactively step through the simulation of the generation produced by gp_trainer.
Key | Action |
---|---|
r | Generate completely new state of the game |
n | Make a new generation based on the best performing agents |
SPACE | Step the state of the game |
- Clicking on agents (red triangles) dumps their state to stdout
Lets you inspect generations produced by gp_trainer.