Last active
September 8, 2018 01:01
-
-
Save JasonSpine/2b1db18660cf8d847a284916e59aff58 to your computer and use it in GitHub Desktop.
7 Billion Humans | Year 58 | 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) -- | |
-- 58: Good Neighbors -- | |
a: | |
step nw,sw,ne,se | |
mem2 = set 0 | |
mem1 = foreachdir nw,w,sw,n,s,ne,e,se: | |
if mem1 == datacube: | |
mem2 = calc 1 + mem2 | |
endif | |
endfor | |
if mem2 <= 3: | |
drop | |
else: | |
pickup c | |
endif | |
jump a | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment