I'm trying to make a customizable size for a cube that the turtle would dig out.
The issue is that it seems some of the turns the turtle does are flipped, and the turtle goes above the height given.
BTW: I dont know how to link my code any other way, Sorry.
http://pastebin.com/5reNYJnr
Simple Programs with Turtle
Started by Runeslielo, Apr 11 2013 08:37 AM
2 replies to this topic
#1
Posted 11 April 2013 - 08:37 AM
#2
Posted 11 April 2013 - 09:02 AM
Assuming the program just goes 1 above the maximum height, heig needs to be 1.
Also, though using modulous works, I find that using a boolean sometimes works more reliably, though that may just be too few samples. It might increase your code length, too.
Also, though using modulous works, I find that using a boolean sometimes works more reliably, though that may just be too few samples. It might increase your code length, too.
#3
Posted 11 April 2013 - 12:08 PM
To link a link with text just highlight the text with your mouse, then click the "Link" option under the option for text sizes, then it will link the link with that text (SO MUCH LINKS)
Also you need to tell the turtle to go forward after turning, or it will do that 360 degree loop thingy.
Also you need to tell the turtle to go forward after turning, or it will do that 360 degree loop thingy.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











