if dist1 is smaller than dist2
I just quoted the onboarding puzzle, which i guess you’re refering to. The ‘system calls’ as you are refering to are either echo("$enemy1\n"); or echo("$enemy2\n"); and it’s your job to find out when you should order to fire on the first enemy, and when on the second. (based on the distance)
So it is not a
like you said, it all about logic and AI, and the output expected is written in the left. You may wanna try to calm down and try using the forum if you are in trouble, but swearing isn’t going to solve anything.
I hope I could help you understand your concern, and wish you to solve many more puzzles.