Darwinbots Forum

Bots and Simulations => Bot Tavern => Topic started by: frankle on December 18, 2006, 12:13:45 PM

Title: Methods of Committing Suicide
Post by: frankle on December 18, 2006, 12:13:45 PM
Hey, I didn't see this anywhere else on the forums, so I thought I'd ask here:
What ways do you use, or can think of, to make a bot kill itself?

Here's the gene I'm using.

Code: [Select]
cond
' whatever, usually detecting if dna length has changed to prevent add/del mutations
start
1 .delgene store
stop

This gene recursively deletes the bot's DNA, effectively making it a corpse.
Title: Methods of Committing Suicide
Post by: Henk on December 18, 2006, 01:09:43 PM
The easiest way is to expell all the energy in the bot with energy shots:

Code: [Select]
' let the bot die at age 5000
cond
*.robage 5000 >
start
-2 .shoot store
*.nrg .shootval store
stop

Biological equivalent (http://www.google.nl/search?hl=nl&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=XbM&q=define%3A+apoptosis&btnG=Zoeken&meta=) of these things.
Title: Methods of Committing Suicide
Post by: Light on December 18, 2006, 02:00:42 PM
I used something similar when I was working on a sequel to Helios, I made it that if a single bot didn't have enough energy to reproduce into a MB, it would launch itself at the nearest MB and release all its energy, a kind of altruistic suicide.
Title: Methods of Committing Suicide
Post by: Endy on December 18, 2006, 06:38:36 PM
I'm so not going to say the fastest way to kill another bot.