Bots and Simulations > Mutations

Convergent 2.0 (Spork22)

<< < (2/3) > >>

spork22:
Good idea, also, about the Seasnake thing, I might be able to do that. It'll be hard, but it'll be a great learning experience for me. Just one question: Is it going to be a multibot?


Update: While attempting to code the seasnake thing, I got it to mutate into what I think is what you wanted. If I can figure out why it's different from what i had typed then I can make a cleaner version. They will tie to anything though.


--- Code: ---'#generation: 2
'#mutations: 2

 cond
 *.eye5 0 =
 start
 314 rnd .aimright store
 stop
''''''''''''''''''''''''  Gene:  1 Ends at position  10  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  2 Begins at position  11  '''''''''''''''''''''''
 cond
 *.robage 1 =
 *.in1 0 =
 *55 0 =
 start
 50 .repro store
 1 .out1 store
 1 .fixpos store
 1 55 store
 stop
''''''''''''''''''''''''  Gene:  2 Ends at position  34  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  3 Begins at position  35  '''''''''''''''''''''''
 cond
 *.in1 1 =
 *.nrg 1000 >
 *55 0 =
 start
 10 .repro store
 628 .aimright store
 1 .out1 store
 1 55 store
 stop
''''''''''''''''''''''''  Gene:  3 Ends at position  58  '''''''''''''''''''''''
 *.eye5 35 >
 *.refeye *.myeye =
 *.numties 3 >

''''''''''''''''''''''''  Gene:  4 Begins at position  68  '''''''''''''''''''''''
 start
 1 .tie store
 628 .aimright store
 stop
''''''''''''''''''''''''  Gene:  4 Ends at position  75  '''''''''''''''''''''''

'#hash: Dcw]-=(9KV"1Hv>53K*m

--- End code ---

spike43884:

--- Quote from: spork22 on August 10, 2015, 10:03:36 AM ---Good idea, also, about the Seasnake thing, I might be able to do that. It'll be hard, but it'll be a great learning experience for me. Just one question: Is it going to be a multibot?


Update: While attempting to code the seasnake thing, I got it to mutate into what I think is what you wanted. If I can figure out why it's different from what i had typed then I can make a cleaner version. They will tie to anything though.


--- Code: ---'#generation: 2
'#mutations: 2

 cond
 *.eye5 0 =
 start
 314 rnd .aimright store
 stop
''''''''''''''''''''''''  Gene:  1 Ends at position  10  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  2 Begins at position  11  '''''''''''''''''''''''
 cond
 *.robage 1 =
 *.in1 0 =
 *55 0 =
 start
 50 .repro store
 1 .out1 store
 1 .fixpos store
 1 55 store
 stop
''''''''''''''''''''''''  Gene:  2 Ends at position  34  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  3 Begins at position  35  '''''''''''''''''''''''
 cond
 *.in1 1 =
 *.nrg 1000 >
 *55 0 =
 start
 10 .repro store
 628 .aimright store
 1 .out1 store
 1 55 store
 stop
''''''''''''''''''''''''  Gene:  3 Ends at position  58  '''''''''''''''''''''''
 *.eye5 35 >
 *.refeye *.myeye =
 *.numties 3 >

''''''''''''''''''''''''  Gene:  4 Begins at position  68  '''''''''''''''''''''''
 start
 1 .tie store
 628 .aimright store
 stop
''''''''''''''''''''''''  Gene:  4 Ends at position  75  '''''''''''''''''''''''

'#hash: Dcw]-=(9KV"1Hv>53K*m

--- End code ---

--- End quote ---

I'll check out your code later. It will of course be a multibot. Read the multibots tutorial to assign a head. Each bot in the chain should only reproduce once. But every bot in the chain will have two ties, excluding the ends which would have one tie.

spork22:
Ohhh ok. The one I have should be a fairly good base for creating a multibot, but if not, I can try again.

spike43884:

--- Quote from: spork22 on August 11, 2015, 09:42:43 AM ---Ohhh ok. The one I have should be a fairly good base for creating a multibot, but if not, I can try again.

--- End quote ---

Generally it just to tie into a chain/snake structure is the only thing it actually needs to do...

spork22:
The one I already put up does form a chain structure.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version