Darwinbots Forum
Code center => Bugs and fixes => Topic started by: Testlund on February 18, 2009, 12:12:32 PM
-
Yesterday I got this big green bot that started reproducing at random, filling up the sim with lots of smaller green ones. After the mother had died the population started to decline again. It seems all it's offspring was sterile, which doesn't make any sense.
So I'm wondering if there is anybody who wants to take a look at it to see what's wrong.
I have uploaded a sim here where the mother was still alive. In the upper middle left you'll see a bigger green bot giving birth to lots of smaller ones.
-
Well, part of it's pretty easy, the reproduction is caused by *14 rnd inc.
The question of what gave 14 its initial value is a bit murkier though. My guess would be either prior DNA or an info shot.
None of the offspring have any number in their memory and so are sterile.
You could create a Sheppard for them that shoots info shots there, in time they might develop a better method.
-
The good news is that the kids are closer to being fully reproductive than a pure zerobot. They just have to either store into memloc 14 or mutate that *14 into something else (1000 would be ideal. It would also be a virus).