Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[Dance program by Al Sweigart
- Make the turle dance!]]
- print('Time to dance!')
- --Turtle starts dancing
- turtle.forward()
- turtle.back()
- turtle.turnRight()
- turtle.forward()
- turtle.back()
- turtle.back()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.back()
- turtle.turnRight()
- --Turtle spins around
- for i = 1,4 do
- turtle.turnRight()
- end
- turtle.up()
- turtle.down()
- print('Done.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement