Skip to content

Instantly share code, notes, and snippets.

@JasonSpine
Created September 7, 2018 12:36
Show Gist options
  • Save JasonSpine/73654e5bff6e828b00fabd197231647d to your computer and use it in GitHub Desktop.
Save JasonSpine/73654e5bff6e828b00fabd197231647d to your computer and use it in GitHub Desktop.
7 Billion Humans | Year 51 | Speed
-- 7 Billion Humans (2087) --
-- 51: Identify Yourselves --
step s
pickup c
if w == nothing:
mem1 = set 1
write 1
drop
end
else:
if e == nothing:
write 10
drop
end
endif
endif
a:
if e == datacube:
mem1 = calc e - 1
write mem1
drop
end
else:
if w == datacube:
mem1 = calc w + 1
write mem1
drop
end
endif
endif
jump a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment