Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 855 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 855 Bytes

model experiment biology

A simulation for an experiment, what we have done in biology class

It's trying to simulate the evolutionary development of beetles.

how it works:

At the beginning are 10 beetles of every color in the habitat.
Then we pick one individual beetle from the 40.
We throw than a die to decide what should happen with this beetle.

**actions by roll result**

roll

action

1 or 2 picked beetle dies
3 picked beetle dies
when it is not green
4 picked beetle dies
when it is not
green or brown
5 picked beetle dies
when it is not
green, brown or red
6 every beetle lives

If the beetle dies, then we pick another beetle and from his kind, we put a new one of its kind in the habitat/simulation.