When the green flag is clicked, the DrawPolygon function is called, and the input of size and sides is asked for. Size sets how long each segment in the polygon will be. Sides sets how many sides the polygon will have.
User1: 05_Eagerstudent_12 User2: 05_Eagerstudent_06 Date: 9-25-20 The algorithm draws a polygon based on the user's input of how many sides the polygon is going to have and how long each side is going to be. Once done, the program resets the scene and asks if the user wants to go again.