Skip to content

Instantly share code, notes, and snippets.

@JasonSpine
Created September 8, 2018 15:34
Show Gist options
  • Save JasonSpine/c185181a3456e7c8362bef1d77f68f06 to your computer and use it in GitHub Desktop.
Save JasonSpine/c185181a3456e7c8362bef1d77f68f06 to your computer and use it in GitHub Desktop.
7 Billion Humans | Year 63 | Size
-- 7 Billion Humans (2087) --
-- 63: Defrag Disordered --
if w != hole:
step n
step n
if ne == datacube:
pickup ne
else:
pickup n
endif
a:
step mem1
pickup c
mem1 = nearest datacube
b:
if n != hole:
step n
jump b
endif
c:
if e != hole:
step e
else:
step sw
d:
if w != hole:
step w
jump d
endif
endif
if c == nothing:
drop
mem2 = calc mem2 + 1
if mem2 <= 3:
jump a
endif
else:
jump c
endif
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment