Turtles Drawing Polygons

Write a class named PolygonDrawer that extends the OneButtonBreadboard class. This class should instruct the user to enter an integer number of sides $n$ and a perimeter less than or equal to 800 for a regular polygon to be drawn. When the user clicks the "Go" button, a Turtle object should draw the polygon specified, centered in the drawing area of the applet, as shown in the sample run below.

Check out the video below to see what this should look like in action: