DarwinBotsManual
Open the app EspañolES

.refaimsx

How many times the DNA of the bot you are looking at writes to .aimsx: one number in its species signature.

Facts

Address
706
Name
.refaimsx
Kind
Sense: the engine writes it for the DNA to read
Group
What it sees (ref*)
Written by
The engine, in the actions phase of every cycle: how many commands writing to .aimsx the DNA of the bot your focus eye sees has, whether or not they run. Also on colliding with a bot. You read it in the next cycle.
Cleared
The engine, every cycle, when the senses are cleared.
Range
0 to about 16000; 0 if you see a corpse or a shape.
Mutations
picked as a read (*)

It counts how many times the address of .aimsx (6, turn left) appears in the DNA of the bot being seen, right before a write word. It is the partner of .refaimdx.

The rules are those of the whole signature (see .refup): it counts what is written, not what runs; it isn't recalculated every cycle; it is 0 if you see nothing. Your own number is .myaimsx.

' it turns just like me: it is probably my species, I keep looking
cond
*.eye5 0 >
*.refaimsx *.myaimsx =
*.refaimdx *.myaimdx =
start
314 .aimdx store
stop