EXAPUNKS

EXAPUNKS

View Stats:
undocumented behavior?
I've noticed a couple of interesting things while trying to optimize my programs:

1) the order of the starting exas on the left panel will have an effect on the behavior. in other words, if you rearrange the order of the starting exas, keeping the same code, you will have different results. i'm not sure how to properly exploit this yet, but it has something to do with the timing of the M registers.

2) The M registers work on a FIFO basis. if there is a value in the M register and another is added, the receiving exa will take the first value first, and then the second. Exploiting this feature is fairly obvious.

Have any of you noticed these quirks?
< >
Showing 1-1 of 1 comments
The first behavior has to do with the fact that, if two EXAs try to do something (such as reading from M, traversing the same link, or grabbing the same file) at the same time, then the game will pseudorandomly select which EXA performs the action. The result will be unpredictable but consistent as long as you don't change the code. Still, some things, such as the order of EXAs will change how the RNG is seeded.

The second behavior is not true. I ran this code in Tutorial 1:

COPY 0 M

NOOP
COPY 1 M

NOOP
NOOP
COPY 2 M

NOOP
NOOP
NOOP
COPY M X
COPY M X
COPY M X

The fourth EXA read the values in the order 0, 2, 1, despite the values being sent to M in the order 0, 1, 2. You may be confusing this with the fact that an EXA that outputs to M will wait until its value is read before proceeding
< >
Showing 1-1 of 1 comments
Per page: 1530 50