Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if tour==compteur2 then
- tour=tour+2
- compteur2=1
- if droitegauche==1 then
- turtle.turnRight()
- droitegauche=0
- turtle.turnRight()
- else
- turtle.turnLeft()
- turtle.turnLeft()
- droitegauche=1
- end
- else
- coin=(tour+2)/2
- if coin==compteur2 then
- if droitegauche==0 then
- turtle.turnRight()
- else
- turtle.turnLeft()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement