C_Circumgirans has one of the weirdest DNAs of all the robots that we have.
From a logical oint of view it doesn't make much sense and has no flow at all. The DNA is riddled with useless commands.
LOL ....
so wouldn't you know I'd pick that one to use as a learning device. ;)
btw ... it is an evolved bot ... I find this in the comments:
' Comisia Circumgirans
'
' Robot NanniMorettiano
' (you'd need to know some italian politics
' to understand that... I hope you don't)
' Evolved 2002 from c. ancestralis
'
' A very efficient robot, it has the ability
' to move in swarms (swarms that become
' round when there is no food in sight,
' so the name).
I still like it but it seems to me one could strip a lot of this useless
stuff out and have it do it's thing more effieciently, eh?
what can be eliminated then?
btw ... where do I find what eye looks where?
perhaps this is what I am missing.
is this info available anywhere in a central location ...
if it is in your bot tutorial I haven't found it ...
nor do I find it on the wiki either.
this is what it does:
From this DNA, C_Circumgirans should travel in small CCW circles (controlled by gene 2) so long as it doesn't encounter anything. When it does see something a little to the right of centre it will begin to turn very slightly right (1 point) and shoot constantly. so:
Gene 1:
drop the store 21, 40 thing, yes?
now if it sees anything, it 'rotates right 17 ....
modified by
Gene 2:
which always rotates left 16.
Gene 3:
forward movement of 8
Gene 4:
eliminate the store nrg.
this gene shoots if it sees a positive value in .aimdx
with eye 8 ... [where is eye 8 looking?]
Gene 5:
*.refsx actually reads back the number of .sx commands in the viewed robot's DNA. It has nothing to do with movement.
What this gene does is to look for a number of .sx commands that is NOT almost equal to 6181. Seems a fair assumption that this will ALWAYS return TRUE and is completely useless.so I can eliminate *.refsx 6181 ?
Next it checks if its own energy is greater than 6181 and if it is then it rotates about a third of a turn to the right, reproduces, then stores 42 into .out1. It then goes on to place a value of 37 onto the top of the stack for no good reason.so eliminate store 37 ?
will give it a shot.
now ....
to make the mirror image ... ie ... rotate Clockwise ...
I alter the sign for the 17 and 16 in gene 1 and 2 ....
and in gene 4, have it fire if it sees a negitive value in .aimdx?
*.aimdx 0 <
or can it also be done looking for a pos value in .aimsx?
*.aimsx 0 >
btw ... I did these 3 changes and it does indeed rotate CW and swarm
pretty much like the original but ...
it doesn't react the same way with the veggies ....
and eventually dies out ... it just isn't as hardy as the orig CCW version.
any ideas why????
hmmmmm .... didn't change the sign on the 430 for repro ....
will do that as well ... who knows?
thanks.
and again ...
is there somewhere where the function of 'eyes' is explained in detail ...
the differences between eye 9 and eye 8, etc?
I haven't found it yet ... although I know Endy is slowly adding
various DNA stuff to the wiki.
does the search thing work now here at the DB forum?
it wasn't last time I tried.
ok
on we go