Created
September 10, 2018 00:19
-
-
Save JasonSpine/2c0f3fdeac3bae670d0fb2ae9489e27b to your computer and use it in GitHub Desktop.
7 Billion Humans | Year 67 | Size
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 7 Billion Humans (2087) -- | |
-- 67: Decimal Doubler -- | |
pickup s | |
step s | |
if s == button: | |
a: | |
listenfor go | |
step s | |
step n | |
tell w ready | |
jump a | |
endif | |
step s | |
b: | |
drop | |
tell w ready | |
mem3 = calc e + 0 | |
if w == nothing: | |
tell everyone go | |
endif | |
listenfor ready | |
mem1 = calc 2 x c | |
if mem3 == 9 and | |
e == 9: | |
jump c | |
endif | |
if e == datacube and | |
e < mem3: | |
c: | |
mem1 = calc mem1 + 1 | |
endif | |
if mem1 > 9: | |
mem1 = calc mem1 - 10 | |
endif | |
pickup c | |
write mem1 | |
jump b | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment