Skip to content

Instantly share code, notes, and snippets.

@JasonSpine
Created September 7, 2018 12:43
Show Gist options
  • Save JasonSpine/144c48f08e1372db21044edd74cac1df to your computer and use it in GitHub Desktop.
Save JasonSpine/144c48f08e1372db21044edd74cac1df to your computer and use it in GitHub Desktop.
7 Billion Humans | Year 52 | Size
-- 7 Billion Humans (2087) --
-- 52: The Mode Code --
mem2 = set s
if w != nothing:
a:
mem4 = calc 1 + mem4
if w == worker:
jump a
endif
endif
step n
b:
if n == datacube:
step w
jump b
endif
mem3 = set ne
c:
step mem3
mem3 = set e
if mem3 != nothing or
nw == datacube:
d:
if c == mem4:
mem1 = calc mem1 + 1
endif
if n == nothing:
jump c
endif
step n
jump d
endif
pickup mem2
write mem1
drop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment