But the trick was this: to draw the nine-pointed star-square, she needed —one inside the other.
repeat 18 times do repeat 4 times do move forward 100 turn left 90 end turn left 20 end She hesitated. “Eighteen squares, each turned 20 degrees after completion. 18 × 20 = 360 degrees. That means… the last square will perfectly align with the first.” blockly games turtle level 9
“Of course,” she said. “The target image has two layers—an inner ring and an outer ring.” But the trick was this: to draw the
controlled how many shapes would form the full circle. The Inner Loop drew a single square. Level 9 was complete.
And with that, Level 9 was complete.