My solution to attempt at the Synacor challenge.
https://challenge.synacor.com/
Running:
$ cabal run synacor challenge.bin
Using a map to represent memory really is inefficient, probably better to switch to an array. It would also be nice to use an array for the registers.
Save point encoded as instructions in game/save_point.in
.
Coin game brute forcer in game/solve_coins.py
.
Later^tm I'll go write a little debugger and TUI for this... and RE the teleporter.
- Code 1 - mxNXGuMXzRII (free)
- Code 2 - qdnbyIYbtdIq (opcodes 0,19,21)
- Code 3 - eqoTTVUAOdxX (passed self-test)
- Code 4 - dYhOtyHmLAnE (start -> tablet -> use tablet)
- Code 5 - nzOQMPRdYiCJ (ladder made, go west -> south -> north)
- Code 6 - jPkGCXxNysAV (coin game -> teleporter)
- Code 7
- Code 8