RoBOTL
TurnLeft instruction
TurnLeft ;
This instruction rotates the robot counter-clockwise 90 degrees (to the left) while remaining
on the same grid square.
If the robot turns to the left, it would change its facing direction from
- North to West,
- West to South,
- South to East, or
- East to North
depending on which way it was facing before the TurnLeft operation.
Note that there is no way to turn the robot to the right except by
performing 3 TurnLeft instructions.
The TurnLeft instruction can also be specified as turn_left
or turnleft.
Other basic instructions:
You can also go: