Simulated Evolution - Artificial Life and DNA

Abstract


Green food appears in a world with red moving cells. These cells eat the food if it is on their position. Movement of the cells depends on random and their DNA. A fit cell moves around and eats enough to reproduce. Reproduction is done by splitting the cell and randomly changing the DNA of the two new Cells. If a cell doesn't eat enough, it will first stand still and after a while it dies.

Run the Application


git clone https://github.com/phasenraum2010/simulated-evolution.git
cd simulated-evolution
mvn clean install exec:java

or Download the jar and double click on it to start the Application:
http://www.thomas-woehlke.de/a/simulated-evolution/simulated-evolution-1.1-SNAPSHOT.jar

Screenshots



Early


Later

Explanation

   water
   food
   cell is young

cell is fat enough to reproduce

cell is old enough to reproduce

cell is hungry and waiting for food or death

cell is old and waiting for death
*(if cell is fat and old enough for reproduction it splits and changes the childrens DNA)

 

UML Class Modell

UML Class Modell of Simulated Evolution Application


More

Kommentare

Beliebte Posts aus diesem Blog

MySQL DataSource for Wildfly10 like Openshift

Java EE 7 Petclinic

MySQL as Default Database in WildFly 8.0.0.CR1