Monday, July 28, 2014

Solutions: Repeat Loops in Pro-Bot Assignment 1

Here is a set of solutions to the Repeat Loops Assignment 1.  The Start point is marked in each figure. Pro-Bot is assumed to be facing forward at the starting position.




1.  Repeat Loops Pattern 1

     Rpt 3 [
     Fd 6
     Rt
     Fd 6
     Lt
     ]



2.  Repeat Loops Pattern 2

 
     Rpt 2 [
     Fd 6
     Rt
     Fd 6
     Rt
     Fd 6
     Lt
     Fd 6
     Lt
     ]



3.  Repeat Loops Pattern 3

   
     Rpt 3 [
     Fd 6
     Rt
     Fd 6
     Rt
     Fd 12
     Lt
     Fd 6
     Lt
     Fd 6
     ]

No comments:

Post a Comment