<snapdata remixID="8776582"><project name="U2 L1-NumberGuessing" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAXjSURBVHhe7d3Nb1RVGIDxd6ZTWlrsoliLUAtpkYVLExclkFQwTEsMWhOQlI3GTUv/A92RaIC1pI260QU0lpigkgINgQBKjDtjgrEf0AoUmqCBYjv0Y/C+p2fq7dc07Qy+M+b5JZN7zznTj4SHc+d2FhN5GhDASNQfARMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFMECFN8TEOW/PpgQk788lD+mkj6mdxT81xMPt6+XiJ+nAsIMAsKT/S7f9Sb722WTaWxmckc1DM0Jnu/G5a3a0qlq3GDn7VFgBna9/2wjAa73qV3NvmZ3Kf/YSbaanNiJ+Q1YIa6B8fyKj7VvW+jfPTjAz+yRYDPiF5Ylrq4LHfRedYXpTdeWisDo1N+ZIsAs6ihoUEikYgcPnxYotGotLW1ydatW11Qx44dc2tK11KuXbvm5lNrStePHz/uvl9fX5/7+vC6fv/w95r/HD3q16bW9Ki/R04KfnFkIPZpnz9z29acR2tr6+x8Mpl8GoThxrW1te6orl696uZbWlr8zMx6EKw716/VdT0GMbm5ICg3VnpMPSdl/loQrBuHvXvunj+zxQ6YRUE40t/fL0F4curUKT87Q3ehFH1OWPDvIB0dHX60cF13NFVTU+OO+vzwUdf1Z+pxsa/dsmVLzu6A3AVnSO8oJ4M7ynxz8Px96YxX+pEddkCYIsAcpjcbSwleO85emvMZARrQcFKvCTUyvWNVOpda01dG7e3ts5HpXDwed0d97Ny5U4IbGxdiPiNAI1euXPFn/5qennbH1NrRo0fdzYz+qUb19PS4o4anGhsbXYj5jAANhC+devcbHofPBwcH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mCC</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" volume="100" pan="0" lines="round" ternary="false" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAK1SURBVHhe7cExAQAAAMKg9U9tDB8gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgIsajf4AAXBXLv8AAAAASUVORK5CYII=</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="Sprite" idx="1" x="0" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,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="68.999999" y="74.999999"><block s="receiveGo"></block><custom-block s="Number Guessing Game"></custom-block></script><script x="101.000002" y="445.80000199999995"><block s="doIfElse"><block s="reportGreaterThan"><block var="number of attempts"/><l>2</l></block><script><block s="doSayFor"><l>Still too high, try another number!</l><l>2</l></block><block s="doChangeVar"><l>number of attempts</l><l>1</l></block></script><script></script></block></script><script x="419.000002" y="445.80000199999995"><block s="doIfElse"><block s="reportGreaterThan"><block var="number of attempts"/><l>2</l></block><script><block s="doSayFor"><l>Still too small!</l><l>2</l></block><block s="doChangeVar"><l>number of attempts</l><l>1</l></block></script><script></script></block></script></scripts></sprite></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="Number Guessing Game" type="command" category="motion"><comment w="90" collapsed="false">Chris and Victoria</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>secret number</l><l>number of attempts</l></list></block><block s="doSetVar"><l>secret number</l><block s="reportRandom"><l>1</l><l>10</l></block><comment w="90" collapsed="false">A secret number is chosen from 1-10</comment></block><block s="doSetVar"><l>number of attempts</l><l>1</l></block><block s="doUntil"><block s="reportEquals"><block var="secret number"/><block s="getLastAnswer"></block><comment w="90" collapsed="false">Christopher and Victoria&#xD;These two conditionals tell the user if their guess is too large or too small. This allows the user to guess the number quicker. </comment></block><script><block s="doAsk"><l>What is the secret number?</l></block><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><block var="secret number"/></block><script><block s="doSayFor"><block s="reportListItem"><l><option>any</option></l><block s="reportNewList"><list><l>Your guess is too low!</l><l>Still too low!!</l></list></block></block><l>2</l></block><block s="doChangeVar"><l>number of attempts</l><l>1</l><comment w="166" collapsed="false">This command helps track number of attempts taken</comment></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><block var="secret number"/></block><script><block s="doSayFor"><block s="reportListItem"><l><option>any</option></l><block s="reportNewList"><list><l>Your guess is too high</l><l>Still too high!</l></list></block></block><l>2</l><comment w="90" collapsed="false">The item block allows for the say block to display a different phrase.</comment></block><block s="doChangeVar"><l>number of attempts</l><l>1</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="secret number"/><block s="getLastAnswer"></block></block><script><block s="doSayFor"><l>Congratulations, you guessed the secret number!</l><l>2</l></block><block s="doSayFor"><block var="number of attempts"/><l>2</l></block></script><comment w="90" collapsed="false">When the player guesses the secret number, the sprite congradulates you and tells you how many attempts it took.</comment></block></script></block></script></block-definition></blocks><variables></variables></project><media name="U2 L1-NumberGuessing" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>