bchilds1863
05-03-2009, 04:05 PM
Okay, we're working through chapter 7, and I'm trying ot figure out how to do the 'expanding spiral square' exercise. I can do it easily with a loop of course, but once I try to convert it to a recursive method, the zamboni just drives in a circle.
How do I get the zamboni to drive further forward each time while calling the same method back up without it starting back at the original moving distance again? :(
How do I get the zamboni to drive further forward each time while calling the same method back up without it starting back at the original moving distance again? :(