Artificial-life simulator