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, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
ifenemy 4 If there is an enemy, go to step 4. left If no enemy, turn left. go 1 infect go 1 left go 1 hop go 1 ifenemy 8 If there is an enemy ifwall 6 ifsame 6 hop go 1 left go 1 infect go 1 ifenemy 8 If there is an enemy ifwall 6 ifsame 6 hop go 1 right go 1 infect go 1 ifenemy 8 If there is an enemy ifwall 6 ifsame 6 hop go 1 left go 10 infect go 1 ifenemy 17 If there is an enemy ifwall 15 ifsame 15 Error: Too many instructions for species alt_rover! Maximal number of instructions is 40.
JOJ Answer
Error: Creature (flytrap east 1 1) overlaps with creature (food west 1 1)!