/**
 *  The Bob class is a personalize turtle that prints the name "Bob"
 */

import java.awt.*;
import javax.swing.*;
import com.otherwise.jurtle.*;

public class Bob extends Turtle
{

    
    public void runTurtle()
    {
        setPenWidth(4);
        setPenColor(Color.cyan);
        
        // Move to where you will draw the "B"
        penUp();
        left(90);
        forward(150);
        right(90);
        penDown();
        
        // Draw a "B"
        forward(100);
        right(90);
        forward(50);
        right(90);
        forward(50);
        right(90);
        forward(50);
        right(180);
        forward(50);
        right(90);
        forward(50);
        right(90);
        forward(50);
        
        // Move to the "o"'s position
        penUp();
        right(180);
        forward(100);
        left(90);
        penDown();
        
        // Draw the "o"
        forward(50);
        right(90);
        forward(50);
        right(90);
        forward(50);
        right(90);
        forward(50);
        
        // Move to the "b"'s position
        penUp();
        right(180);
        forward(100);
        left(90);
        penDown();
        
        // Finally, draw the "b"
        forward(100);
        backward(50);
        right(90);
        forward(50);
        right(90);
        forward(50);
        right(90);
        forward(50);
        right(90);
        
        hideTurtle();
    }


}
