Lesson 3.5: Coding Challenge: Grid Scanner
Build a route that ends at x = 4 and y = 4 using exactly eight movement operations. Use at least one loop so repeated work is not copied by hand.
Trace the loop count and scene position. Watch for off-by-one errors at the start and end of each repeated section. The program must finish without reaching the operation limit.
Run the visible checks. If one fails, use Step to find the first movement that leaves the expected route.
Loading the block workspace...
Stuck on this lesson?
Ask about anything on this page. It can see which lesson you have open and which part you are reading.