Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Error: Instruction is not recognized!
JOJ Answer
Initial state ____ ____ ____ ho_w ____ ____ fl_e ____ ____ ____ lr_n ____ ____ ____ ____ ____ ____ fo_s ____ ____ ____ ____ ____ ____ la_s Round 1 Creature (flytrap east 1 1) takes action: left Creature (landmine south 4 4) takes action: left Creature (food south 3 2) takes action: left Creature (lrover north 2 0) takes action: hop Creature (hop west 0 3) takes action: hop ____ ____ ho_w ____ ____ lr_n fl_n ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ fo_e ____ ____ ____ ____ ____ ____ la_e Round 2 Creature (flytrap north 1 1) takes action: left Creature (landmine east 4 4) takes action: left Creature (food east 3 2) takes action: left Creature (lrover north 1 0) takes action: hop Creature (hop west 0 2) takes action: hop lr_n ho_w ____ ____ ____ ____ fl_w ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ fo_n ____ ____ ____ ____ ____ ____ la_n Round 3 Creature (flytrap west 1 1) takes action: left Creature (landmine north 4 4) takes action: infect Creature (food north 3 2) takes action: l