package org.teachingkidsprogramming.section02methods; public class FourSquare { public static void main(String[] args) { // Show the tortoise --#1 // Make the tortoise move as fast as possible --#7 // Do the following 4 times --#8.1 // drawSquare (recipe below) --#6.1 // ------------- Recipe for drawSquare --#6.2 // Do the following 4 times --#5.1 // Change the pen color of the line the tortoise draws to a random color --#3 // Move the tortoise 50 pixels --#2 // Turn the tortoise 90 degrees to the right --#4 // End Repeat --#5.2 // ------------- End of drawSquare recipe --#6.3 // Turn the tortoise 90 degrees to the right --#9 // End Repeat --#8.2 } }