7 BILLION HUMANS

Level 10: Emergency Escapades

Shortest Program

-- 7 Billion Humans (2144) --
-- Level 10: Emergency Escapades --
-- Shortest Program: 9 Commands --
a:
if c == 1:
    step n
endif
if c == 2:
    step e
endif
if c == 3:
    step s
endif
if c == 4 or
 c == nothing:
    step w
endif
jump a

Fastest Program

-- 7 Billion Humans (2144) --
-- Level 10: Emergency Escapades --
-- Fastest Program: 25 Seconds --
a:
b:
if w != hole:
    step w
    jump a
endif
if c == 3:
    step s
    step s
    step s
    step w
    step w
    step w
    step w
    step nw
    step n
    step n
    step nw
    step n
    step n
    c:
    jump c
endif
if s == wall:
    step n
endif
if nw != hole:
    step nw
endif
if sw != hole:
    step sw
endif
jump b
Back