diff --git a/solutions/34 - Seek and Destroy 1/size-9_speed-21.asm b/solutions/34 - Seek and Destroy 1/size-9_speed-21.asm new file mode 100644 index 0000000..1d63954 --- /dev/null +++ b/solutions/34 - Seek and Destroy 1/size-9_speed-21.asm @@ -0,0 +1,26 @@ +-- 7 Billion Humans (2053) -- +-- 34: Seek and Destroy 1 -- + +-- Author: Nantor +-- Size: 9 +-- Speed: 21 +-- Speed Tests: 21 + +-- 7 Billion Humans (2235) -- +-- 34: Suchen & Schreddern 1 -- + +mem2 = nearest shredder +step n +a: +step n +if n == datacube and + n < mem1 or + mem1 != datacube and + n == datacube: + mem1 = set n +endif +if n != wall: + jump a +endif +pickup mem1 +giveto mem2