Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
a:
if c == nothing or
c == 4:
step w
endif
if c == 1:
step n
endif
if c == 2:
step e
endif
if c == 3:
step s
endif
if c == 4 and
n == nothing and
s != hole and
e != hole:
step n
step n
step n
step n
step n
step n
step w
endif
jump a
-- 7 Billion Humans (2059) --
-- 10: Emergency Escapades --
if n == hole:
step s
jump a
else:
if s == wall:
step n
jump b
endif
endif
b:
a:
c:
if c != 1:
step w
else:
if w == hole:
step n
step w
step w
jump d
else:
step w
step w
jump e
endif
endif
jump c
e:
d:
step s
step s
step s
step w
step w
step w
step w
step w
step n
step n
step n
step n
step n
step n
step w
Not bad at all.
Things don't need to always be elegant.
I bet you can do it even faaaster than that. :D
All employees reach the exit, but the solution is not accepted.
-- 7 Billion Humans (2059) --
-- 10: Flucht-Polonaise --
a:
if w == datacube and
w != worker:
step w
jump b
else:
if w == datacube and
w == worker:
step e
else:
step w
endif
jump a
endif
b:
c:
if c == 1 and
n != worker:
step n
endif
if c == 2 and
e != worker:
step e
endif
if c == 3 and
s != worker:
step s
endif
if c == 4 and
w != worker:
step w
endif
jump c
11 workers reached the exit.
How many started?
Edit: Bossbot knows. There's no fooling him.
Your answer:
I found your solution to be broken. A couple of people are 2 squares away from the bridge.
I placed 2 x 'step W' at the start of the code. Under the check for SW, I added another nested if with a check for the wall. ITT looks like people aren't placing their curly brackets/endifs 100% in the right place. (I know this isn't exactly real code, but adding tabs instead of spaces breaks syntax, meaning your code will not work)
Hope this helps anyone who stumbles across this thread.