evolve

  scripts
  sprites
See inside
Notes and Credits

These wiggles compete to reach a bunch of berries, while avoiding hitting the red squares.

Wiggles that hit a red square have their code replaced with (possibly a mutation of) the last wiggle to have caught the berries. This provides the three necessities of life: reproduction, variation and selective pressure.

The code consists of seven instructions, each of which is a number from 1 to 9, representing an instruction to be executed. Some of the instructions are conditional, advancing the program pointer an extra step in some conditions.

Better (but slower) adaptation might be possible by reducing the mutation rate; I haven't given this system much time to stabilize.

<3

Shared: 20 May 2007 Modified: 20 May 2007
Favorite this project 2
Love this project 3
Total views 73
View the remix tree  1
  
More projects by mungojelly