Imagine that bot would be able to rewrite it's own code.
That kind of function could be added...
Appending gene code, altering gene code, deleting gene code, altering conditions, adding defences on spot...
The same code could be used to change bots through ties, perhaps to make from each bot a different organ...
I was thinking what mechanism could be used to make such alterations and I came up with this:
define gene location -> define line of the gene -> function (delete, append, alter)...
I know that kind of feature could be used for "evil" too. I think it could be used to repair genes and to see what happens in evolutionary simulations...