Closed kahgoh closed 4 months ago
Hey @kahgoh thanks for opening an issue, you're right, we modified the reference resolution and built the analyzer so the students try to solve it without using a loop but forgot to change the instructions and hints, if you want to open a PR to fix this, go ahead!
I think the Need for Speed's task 6's instruction is out of sync with the analyzer feedback. More specifically, I think it is this one:
The part of the solution that produces this:
The exemplar solution uses a mathematical formula in
tryFinishTrack
:I no longer get the analyzer feedback when I change to this implementation. But, I think this is inconsistent with the current instructions, as I think it encourages students to continually call
drive
as per the while loop approach:Also, note the first point in the hints for task 6: