.refdx
How many times the DNA of the bot you are looking at writes to .dx: one number in its species signature.
Facts
- Address
- 704
- Name
.refdx- 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
.dxthe 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 .dx (4, thrust to the right) appears in the DNA of the bot being seen right before a write word. Any write word counts, not just store: a .dx inc also adds 1.
The rules are those of the whole signature (see .refup). It is compared with .mydx, and it is usually looked at together with .refsx.
' can the other one sidestep and I can't? I turn around
cond
*.eye5 0 >
*.refdx 0 >
*.mydx 0 =
start
628 .aimdx store
stop