Dump of progress thus far
3
000-fake-surveillance-camera/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
Aside from being a figment of someone else's imagination, I loved the idea of immortalizing the sheer impostor's dread of the "last person."
|
||||
|
||||
Solution "fake-surveillance-camera-1" contains a minor spoiler from later in the game, and reveals the reason for the inexplicably bimodal leaderboard trends of the first few levels.
|
||||
BIN
000-fake-surveillance-camera/fake-surveillance-camera-0.png
Normal file
|
After Width: | Height: | Size: 541 KiB |
51
000-fake-surveillance-camera/fake-surveillance-camera-0.txt
Normal file
@@ -0,0 +1,51 @@
|
||||
[name] New Design 1
|
||||
[puzzle] Sz000
|
||||
[production-cost] 600
|
||||
[power-usage] 65
|
||||
[lines-of-code] 13
|
||||
|
||||
[traces]
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
........1C............
|
||||
.........34...........
|
||||
......................
|
||||
........1C............
|
||||
.........34...........
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 10
|
||||
[y] 3
|
||||
[code]
|
||||
mov 0 p0
|
||||
slp 4
|
||||
mov 100 p0
|
||||
slp 2
|
||||
mov 0 p0
|
||||
slp 1
|
||||
mov 100 p0
|
||||
slp 1
|
||||
mov 0 p0
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 10
|
||||
[y] 6
|
||||
[is-puzzle-provided] true
|
||||
[code]
|
||||
mov 0 p0
|
||||
slp 6
|
||||
mov 100 p0
|
||||
slp 6
|
||||
|
||||
# why is this
|
||||
# so hard? :(
|
||||
|
||||
BIN
000-fake-surveillance-camera/fake-surveillance-camera-1.png
Normal file
|
After Width: | Height: | Size: 579 KiB |
49
000-fake-surveillance-camera/fake-surveillance-camera-1.txt
Normal file
@@ -0,0 +1,49 @@
|
||||
[name] Using undocumented instructions
|
||||
[puzzle] Sz000
|
||||
[production-cost] 600
|
||||
[power-usage] 58
|
||||
[lines-of-code] 5
|
||||
|
||||
[traces]
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
........1C............
|
||||
.........34...........
|
||||
......................
|
||||
........1C............
|
||||
.........34...........
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 10
|
||||
[y] 3
|
||||
[code]
|
||||
@ slp 4
|
||||
gen p0 2 1
|
||||
gen p0 1 4
|
||||
|
||||
# The undocumented
|
||||
# instruction plot
|
||||
# was genius and
|
||||
# evil, espec with
|
||||
# the leaderboard
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 10
|
||||
[y] 6
|
||||
[is-puzzle-provided] true
|
||||
[code]
|
||||
@ slp 6
|
||||
gen p0 6 6
|
||||
|
||||
# why is this
|
||||
# so hard? :(
|
||||
|
||||
BIN
010-control-signal-amplifier/control-signal-amplifier-0.png
Normal file
|
After Width: | Height: | Size: 493 KiB |
32
010-control-signal-amplifier/control-signal-amplifier-0.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
[name] New Design 1
|
||||
[puzzle] Sz030
|
||||
[production-cost] 300
|
||||
[power-usage] 240
|
||||
[lines-of-code] 4
|
||||
|
||||
[traces]
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
.......1C..1C.........
|
||||
........34..34........
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 9
|
||||
[y] 5
|
||||
[code]
|
||||
mov p0 acc
|
||||
mul 2
|
||||
mov acc p1
|
||||
slp 1
|
||||
|
||||
BIN
020-diagnostic-pulse-generator/diagnostic-pulse-generator-0.png
Normal file
|
After Width: | Height: | Size: 522 KiB |
@@ -0,0 +1,37 @@
|
||||
[name] New design 1
|
||||
[puzzle] Sz002
|
||||
[production-cost] 300
|
||||
[power-usage] 300
|
||||
[lines-of-code] 9
|
||||
|
||||
[traces]
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
..........155554......
|
||||
.......14.............
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 8
|
||||
[y] 5
|
||||
[code]
|
||||
teq p0 0
|
||||
+ mov 0 p1
|
||||
+ mov 100 acc
|
||||
+ jmp end
|
||||
- mov acc p1
|
||||
- teq acc 0
|
||||
+ mov 100 acc
|
||||
- mov 0 acc
|
||||
end: slp 1
|
||||
|
||||
BIN
030-animated-esports-sign/animated-esports-sign-0.png
Normal file
|
After Width: | Height: | Size: 773 KiB |
61
030-animated-esports-sign/animated-esports-sign-0.txt
Normal file
@@ -0,0 +1,61 @@
|
||||
[name] New design 1
|
||||
[puzzle] Sz001
|
||||
[production-cost] 1100
|
||||
[power-usage] 203
|
||||
[lines-of-code] 21
|
||||
|
||||
[traces]
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
.........94...........
|
||||
.........A...1C.......
|
||||
.........A....A.......
|
||||
.......1CA94..A.......
|
||||
....954.AA35C.A.......
|
||||
....354.2354216.......
|
||||
......................
|
||||
......................
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 5
|
||||
[y] 3
|
||||
[code]
|
||||
mov 100 p0
|
||||
mov 0 p1
|
||||
slp 1
|
||||
mov 0 p0
|
||||
mov 100 p1
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] UC6
|
||||
[x] 11
|
||||
[y] 4
|
||||
[code]
|
||||
mov 0 p0
|
||||
mov 0 p1
|
||||
slp 6
|
||||
mov 100 p0
|
||||
slp 1
|
||||
mov 0 p0
|
||||
mov 100 p1
|
||||
slp 2
|
||||
mov 100 p0
|
||||
mov 0 p1
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 10
|
||||
[y] 7
|
||||
[code]
|
||||
mov 100 p0
|
||||
slp 6
|
||||
mov 0 p0
|
||||
slp 4
|
||||
|
||||
BIN
040-drinking-game-scorekeeper/drinking-game-scorekeeper-0.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
@@ -0,0 +1,66 @@
|
||||
[name] New design 1
|
||||
[puzzle] Sz028
|
||||
[production-cost] 900
|
||||
[power-usage] 902
|
||||
[lines-of-code] 20
|
||||
|
||||
[traces]
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
.....154.154..........
|
||||
..........94.154......
|
||||
.........16...........
|
||||
.....154..............
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
|
||||
[chip]
|
||||
[type] LCDN
|
||||
[x] 15
|
||||
[y] 2
|
||||
[is-puzzle-provided] true
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 7
|
||||
[y] 3
|
||||
[code]
|
||||
teq p0 0
|
||||
+ mov 0 acc
|
||||
- add 1
|
||||
teq 1 acc
|
||||
+ mov 2 p1
|
||||
- mov 0 p1
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 11
|
||||
[y] 5
|
||||
[code]
|
||||
add x0
|
||||
sub p0
|
||||
tlt acc 0
|
||||
+ mov 0 acc
|
||||
mov acc x1
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 7
|
||||
[y] 6
|
||||
[code]
|
||||
teq p0 0
|
||||
+ mov 0 acc
|
||||
- add 1
|
||||
teq 1 acc
|
||||
+ mov 1 x1
|
||||
- mov 0 x1
|
||||
slp 1
|
||||
|
||||
|
After Width: | Height: | Size: 679 KiB |
@@ -0,0 +1,51 @@
|
||||
[name] New design 1
|
||||
[puzzle] Sz003
|
||||
[production-cost] 600
|
||||
[power-usage] 645
|
||||
[lines-of-code] 12
|
||||
|
||||
[traces]
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......15555C..........
|
||||
.....15555CA..........
|
||||
......1415634.154.....
|
||||
.....154.1C...1C......
|
||||
..........355556......
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 7
|
||||
[y] 4
|
||||
[code]
|
||||
mov p0 x0 #in
|
||||
mov p1 x1 #max
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 12
|
||||
[y] 4
|
||||
[code]
|
||||
slx x0
|
||||
mov x0 acc #in
|
||||
slx x1
|
||||
teq x1 100 #max
|
||||
+ sub 50
|
||||
+ mul 4
|
||||
+ add 50
|
||||
mov acc p1
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] BRIDGE
|
||||
[x] 6
|
||||
[y] 5
|
||||
|
||||
BIN
060-passive-infrared-sensor/passive-infrared-sensor-0.png
Normal file
|
After Width: | Height: | Size: 895 KiB |
79
060-passive-infrared-sensor/passive-infrared-sensor-0.txt
Normal file
@@ -0,0 +1,79 @@
|
||||
[name] New design 1
|
||||
[puzzle] Sz005
|
||||
[production-cost] 900
|
||||
[power-usage] 778
|
||||
[lines-of-code] 16
|
||||
|
||||
[traces]
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
.......94.............
|
||||
.......34.............
|
||||
......154.1C..........
|
||||
....155555C34.155C....
|
||||
......894.354.1C.2....
|
||||
......A34......A......
|
||||
.....1754.155556......
|
||||
......................
|
||||
......................
|
||||
|
||||
[chip]
|
||||
[type] RTC
|
||||
[x] 3
|
||||
[y] 2
|
||||
[is-puzzle-provided] true
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 8
|
||||
[y] 2
|
||||
[code]
|
||||
teq x0 p0
|
||||
+ mov 555 acc
|
||||
mov acc x1
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] BRIDGE
|
||||
[x] 6
|
||||
[y] 4
|
||||
|
||||
[chip]
|
||||
[type] DIAL2
|
||||
[x] 8
|
||||
[y] 4
|
||||
[is-puzzle-provided] true
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 12
|
||||
[y] 4
|
||||
[code]
|
||||
add x0
|
||||
sub x1
|
||||
tgt acc 0
|
||||
+ tgt p0 19
|
||||
+ mov 100 p1
|
||||
- mov 0 p1
|
||||
mov 0 acc
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 8
|
||||
[y] 6
|
||||
[code]
|
||||
teq p0 x0
|
||||
+ mov 444 acc
|
||||
mov acc x1
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] DIAL1
|
||||
[x] 8
|
||||
[y] 8
|
||||
[is-puzzle-provided] true
|
||||
|
||||
BIN
070-virtual-reality-buzzer/virtual-reality-buzzer-0.png
Normal file
|
After Width: | Height: | Size: 714 KiB |
74
070-virtual-reality-buzzer/virtual-reality-buzzer-0.txt
Normal file
@@ -0,0 +1,74 @@
|
||||
[name] New design 1
|
||||
[puzzle] Sz035
|
||||
[production-cost] 900
|
||||
[power-usage] 691
|
||||
[lines-of-code] 22
|
||||
|
||||
[traces]
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
...........94.1C......
|
||||
......94...A...A......
|
||||
......34...354.2......
|
||||
.........14...........
|
||||
............14........
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 10
|
||||
[y] 3
|
||||
[code]
|
||||
add x0
|
||||
tgt acc 0
|
||||
+ mov 100 x1
|
||||
- mov 0 x1
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] BRIDGE
|
||||
[x] 13
|
||||
[y] 3
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 7
|
||||
[y] 4
|
||||
[code]
|
||||
mov x0 acc
|
||||
teq acc -999
|
||||
+ mov 0 x1
|
||||
teq acc 1
|
||||
+ mov 1 x1
|
||||
teq acc 0
|
||||
+ mov -1 x1
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] RADIO
|
||||
[x] 7
|
||||
[y] 6
|
||||
[rotated] true
|
||||
[is-puzzle-provided] true
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 12
|
||||
[y] 6
|
||||
[code]
|
||||
start: slx x0
|
||||
teq x0 0
|
||||
+ mov 0 p1
|
||||
+ mov 100 acc
|
||||
+ jmp start
|
||||
mov acc p1
|
||||
teq acc 0
|
||||
+ mov 100 acc
|
||||
- mov 0 acc
|
||||
|
||||
BIN
080-wireless-game-controller/wireless-game-controller-0.png
Normal file
|
After Width: | Height: | Size: 875 KiB |
74
080-wireless-game-controller/wireless-game-controller-0.txt
Normal file
@@ -0,0 +1,74 @@
|
||||
[name] New design 1
|
||||
[puzzle] Sz011
|
||||
[production-cost] 800
|
||||
[power-usage] 597
|
||||
[lines-of-code] 17
|
||||
|
||||
[traces]
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
....955555555C155C....
|
||||
....A........354.A....
|
||||
....34.1554...9556....
|
||||
.......15555556.......
|
||||
....94.1C14954.15C....
|
||||
....A...355694.14A....
|
||||
....341554..355416....
|
||||
......................
|
||||
......................
|
||||
|
||||
[chip]
|
||||
[type] BRIDGE
|
||||
[x] 9
|
||||
[y] 2
|
||||
|
||||
[chip]
|
||||
[type] UC4
|
||||
[x] 13
|
||||
[y] 3
|
||||
[code]
|
||||
mov p0 x0 #a
|
||||
mov p1 x0 #b
|
||||
end:
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] BRIDGE
|
||||
[x] 16
|
||||
[y] 3
|
||||
|
||||
[chip]
|
||||
[type] UC6
|
||||
[x] 5
|
||||
[y] 4
|
||||
[code]
|
||||
teq -1 x0
|
||||
- jmp end
|
||||
mov p0 x3 #x
|
||||
mov p1 x3 #y
|
||||
teq 100 x2 #a
|
||||
+ add 1
|
||||
teq 100 x2 #b
|
||||
+ add 2
|
||||
mov acc x3
|
||||
tgt acc -3 #clr
|
||||
end: mov 0 acc
|
||||
- mov x2 null
|
||||
- mov x2 null
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] BRIDGE
|
||||
[x] 10
|
||||
[y] 4
|
||||
|
||||
[chip]
|
||||
[type] RADIO
|
||||
[x] 15
|
||||
[y] 7
|
||||
[rotated] true
|
||||
[is-puzzle-provided] true
|
||||
|
||||
|
After Width: | Height: | Size: 868 KiB |
@@ -0,0 +1,85 @@
|
||||
[name] New design 1
|
||||
[puzzle] Sz015
|
||||
[production-cost] 1500
|
||||
[power-usage] 993
|
||||
[lines-of-code] 36
|
||||
|
||||
[traces]
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
......................
|
||||
........155555555C....
|
||||
....8...1554.1555E....
|
||||
....354.1C.......A....
|
||||
....8....A14....16....
|
||||
....A....355554.......
|
||||
....35555555554.......
|
||||
......................
|
||||
......................
|
||||
|
||||
[chip]
|
||||
[type] BRIDGE
|
||||
[x] 10
|
||||
[y] 2
|
||||
|
||||
[chip]
|
||||
[type] UC6
|
||||
[x] 14
|
||||
[y] 2
|
||||
[code]
|
||||
# 60<x<80
|
||||
mov 0 p1
|
||||
end: slx x1
|
||||
mov x1 null
|
||||
mov p0 acc
|
||||
tlt acc 40
|
||||
+ jmp kill
|
||||
tgt acc 79
|
||||
+ jmp kill
|
||||
- mov 80 p1
|
||||
kill:
|
||||
+ mov 30 p1
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] UC6
|
||||
[x] 11
|
||||
[y] 4
|
||||
[code]
|
||||
# 40<x<60
|
||||
mov 0 p1
|
||||
end: slx x0
|
||||
mov x0 null
|
||||
mov p0 acc
|
||||
tlt acc 40
|
||||
+ jmp kill
|
||||
- tgt acc 79
|
||||
+ jmp kill
|
||||
- mov 50 p1
|
||||
kill:
|
||||
+ mov 0 p1
|
||||
slp 1
|
||||
|
||||
[chip]
|
||||
[type] UC6
|
||||
[x] 6
|
||||
[y] 5
|
||||
[code]
|
||||
mov p0 acc #x
|
||||
tlt acc 20
|
||||
- tgt acc 79
|
||||
+ mov 30 p1
|
||||
+ jmp end
|
||||
- tlt acc 40
|
||||
+ mov 0 p1
|
||||
+ jmp end
|
||||
- tlt acc 60
|
||||
+ mov acc x3
|
||||
+ jmp end
|
||||
- mov acc x2
|
||||
end: slp 1
|
||||
mov 0 p1
|
||||
|
||||
16
README.md
Normal file
@@ -0,0 +1,16 @@
|
||||
SHENZHEN I/O Solutions
|
||||
======================
|
||||
|
||||
My solutions to the imaginary micro-controller programming game [SHENZHEN I/O](http://www.zachtronics.com/shenzhen-io/).
|
||||
|
||||
The raw save files are not exactly human readable, so solution screenshots are also included.
|
||||
|
||||
Somehow my [solution repo](https://github.com/sunzenshen/tis-100-solutions) for another imaginary programming game TIS-100 had a small readership, so may as well post solutions for this game as well.
|
||||
If these save games are useful or interesting,
|
||||
take comfort that I don't really care to enforce some arbitrary copyright on some fun game related code;
|
||||
just don't inexplicably harm yourself with it (though that would be impressive, given the imaginary architecture!).
|
||||
That said, since I'm planning on posting unoptimized solutions before I complete a first full pass of the game, I'm sure you (dear reader) can do much better with some careful [code bumming](http://www.jargon.net/jargonfile/b/bum.html).
|
||||
|
||||
Enjoy!
|
||||
|
||||
- Alan Shen
|
||||