I love writing javascript simulations at 4 am when I can’t sleep. This one is no different. This simulates evolution of a simple asexual species without any prey. It only needs to go find food and reproduce before it starves.

Check out the code here.