.trefypos
The vertical coordinate of the tied bot, as it published it the previous cycle.
Facts
- Address
- 439
- Name
.trefypos- Kind
- Sense: the engine writes it for the DNA to read
- Group
- What it feels through a tie (tref*)
- Written by
- The engine, in the forces and collisions phase: it copies the
.ypospublished by the tied bot. You read it in the next cycle, one cycle behind what the other reads of itself. - Cleared
- The engine, when you run out of ties or don't have the tie that
.readtieasks for. - Range
- 0 to 31999; it grows toward the bottom of the map
- Mutations
- picked as a read (
*)
It is a copy of the tied bot's .ypos (or .depth), with the same delay as .trefxpos: one cycle older than what the partner reads about itself. As with .ypos, the values grow toward the bottom of the map.
' If the tied bot is lower than I am, cell 50 is 1
cond
*.numties 0 >
*.trefypos *.ypos >
start
1 50 store
stopTogether with .trefxpos it gives you the complete position of the other end of the tie.