41
Newbie / Re: coexistence
« Last post by hdggDalton on March 17, 2022, 12:58:30 AM »what the hell no way the bots are ganging up on my terminator cannibots, like if i put one down next to a bunch of bots, they won't run away to get picked off one by one, they'll freaking gangbang the cannibot to death, but it's so weird because they seem to be able to tell who's native to the simulation, they don't attack fellow native bots but rather do the thing where they try to stay away from each other, but the moment i put down a cannibot everyone tries to kill it. have the bots become too smart??? the context of the picture is, i put a cannibot down inside a triangle of 3 bots, it went after the smallest bot which was quickly killed, but then these 2 remaining completely unrelated bots (well they probably have a common ancestor but their colors were pretty different) gang up on the cannibot and kill it, and then they go their separate ways!
anyways here is the code of the current best bot, i caught him feasting on some plants and popping out some babies, so i already know he won't be a horribly mutated mess, and at one point he had 50 descendants out of a population of 200, making up an amazing 1/4 of the entire population!!! so i know it's gonna be good
anyways here is the code of the current best bot, i caught him feasting on some plants and popping out some babies, so i already know he won't be a horribly mutated mess, and at one point he had 50 descendants out of a population of 200, making up an amazing 1/4 of the entire population!!! so i know it's gonna be good
Code: [Select]
*.eye5 .out10 store
negstore
.out7 store
pow 13475 2 xor
*-610
start
25696 5 .up store
*.tielen1 *.refage swapbool
13771 * stop
'''''''''''''''''''''''' Gene: 1 Ends at position 22 '''''''''''''''''''''''
~=
*.tiepres
'''''''''''''''''''''''' Gene: 2 Begins at position 25 '''''''''''''''''''''''
cond
*.eye5 *.tiepres >
*.refeye *.myeye !=
start
-6 .shoot store
sin ceilstore
20551 *.refveldx .dx store
!=
.out7 store
pow *.readtie floor ceil !%=
stop
'''''''''''''''''''''''' Gene: 2 Ends at position 50 '''''''''''''''''''''''
573 dist multstore
'''''''''''''''''''''''' Gene: 3 Begins at position 54 '''''''''''''''''''''''
start
.eye9dir store
475 sgn *.availability *.dnalen *.refdx substore
314 rnd *.thisgene 205 .tielen3 store
sub .aimright store
102 sin
'''''''''''''''''''''''' Gene: 3 Ends at position 73 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 4 Begins at position 74 '''''''''''''''''''''''
else
sqr
'''''''''''''''''''''''' Gene: 4 Ends at position 75 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 5 Begins at position 76 '''''''''''''''''''''''
start
div *.refvelup !%=
swapbool
*274 21 *.nrg 23486 >
*.tieang *.vel .repro store
'''''''''''''''''''''''' Gene: 5 Ends at position 89 '''''''''''''''''''''''
on closer inspection i was really surprised that it kept this line: "*.refeye *.myeye !=" which is the line that i think stops them from devolving into endless cannibalism. but how does it tell apart native bots, some of which have deviated really far by the way, from the cannibot? another point of interest is that it uses its velocity to determine how big of a baby it should make? very interesting method of variance given the range is 0-60 (max velocity is 60)