Skip to content

Instantly share code, notes, and snippets.

@JasonSpine
Created September 8, 2018 15:47
Show Gist options
  • Save JasonSpine/ff55282e5330c6ef1b0fdbae7e692170 to your computer and use it in GitHub Desktop.
Save JasonSpine/ff55282e5330c6ef1b0fdbae7e692170 to your computer and use it in GitHub Desktop.
7 Billion Humans | Year 68 | Speed
-- 7 Billion Humans (2087) --
-- 68: Goodbye, Humans! --
if n == hole:
step ne
a:
if e != wall:
step e
jump a
endif
b:
if w != hole:
step w
jump b
endif
step e
step e
step e
c:
d:
if se == worker or
se == worker:
jump d
endif
if s == hole:
tell everyone goodbye
endif
step s
jump c
endif
e:
if w == wall:
step se
else:
if e == wall or
e == hole:
step sw
endif
endif
step s
jump e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment