23
« on: July 31, 2006, 02:24:41 PM »
Hiya everyone, just returned from holiday
Let's get together and decide what we want to do about sexual reproduction in DB
Here's my idea to start things off:
Firstly, meiosis: reproduction that splits the bot into two bots, splitting the DNA of the bot at a certain point and giving each portion to one of the bots. This would be achieved via the sysvar .meio, with the number stored indicating where in the DNA the split occurs
Secondly, give bots the ability to shuffle their genes, moving genes around their genome. This way they can 'line up' their genes into two halves for meiosis.
Bots should also have the ability to copy their own genes. The importance of this will become clear later.
Finally, recombination: two bots can, via a tie, merge into one bot and merge their DNA together, with the bot that initialized the recombination's DNA simply being added to the end of the other bot's DNA
.reco will fire a tie forward, which, if it hits anything, will initiate recombination
*********
Here's how sexual reproduction would work:
First, line up your genes into two halves (if necessary)
Next, split your DNA using meiosis
Then, have each 'half-bot' to find a 'half-bot' of the 'opposite sex'
Then, have the halves recombine into one bot
It works better still for MBs, which can afford to have specialist sex cells
*********
Here's the best part - implications of this system:
1) Different species cannot breed easily
If one bot accidentally recombines with a bot of a different species you're left with a bizare hybrid, which will probably be missing large chunks of vital DNA, and be run by two conflicting DNA 'half-bot' programs
2) Viruses emergy as a natural consequence
A virus would be a single gene (or several) that copied itself, sent the copy to the end of the genome, and split it off with meiosis, only to have the new SG bot recombine with the first bot it saw.
3) Incresed evolutionary benifits of sex, including true speciation
*********
What does everybody think of that?