Thursday, April 10, 2014

Day 5

Completed all 11 puzzles on Stage 7. This was the last lines of code I wrote today.

for (var count3 = 0; count3 < 12; count3++) {
  for (var count2 = 0; count2 < 3; count2++) {
    penColour(colour_random());
    for (var count = 0; count < 4; count++) {
      moveForward(20);
      turnRight(90);
    }
    moveForward(20);
  }
  turnRight(30);
}

No comments:

Post a Comment