How to Code
Click
Code
to open the
code window
Click
Commands
to display
the commands
Click a command to add it
to the code window
Click the left/right side of
command to tab it left/right
Example
Solution 1
repeat 2 times
repeat 4 times
moveForward
rotateLeft
Solution 2
repeatUntil(done)
moveForward
if(nextIsEmpty)
rotateLeft
Solution 3
while(bits<4)
moveForward
rotateToFaceEast
while(bits<8)
moveForward