Preview:
void saveTheFlowers(){
    
    repeat(4){        
        while(!onBeeper()){
            while(!frontIsClear()){turnLeft();}
            while(!rightIsClear()){moveForward();}
            while(rightIsClear()){turnRight(); moveForward();}        
        }   while(onBeeper()){pickBeeper();} 
    }    
    
    while(!frontIsClear()){turnLeft();}
    while(!rightIsClear()){moveForward();}
    while(rightIsClear()){turnRight(); moveForward();}
    dropBeeper(); moveForward();
    
    repeat(3){                
        if(rightIsClear()){turnRight();}
        while(frontIsClear()){moveForward();}
        if(!frontIsClear()){dropBeeper();}
        if(!frontIsClear()){turnLeft(); moveForward();}
        if(rightIsClear()){turnRight(); moveForward();}      
        while(frontIsClear()){moveForward();}
    }
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter