Spiral Challenge

Cut out the code on the right and place it in the functions on the left to complete the code that will allow Karel to retrieve all the balls and return to her original position when finished.

function start(){
 
 
}

function corner(){
 
 
       
}

function move2(){
 
 
       
}

function gatherBalls(){
 
 
 
 
 
 
       
}

spiral

    turnAround();
    move2();
    takeBall();


    move();
    move();

 for (var i = 0; i < 4; i++) {

 

}

    turnAround();
    move();
    turnRight();

    move2();
    turnLeft();
    move2();

    gatherBalls();
    corner();

    turnLeft();
    move();
    takeBall();