Created
September 8, 2018 00:55
-
-
Save JasonSpine/cd0ca72a2c2054975fb23938de2ab5ee to your computer and use it in GitHub Desktop.
7 Billion Humans | Year 57 | Size
This file contains hidden or 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) -- | |
-- 57: Neighborly Sweeper -- | |
mem1 = set e | |
if e == wall: | |
a: | |
b: | |
if w != wall: | |
step w | |
mem2 = set 0 | |
mem4 = foreachdir nw,w,sw,n,s,ne,e,se: | |
if mem4 == datacube: | |
mem2 = calc mem2 + 1 | |
endif | |
endfor | |
pickup c | |
write mem2 | |
drop | |
jump a | |
endif | |
step mem1 | |
step n | |
jump b | |
endif | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment