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 ____ ri_w fl_s lr_e rr_w ____ ri_w al_w rr_s lr_n rr_e wa_s le_e sa_n pa_w sa_e sa_w ____ le_s la_n pa_w pa_w lr_n la_w lr_e pa_w ____ la_e rr_e sa_w ____ wa_s fl_s ri_n pa_e lr_w rr_n le_s ____ ____ lr_w la_e fl_s ri_w la_e al_e ri_e ____ ____ ____ ____ lr_e lr_n la_w ____ la_w ri_n ri_s ri_s al_e rr_n ____ ____ ri_e Round 1 Creature (landmine west 6 5) takes action: infect Creature (lrover west 4 3) takes action: infect Creature (flytrap south 0 2) takes action: infect Creature (alt_rover east 5 5) takes action: infect Creature (rrover north 7 4) takes action: infect Creature (landmine west 6 7) takes action: infect Creature (same_turner north 1 5) takes action: hop Creature (wall_turner south 3 7) takes action: hop Creature (flytrap south 5 2) takes action: left Creature (landmine north 2 3) takes action: infect Creature (path_finder west 2 4) takes action: left Creature (rrover south 1 0) takes action: infect Creature (path_finder west 1 6) takes action: hop Creature (rrover north 6