powered by
Use a positive angle value to rotate to the left. Use a negative angle to rotate to the right. The player does not turn in the game; rather, the heading for subsequent movement commands is rotated.
turnLeft(player_id, angle = 90)
An integer with the player id
The number of degrees to rotate left
# NOT RUN { turnLeft(myid) # } # NOT RUN { # }
Run the code above in your browser using DataLab