<snapdata remixID="9916534"><project name="2.3 Kyle Shape Guesser" app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,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</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" penlog="false" volume="100" pan="0" lines="round" ternary="false" hyperops="true" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAOhUlEQVR4Xu3VwQkAAAjEMN1/abewn7jAQRC64wgQIECAAIF3gX1fNEiAAAECBAiMAHsCAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQIHLFxAWmhEwHPAAAAAElFTkSuQmCC</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><sprite name="Shape Wizard" idx="1" x="-50" y="-50" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="5,0,3,1" pen="tip" id="8"><costumes><list struct="atomic" id="9"></list></costumes><sounds><list struct="atomic" id="10"></list></sounds><blocks></blocks><variables></variables><scripts><script x="47.00000000000003" y="10"><block s="receiveKey"><l><option>1</option></l></block><block s="gotoXY"><l>-50</l><l>-50</l></block><block s="doAsk"><l>Hello there! Think of a shape, and when you&apos;ve thought of one, type in the text box the number of sides your shape has (number only please)!</l></block><block s="doSetVar"><l>sides</l><block s="getLastAnswer"></block></block><block s="doIfElse"><block s="reportEquals"><block var="sides"/><l>3</l></block><script><block s="doSayFor"><l>Your shape is a triangle! Thanks for playing!</l><l>5</l></block></script><script><block s="doSayFor"><l>Unfortunately, your shape is not a triangle. Thanks for playing though!</l><l>5</l></block></script></block></script><script x="49" y="479.9999999999998"><block s="receiveKey"><l><option>2</option></l></block><block s="gotoXY"><l>-50</l><l>-50</l></block><block s="doAsk"><l>Hello there! Think of a shape, and when you&apos;ve thought of one, type in the text box the number of sides your shape has (number only please)!</l></block><block s="doSetVar"><l>sides2</l><block s="getLastAnswer"></block></block><block s="doIf"><block s="reportLessThan"><block var="sides2"/><l>3</l></block><script><block s="doSayFor"><l>Your shape isn&apos;t a polygon! Thanks for playing though!</l><l>5</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="sides2"/><l>3</l></block><script><block s="doSayFor"><l>Your shape is a triangle! Thanks for playing!</l><l>5</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="sides2"/><l>4</l></block><script><block s="doSayFor"><l>Your shape is a quadrilateral! Which quadrilateral? Let&apos;s dive deeper! From now on, only answer with "Yes" or "No" (the yes and no are case sensitive, so the first letter of each word needs to be capitalized)</l><l>7</l></block><block s="doAsk"><l>In your shape, are all sides of the shape of equal length (equilateral), and are all angles of the shape of equal measure (equiangular)?</l></block><block s="doSetVar"><l>y/n</l><block s="getLastAnswer"></block></block><block s="doIfElse"><block s="reportOr"><block s="reportEquals"><block var="y/n"/><l>Yes</l></block><block s="reportEquals"><block var="y/n"/><l>"Yes"</l></block></block><script><block s="doSayFor"><l>Your shape is a square! Thanks for playing!</l><l>5</l></block></script><script><block s="doAsk"><l>Your shape is not a square, but are your shape&apos;s sides all still of equal length, are there two sets of parallel sides (opposite sides are parallel), and are opposite angles equal?</l></block><block s="doSetVar"><l>y/n</l><block s="getLastAnswer"></block></block><block s="doIfElse"><block s="reportOr"><block s="reportEquals"><block var="y/n"/><l>Yes</l></block><block s="reportEquals"><block var="y/n"/><l>"Yes"</l></block></block><script><block s="doSayFor"><l>Your shape is a rhombus! Thanks for playing!</l><l>5</l></block></script><script><block s="doAsk"><l>Your shape is not a square or a rhombus, but are your shape&apos;s angles all still of equal measure, even if the sides aren&apos;t of equal length?</l></block><block s="doSetVar"><l>y/n</l><block s="getLastAnswer"></block></block><block s="doIfElse"><block s="reportOr"><block s="reportEquals"><block var="y/n"/><l>Yes</l></block><block s="reportEquals"><block var="y/n"/><l>"Yes"</l></block></block><script><block s="doSayFor"><l>Your shape is a rectangle! Thanks for playing!</l><l>5</l></block></script><script><block s="doAsk"><l>Your shape is not a square, rhombus, or rectangle, so your shape is not equilateral or equiangular, but in your shape, are there two sets of parallel lines (meaning each side is always parallel to another/opposite sides are parallel)?</l></block><block s="doSetVar"><l>y/n</l><block s="getLastAnswer"></block></block><block s="doIfElse"><block s="reportOr"><block s="reportEquals"><block var="y/n"/><l>Yes</l></block><block s="reportEquals"><block var="y/n"/><l>"Yes"</l></block></block><script><block s="doSayFor"><l>Your shape is a parallelogram! Thanks for playing!</l><l>5</l></block></script><script><block s="doAsk"><l>Your shape is not a square, rhombus, rectangle, or parallelogram, so your shape is not equilateral or equiangular and doesn&apos;t have two sets of parallel lines, but in your shape, is there at least one set of parallel lines? </l></block><block s="doSetVar"><l>y/n</l><block s="getLastAnswer"></block></block><block s="doIfElse"><block s="reportOr"><block s="reportEquals"><block var="y/n"/><l>Yes</l></block><block s="reportEquals"><block var="y/n"/><l>"Yes"</l></block></block><script><block s="doSayFor"><l>Your shape is a trapezoid! Thanks for playing!</l><l>5</l></block></script><script><block s="doSayFor"><l>Your quadrilateral is impressive! I can&apos;t seem to classify your quadrilateral, so great job! Thanks for playing!</l><l>5</l></block></script></block></script></block></script></block></script></block></script></block></script></block><block s="doIf"><block s="reportEquals"><block var="sides2"/><l>5</l></block><script><block s="doSayFor"><l>Your shape is a pentagon! Thanks for playing!</l><l>5</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="sides2"/><l>6</l></block><script><block s="doSayFor"><l>Your shape is a hexagon! Thanks for playing!</l><l>5</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="sides2"/><l>7</l></block><script><block s="doSayFor"><l>Your shape is heptagon! Thanks for playing!</l><l>5</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="sides2"/><l>8</l></block><script><block s="doSayFor"><l>Your shape is an octagon! Thanks for playing!</l><l>5</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="sides2"/><l>9</l></block><script><block s="doSayFor"><l>Your shape is a nonagon! Thanks for playing!</l><l>5</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="sides2"/><l>10</l></block><script><block s="doSayFor"><l>Your shape is a decagon! Thanks for playing!</l><l>5</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block var="sides2"/><l>10</l></block><script><block s="doSayFor"><l>That&apos;s a wild polygon you got there that has over 10 sides! Thanks for playing! </l><l>5</l></block></script></block></script><comment x="45" y="256.66666666666674" w="743" collapsed="false">In this first program, it tells the user whether or not their shape is a triangle. The program is prompted with pressing the 1 key, and when that happens, the first thing I do is move the sprite to (-50, 50). This is because I wanted the text to sort of be in the center of the stage, not the sprite, so by moving it off to the side a little, the text (which appears on the right side of the sprite because it is facing 90° to the right), the text is in th middle of the stage. Then, I ask the user the main question, which is to think of a shape and then type in the number of sides their shape has (I specified &quot;number only please&quot; because if the answer is anything other than &quot;3&quot; (for example, &quot;3 Sides&quot;), then it will say it isn&apos;t a triangle even though the user thought of a triangle and their intention was to say it was three sides). After that, because answer can only store one value and I have to use it later on (plus, it&apos;s just good to store these temporary variables into more permanant variables for one specific task), I set a new variable I made &quot;sides&quot; to the value of answer. Then, I use an if statement. The condition is that if i = 3 (remember, i is what the user answered in the text box, which is going to be a number, so now I am analyzing the answer), then the user&apos;s shape is a triangle, and I use a &quot;say&quot; block in the Looks category to say that their shape is a triangle for 5 seconds. I also thank them for playing. Triangles are shapes that have three sides, so if the user inputs into the text box the value 3, this means their shape has three sides, and their shape is a triangle. If the user inputs any value other than 3, then we move on to the else statement, where the polygon the user is thinking of doesn&apos;t have three sides. In the else statement, the sprite simply states that their shape isn&apos;t a triangle (because triangles are exclusively polygons with three sides, any other amount of sides and it is a different polygon, not a triangle), but thanks them for playing anyway.</comment><comment x="50" y="2008.1666666666658" w="784" collapsed="false">This program is the larger program that can define many different polygons. It is prompted by pressing the 2 key. Once the 2 key is pressed, the first thing I do is move the sprite to its appropriate location so that the text is nice and centered, which is the coordinates (-50, -50). At this position, with the sprite facing the right, the text will appear at the center of the stage (the speech bubbl&apos;s bottom left corner is where the sprite is, so having the sprite in the 3rd quadrant will allow the text to be centered). Then, I ask the main question to the user by using the &quot;ask and wait&quot; block, which has a built-in answer variable that stores the user&apos;s answer (in the &quot;ask and wait&quot; block, the sprite can ask a question, and a text box on the bottom of the stage will appear, where the user can type an answer to the question, and that answer is stored into the answer variable). I ask the user to think of a polygon, then type in the number of sides the polygon has in the text box, and I specifically specify to only type the number because if they put &quot;sides&quot; into the answer, then the program won&apos;t recognize that (I am using the operator block of equal to compare the variable to an integer, so only with that specific integer without the &quot;sides&quot; wil the condition be true. Otherwise, it won&apos;t work). Then, I made a new variable &quot;sides2&quot; and stored the answer variable into x to make the user&apos;s answer more permanant and clear. This way, I don&apos;t have to use the answer variable directly, but every time I run the program, I can store the user&apos;s answer variable into a separate variable (I am using the answer variable three times, so it is much better to store the variables into separate variables so that each variable has its designated purpose rather than having one answer variable that is volatile) and then compare it to the multitude of if statements below to see which if statement is true. After I set the variable, then I have a long list of if statements with the &quot;equal&quot; operator to see what the user&apos;s answer was. The thing here is that only one if statement is going to be triggered out of the 10 if statements, because the user&apos;s value can really only equal one integer, and with that specificity, we can then pinpoint the polygon&apos;s number of sides by giving a long list of polygons/number of sides, then crossing them out until the user&apos;s answer fits one if statement condition (when the answer equals an integer), which then we wil know their polygon and say which one it is. One if statement is x &lt; 3, and I did this because a shape with less than 3 sides cannot be a polygon. Another if statement has the condition x &gt; 10, and I do this because theoretically, I could keep going with the number of sides to 100 sides or even 1,000 sides, but that is simply too repetitive, so it&apos;s better to create if statements up to x = 10 (decagon), and then when the number of sides passes that (for example, a dodecagon is a 12-sided polygon), I simply just say that it is a wild polygon with over 10 sides, then thank them. This way, I can be brief while still giving them a reasonable answer. For each if statement, inside the if statement is a &quot;say&quot; block that will allow the sprite to guess the user&apos;s polygon. The polygon stated by the sprite directly corresponds to the if statement&apos;s condition, and only if one of the condition is held true will the sprite say the user&apos;s polygon (we know the user&apos;s polygon based on the answer they gave and the condition that ultimately triggers the if statement because we use an equal block to see which integer value is equal to the answer, and once we know what the user&apos;s answer was by seeing which integer it is equal to, we can then analyze that and guess which polygon it is based off of the number of sides the polygon has). For example, if the user&apos;s answer is 5, we first store their answer into the x variable, and then we compare the x variable. The if statement that is triggered by the condition x = 5 is the only if statement that is deemed true because x (answer of the user of how many sides their polygon has) does equal 5, and because the user&apos;s answer equals 5, we then know that the polygon they were thinking of has 5 sides, so then we can guess that their polygon is a pentagon (5-sided polygon). The quadrilateral has its own explanation below because in the quadrilateral section (if the user&apos;s answer equals 4, meaning their polygon has 4 sides), we asked the user some separate questions to further narrow down the user&apos;s polygon and guess which specific quadrilateral they were thinking of. Also, for each &quot;say&quot; block, after the sprite guesses their polygon, it thanks them for playing. </comment><comment x="51" y="2417.1666666666674" w="760" collapsed="false">The quadrilaterals are a little bit more complicated. If the user&apos;s answer equals four, this means that their polygon will have four sides, and we know it is a quadrilateral. Next, I use a &quot;say&quot; block to say that the user&apos;s shape is a quadrilateral, but then I tell the user that there is going to be a series of questions to see which specific quadrilateral the user is thinking of. I also tell them that they should only answer &quot;Yes&quot; or &quot;No&quot; for the next series of questions. There are five quadrilaterals that my program can actually guess, and they are squares, rhombuses, rectangles, parallelograms, and trapezoids. The way I do it is that I first start by having the most specific shape, which is a square, and then I go down the list from most specific to least specific, and this way, I can sort of cross out the shapes until I find the correct one. The good thing with going from most specific to least specific is that if the user answers no to a specific shape, I can cross this shape out immediately and move on to more broader shapes. If I start out with a broad question like if the shape has one pair of parallel sides or not and the user answers yes, this doesn&apos;t really get you anywhere because sure, the shape has one pair of parallel sides and it could be a trapezoid, but all other quadrilaterals also have one pair of parallel sides, so asking questions like those first won&apos;t get you anywhere. Now, first, I ask the user the most specific question, which is if the shape is equiangular and equilateral. This shape must be a square. Once the user answers a yes or no, I set their yes or no into a separate variable I made, which is y/n, to make it more organized, and then I analyze their answer by using a nested if statement. For the if statement, I use the equal block in the operators section as the condition. In the condition, I put the y/n variable and then compare it to the input Yes or &quot;Yes&quot;. The reason I put the quotations Yes is because in the first question, I tell the user to only answer with &quot;Yes&quot; or &quot;No&quot;, and what I really mean is to answer Yes or No (case sensitive), but if they misinerpreted this and puts quotations, I will still accept this, and I do this by using the or block in the conditions section to make both answers acceptable/equal to the y/n variable, which remember, is the user&apos;s answer of yes or no. If the user&apos;s answer is equal to Yes, then I know that their shape is a square because the question I asked is specific and only pertains to a square. If their answer is anything else (No), then we move on to the else statement. From now on, the program essentially just repeats with a question, setting the answer to the y variable, checking with a nested if else statement, with the condition of seeing if the user&apos;s answer is yes or no (if it is yes, then it is that shape, if it is no, then the program moves on the broader questions), and then crossing out shapes until we finally find the user&apos;s shapes. After the square, if the user answers no (meaning their shape isn&apos;t a square), then we ask them another questions, which is if their shape is equilateral, has two parallel sides, and has the opposite angles as congruent angles (not equiangular). We then have the nested if else statement, and for the if condition, it is again if y/n = Yes of &quot;Yes&quot;. This is a rhombus, so if the user says yes, then we know that their shape is a rhombus, and if they answer with a no, then we move on to the else. In the else statement, the next question we ask (remember, these questions are getting broader and broader because we are crossing out the specific stuff, which leaves us with broader questions) is if the shape still has equal angle measures. This has to be a rectangle, because in this question, the square and rectangle both have equal angle measures, but because we&apos;ve crossed out the square, it has to be a rectangle. If the user answer with a yes, it is a rectangle, and if the user answers with a no, then we move on to the next question. The next question is if the shape has two sets of parallel sides. This question is quite broad, because the square, rhombus, rectangle, and parallelogram all have two sets of parallel sides, but because we&apos;ve crossed the square, rhombus, and rectangle, that leaves us with the parallelogram, so if the user were to answer yes, then their shape must be a parallelogram. We set the user&apos;s answer to the y/n variable, then use the equal condition with a nested if statement to see if the user&apos;s answer is yes. If the user&apos;s answer is yes, then their shape is a parallelogram, and if the user&apos;s answer is no, then we move on to the last question. The last question is if the shape has at least one pair of parallel sides. This question is extremely broad, and the square, rhombus, rectangle, parallelogram, and trapezoid all answer that question with a yes, but because we&apos;ve crossed out all of the shapes except trapezoid, we know that the user must be thinking of a trapezoid if they answer yes to that question. We set the user&apos;s answer into the y/n variable, then use an equal condition in a nested if statement to see if the user&apos;s answer is yes. If the user&apos;s answer is yes, then their shape is a trapezoid, and if it is no, then their shape is not a trapezoid and we move on to the else. Because we have no other shape in the list, then our program can&apos;t guess their quadrilateral so we end the long list of if else statements by using the &quot;say&quot; block in the last else statement to congratulate the user by coming up with their quadrilateral (honestly, those 5 quadrilaterals are the main quadilaterals, so thinking of one that isn&apos;t those 5 that quickly is impressive) and thanking them for playing. And thus, the quadilateral fever is over. Also, for each &quot;say&quot; block if the user answers yes, the sprite states their polygon, and thanks them for playing. </comment></scripts></sprite><watcher var="sides" style="normal" x="10" y="10" color="243,118,29"/><watcher var="sides2" style="normal" x="10" y="31.000001999999995" color="243,118,29"/><watcher var="y/n" style="normal" x="10" y="52.00000399999999" color="243,118,29"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks></blocks><variables><variable name="sides"><l>4</l></variable><variable name="sides2"><l>4</l></variable><variable name="y/n"><l>No</l></variable></variables></project><media name="2.3 Kyle Shape Guesser" app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>