EXAPUNKS

EXAPUNKS

View Stats:
Anyone have a solution to Bonus 3?
I hate hate hate this level. It's such a chore. I just want to be done with it.

It wouldn't be so bad if Moss and Ghast's owed numbers didn't constantly add up to more than 9999, so you have to separate things before subtracting the payments. It doesn't make the puzzle harder or more of a challenge, it just makes it longer.

But hey, if I'm missing something, please let me know. It's the only level in Exapunks (and the first Zachtronics puzzle since late-game Shenzhen I/O) that I've hated. So it's possible it's not the puzzle that's the problem... it's me.
< >
Showing 1-7 of 7 comments
try having 1 exa work on moss and 1 exa on ghast using repled code individually, if you wait long enough before you launch the 2nd one (or add wait conditions via m) they won't conflict with each other and i don't think adding up just moss or just ghast will overflow the integer. then you can just send relevant numbers separately to exa on transaction file and its done
I also have a feeling it's way easier than I think. But I also don't even know how to start with this one, how to handle it. Only had it with 1 other puzzle in this game and I'm getting mad at this puzzle as well. Hating it too. It's been days and can't come up with a solution...
I just found out that you can remove the files from their chambers--you can't do this in a lot of puzzles; this should have been communicated.

Obviously, this makes it much easier because you can quickly communicated on local/global modes.
That's weird. I tried removing the files and the EXA crashed.

I guess you can add the fact that the hosts aren't big enough to support two EXA's copying files to the frustrations.
Here's my hilariously obtuse I'm-giving-up-on-the-leaderboards solution:


GRAB 300
MARK MOSS
COPY F X
DROP
LINK 800
LINK 802
GRAB 230
NOTE FIND GHAST

MARK LOOP1
SEEK 1
TEST F = X
FJMP LOOP1
SEEK -2
COPY F X

NOTE FIND GHAST OWED
MARK CONTINUE1
FILE T
DROP
ADDI 1 T T
GRAB T
REPL COPYTOFILE
MARK FINDNUMBER
TEST F = X
TJMP COPYTRANSFER
SEEK 3
TEST EOF
TJMP NEXT
JUMP FINDNUMBER

MARK COPYTRANSFER
SEEK 1
COPY F M
COPY F M
TEST EOF
TJMP NEXT
JUMP FINDNUMBER


MARK WIPE2
WIPE
GRAB 400
LINK -1
JUMP WHATEVS2

MARK NEXT
NOTE REPEAT WITH GHASTS
NOTE PAID IN
DROP
LINK -1
KILL
REPL 801
REPL MOSS2
GRAB 401
LINK -1
KILL
LINK 800
TEST EOF
TJMP WIPE2
COPY F X
COPY F T
WIPE
GRAB 400
SUBI F X X
SEEK -1
COPY X F
SUBI F T X
SEEK -1
COPY X F
LINK -1
MARK WHATEVS2
DROP
GRAB 300
SEEK 1
JUMP MOSS

MARK 801
LINK -1
GRAB 300
COPY F X
DROP
LINK 800
LINK 801
GRAB 220
JUMP LOOP1

MARK MOSS2
GRAB 402
LINK -1
KILL
DROP
GRAB 300
SEEK 1
COPY F X
DROP
GRAB 402
LINK 800
DROP
LINK 801
GRAB 220


MARK LOOP3
SEEK 1
TEST F = X
FJMP LOOP3
SEEK -2
COPY F X
MARK CONTINUE2
FILE T
DROP
ADDI 1 T T
GRAB T
REPL COPYTOFILE
MARK FINDNUMBER2
TEST F = X
TJMP COPYTRANSFER2
SEEK 3
TEST EOF
TJMP NEXT2
JUMP FINDNUMBER2

MARK COPYTRANSFER2
SEEK 1
COPY F M
COPY F M
TEST EOF
TJMP NEXT2
JUMP FINDNUMBER2

MARK WIPE
WIPE
GRAB 402
LINK -1
JUMP WHATEVS

MARK NEXT2
NOTE REPEAT WITH GHASTS
NOTE PAID IN
DROP
LINK -1
KILL
GRAB 403
TEST EOF
TJMP WIPE
COPY F X
COPY F T
WIPE
GRAB 402
SUBI F X X
SEEK -1
COPY X F
SUBI F T X
SEEK -1
COPY X F
LINK -1
SEEK -2
MARK WHATEVS
COPY F X
COPY F T
WIPE
GRAB 400
ADDI X F X
SEEK -1
COPY X F
ADDI T F X
NOTE CONVERT CENTS TO DO
NOTE LLARS
SWIZ X 003 T
SEEK -3
ADDI T F T
SEEK -1
COPY T F
SWIZ X 021 F
DROP
GRAB 300
SEEK 2
COPY F X
DROP
LINK 800
LINK 801
GRAB 220
SEEK 9999
SEEK -2
ADDI F 1 T
SEEK 9999
COPY T F
COPY X F
DROP
LINK -1
LINK 804
COPY #DATE X
LINK -1
LINK 801
GRAB 221
SEEK 9999
COPY T F
COPY X F
DROP
LINK -1
LINK -1
GRAB 400
COPY F X
COPY F T
TEST T < 0
TJMP NEGATIVE
SEEK -1
COPY F T
MARK WIPER
WIPE
LINK 800
LINK 801
GRAB 221
SEEK 9999
COPY X F
COPY T F
HALT

MARK NEGATIVE
SEEK -1
COPY F T
ADDI 100 T T
SUBI X 1 X
JUMP WIPER


MARK FINALIZER
GRAB 403
LINK -1
KILL

NOTE COPY AND ADD DOLLAR
NOTE S AND CENTS
MARK COPYTOFILE
LINK -1
MAKE
MARK COPYAGAIN
COPY M F
COPY M F
MARK LOOP2
SEEK -2
ADDI M F X
SEEK -1
COPY X F
ADDI M F X
SEEK -1
COPY X F
JUMP LOOP2
Originally posted by iWriteYourMusic:
That's weird. I tried removing the files and the EXA crashed.

I guess you can add the fact that the hosts aren't big enough to support two EXA's copying files to the frustrations.

No, it should be big enough, that's my point. I just tested it again.

You can pick up one of the files and drop it outside and then go back inside and spawn another EXA. You'd have to return the file later, but that should be trivial.
Here's my solution. It takes over 130 lines, but that is thankfully within the size limit. The only optimization I could think of would be to the portion that checks if the cents amount is negative (I coded it to ensure the amounts paid (221) are negative with MULI F -1 M and that the amounts owed (231) are positive. After all, there's no difference between subtracting a number and adding a negative number (for example, 10 - 20 = 10 + (-20)).
Anyway, here's my code:


REPL 1
LINK 800
REPL 2
MAKE
COPY 0 F
COPY 0 F
MARK L1
SEEK -5
COPY M X
TEST X = -9999
TJMP LB1
ADDI X F X
ADDI M F T
SEEK -5
COPY X F
COPY T F
JUMP L1
MARK LB1
REPL 2
MARK L2
SEEK -5
COPY M X
TEST X = -9999
TJMP LB2
ADDI X F X
ADDI M F T
SEEK -5
COPY X F
COPY T F
JUMP L2
MARK LB2
COPY F X
COPY F T
SWIZ T 3 F
SWIZ T 21 F
SEEK -2
ADDI F X X
COPY F T
SEEK -1
TEST T < 0
FJMP E
ADDI 100 F T
SUBI X 1 X
SEEK -1
COPY T F
SEEK -1
MARK E
COPY F T
WIPE
LINK 801
GRAB 221
SEEK 9999
COPY X F
COPY T F

MARK 1
GRAB 300
LINK 800
MODE
COPY F X
COPY X M
COPY X M
COPY F X
COPY X M
COPY X M
COPY F X
DROP
LINK 801
GRAB 220
SEEK 9999
SEEK -2
ADDI F 1 T
SEEK 1
COPY T F
COPY X F
DROP
GRAB 221
SEEK 9999
COPY T F
LINK -1
LINK 804
COPY #DATE F
LINK -1
LINK 801
DROP
LINK -1
GRAB 300
LINK -1
HALT

MARK 2
MODE
COPY M X
MODE
LINK 801
GRAB 220
MARK L3
TEST X = F
FJMP L3
SEEK -2
COPY F X
DROP
GRAB 221
MARK L4
TEST EOF
TJMP LB3
TEST X = F
FJMP L4
SEEK 1
MULI F -1 M
MULI F -1 M
JUMP L4
MARK LB3
DROP
LINK -1
MODE
COPY M X
MODE
LINK 802
GRAB 230
MARK L5
TEST X = F
FJMP L5
SEEK -2
COPY F X
DROP
GRAB 231
MARK L6
TEST EOF
TJMP LB4
TEST X = F
FJMP L6
SEEK 1
COPY F M
COPY F M
JUMP L6
MARK LB4
COPY -9999 M
< >
Showing 1-7 of 7 comments
Per page: 1530 50