Hi all! :)
I need some help, i know this may sound simple to you all but i am stuck and require some assistance.
So i have my program.
And i need my bug to drop a leaf once every lap in the spots i have put arrows to in the picture below.
I need to make a loop that counts the amount of laps and places a leaf in each corner per lap, 4 laps in total and i am stuck.
This is the code i have so far which allow my bug to walk around the desired path consistently in a loop but i need help with the code to make the bug drop leafs in each corner per lap please help thanks!
MY CURRENT CODE::
public void run() {
if(!treeFront())
move();
if(treeFront())
turnLeft();
}
}
SCREENSHOT HERE
