Bacteria Simulation with Genetic Algorithm
- Create a new IntelliJ project from Version Control
- Clone the project
- Open
Simulation.java
file in thesrc
directory
- Add JDK
- Mark
resources
folder as resource
- Launch! You can close the simulation using
ALT+F4
Every 5min (simulation time), the world is automatically saved in your home directory, e.g.
C:\Users\TimoF\.aipopulation\world.txt
If you close the window using ALT+F4
, the world will be saved too.
If you want to reset the world, just delete world.txt
. A new world will be created automatically.
-
SPACE
: pause / resume -
F
: toggle fast forward -
B
: toggle show fittest individual -
G
: toggle render generation for each individual -
O
: toggle show oldest individual -
M
: toggle show generation title and individual with highest generation
If you like this project, you can support me on https://ko-fi.com/javaabc