Posted 07 April 2013 - 12:03 PM
Basic goal and why. I built a massive building and I made the roof glass but I don't like the glass and thought it would be fun to make turtle break and replace the pieces. So basically what I wanted him to do is start at the right side of the building, do turtle.compare() against stone bricks (outline of glass) then go left and break glass and replace in straight line then when he hit the next border, go right and continue. the problem I ran into is he just loops left. I wanted to run a while loop instead of for. What I was doing is x = x+1 and when x%2 it was a left and anything else was a right. How would I fix this to run.
http://pastebin.com/QLkSapzc
http://pastebin.com/QLkSapzc