Welcome To Darwinbots > Newbie

hi & request

<< < (3/3)

bacillus:
I've done quite a bit of work on Multibots, so I might be able to help you. To get the idea, I think it's easiest to start by making a worm. Put simply, this is the sequence:


* Create a tie on birth. This should be done at robage = 0, so the tie is formed before the cells can move away.
* If the cell was single before reproduction, become a tail. If it was a head, become a body. The new cell starts off a head.
* Use something like *.in1 ++ .out1 store on birth to create a cell 'hierarchy'. This way, a cell with one connection knows if it should be a head or a tail, depending on whether its value is smaller or larger. This is critical for when a bot takes a chunk out the middle.
* Remember to store 'head' 'tail' and 'body' in a location like 991 or something. This way, by checking which of the three values the cell is, you can set the behavior accordingly.

bacillus:
Sorry about the double post, my keyboard's playing havoc and I need to go through an annoying sequence to stop it deleting everything I wrote.  
Anyway, I actually read your post now and realize you want to create a branching bot. I made a fairly nice one a while back; try looking up hydra or emeris in the bestiary.

Btw. the sequence involves taking the keyboard apart and spraying lens cleaner on the contacts. Sounds stupid but it works.  

Navigation

[0] Message Index

[*] Previous page

Go to full version