Try out your skills at making polygons. This program draws polygons in three ways, which are initiated with the green flag, the space bar, and the k key. All are buggy! Please re-mix and de-bug the program! You can look at the remix tree to find the one made by "danlevy" called "Polygon Madness as Dan intended" at http://scratch.mit.edu/projects/27184421/ In the notes to that version are some explanations of why this version has bugs and how I fixed them. And, yes, the bugs were accidental and it took until I got home to figure out the problems and debug it! Give this a try. If you want to start with a working version and re-mix THAT one, use the danlevy version and try some re-mixes and then share them and add to the studio!
Remember that the sum of the exterior angles in a regular polygon is always 360 degrees. So each exterior angle of a polygon of n sides is 360/n. That means that reference page on regular polygons: http://www.mathsisfun.com/geometry/regular-polygons.html