Could someone explain me what to do(Match Cord, Computer Science 6)?

I’m curious too, what exactly is the approach we should be taking for this code? I figured out how to send my hero to the right starting point and complete the level, but I don’t think that is what was intended. My answer wasn’t found from a variable after a line of code, I just told him what column that tracks back from the Chieftain by visually following it.

I think the idea is to trace the mines back to the Chieftain by code using the array and distance checks. Although the comments are minimal and don’t provide much direction on how to accomplish that code. I saw another post on this from a while back and they brought up some interesting ideas.

Feedback: Match Cord from 2016

:sunglasses: Update: After a lot of time pondering what tactics to use, I was able to complete the level by writing the full code to trace the mines to the chieftain. I started at the chieftain and worked my way back one mine at a time. I have submitted it with two different seed mine arrangements and the code put the hero where he needed to be so far.

2 Likes