EXAPUNKS

EXAPUNKS

View Stats:
Baffled at Tutorial 4
I have solved it, as far as I can tell. When I do the first iteration of the test run it accepts it but the subsequent test doesn't seem to think I drop the file in the outbox. This is my code.


LINK 800 LINK 800 MAKE MARK LOOP COPY M X COPY X F TEST X = 0 FJMP LOOP DROP HALT


As far as I can tell nothing changes between the test runs and going through the second run by step has the file in the outbox with the right numbers, so I have no idea what I'm doing wrong here.
< >
Showing 1-8 of 8 comments
I'm not sure why the first test run works and I'm not in the mood to check/test it or anything but take a very close look at your loop routine, what will happen when M contains no data anymore? ;)
I think you posted only one of the EXA's. There's also a sender I'm guessing, and that's where the problem is likely to be.
I'm not sure why you'd need more than one for this puzzle but I'll give two a shot.
OH. OH MY GOD. THE NUMBER CHANGES EVERY TIME. I AM QUEEN OF THE FOOLS.
Thanks for making me actually look at the file the second time around, lol.
I'm not sure why you'd need more than one for this puzzle but I'll give two a shot.
You're right that you can solve this puzzle with a single EXA.

However your own posted code used register M, so there's communication going on, there. Maybe you copied the wrong code?

As for your mistake, it's been made by many others. If you think about it, though, if it was only the number 9, why would you need to read it from a file? You could just COPY 9 X. :-)

As for your original code. In case you want to optimize:

DROP
HALT

is very 'neat' coding. But try running your code without those lines. Exapunks likes its solutions hacky.

As last tip. If your solution doesn't seem to work, pause the run and hit the "SHOW RESULT" button on the right. It will often reveal what's wrong quite quickly.
I think I copied the wrong code. I was looking at a solution posted in the guides because I was completely stumped as to how I could be wrong, and that must have been what I posted.

Anyway, thanks for steering me clear. I figured it out.
Cool that you got it figured out! Have fun with the rest of the game :)
PS: "DROP HALT" at the end of an EXA is redundant. It'll be killed when it runs out of instructions and if it's holding a file when it's killed it dropsit
< >
Showing 1-8 of 8 comments
Per page: 1530 50