<snapdata remixID="10923466"><project name="Lab 2.4 " app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAACTJJREFUeAHtnW1sVFUax/8zTJ3WFmhRENTCMghVaAXfQs3QGrpGl4DhJVkCxiAx6Af54GuyWQ3rJmsiaKKJftIvGqPBkMbFzVKFiGkQ2d0gLdaCtjpAWxIRS5XSaTudMuy5t70zc+d2Xjge5czc/yXtnXvOeZ57zu/5c865z0w6nkviAA8SuEIEvFfovrwtCZgEKEAK4YoS8E109+7ubhw7dgyxWGyiamVlc+fOxcKFC5X5o6P8I+BJ3QM2NTVhwYIFUiOprJyNyQ+/hFjx5Iz2U4t9aPnrakSjURhb0Pnz52dsz8rCJWATYHt7O7xe+VV5/+E2PD1wV060+h+5HidPnjTbHjp0CFu2bMnJjo0Ki4BtCTaW3aqqKnOEnY2P4oeuL/HTaeBML/BDO9Dj8aC9+lWzftMLK3Dd2VY01N+EFTV/R0vLi7gk/uV6GDPfyMiI2by6ujpXM7YrMAK26c7Y80UiEfOn5eMjmDp5IYoHPFi+sg4hIb4Goa9Hh5/CvpW78M7qabj/3rtxHtMQ7XvdtLkM/ZlLr3WvwcHBAsPK4eRKwLYEh8NhMZO1xG39Pi8io4kHkZKSEgwNDcXrU1+0hnrwTHhpavGE132bZuDo0aNmXXNzM7Zt2zZhOxYWNgHbElxaWooDBw6gtrbWHPX4ChknYC2Z8YKUF9WzZyKyPACPmC0zHcbM98XBg2YTY/9H8WWiVdh1thnQGurvlYax7pfL2fjPsWTJEpSXl+fSnG3yhIBDgL8mDXO5Y3792U1YfLEzq1nDP/6Fi2UzzHZ79+7F1q1bs9qwQX4QsAnwctMwxpNstuX2888+R11D3YQ0prx5H8qLk5+DZgl/Z8wHlFSD7oc/iRcxeR1HkfcvbHvA5DTMiabn8WNXD3a99TXOiT3d1+IJ2NjaGaJbIYZ92iy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BClAFRfqQJkABSqOjoQoCFKAKivQhTYAClEZHQxUEKEAVFOlDmgAFKI2OhioIUIAqKNKHNAEKUBodDVUQoABVUKQPaQL/B49nfC9cF4r2AAAAAElFTkSuQmCC</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAC99JREFUeAHt0DEBAAAAwqD1T20MH4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQM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GDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/gABHhb3AgAAAABJRU5ErkJggg==</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="E" 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><comment x="15" y="17" w="57.142857142857146" collapsed="true">Create a variable to hold the computers guess. </comment><script x="301.8571428571429" y="11"><block s="receiveGo"></block><block s="doSetVar"><l>secret number</l><block s="reportRandom"><l>1</l><l>10</l><comment w="57.142857142857146" collapsed="true">This block chooses a random # on its own between the ranges given.</comment></block><comment w="90" collapsed="true">Use this block to have the computer choose a random number. </comment></block><block s="doAsk"><l>Guess my secret number !!</l><comment w="90" collapsed="true">Ask the user to guess a number. </comment></block><block s="doIfElse"><block s="reportEquals"><block s="getLastAnswer"><comment w="90" collapsed="true">Remember this stores the last question asked.</comment></block><block var="secret number"/></block><script><block s="doSayFor"><l>you are rigt!!!</l><l>1</l></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><l>the secret number is</l><block var="secret number"/></list></block><l>1</l></block></script><comment w="90" collapsed="true">What do we tell the user if they guessed correctly? _________ &#xD;And if not? _____________</comment></block></script><script x="206.857142857143" y="274.857142857143"><block s="doUntil"><l/><script></script><comment w="90" collapsed="true">In the lab it says to keep asking the user until _____________? .</comment></block></script><script x="10" y="97.66666666666666"><block s="doSetVar"><l>number of attempts</l><l></l><comment w="90" collapsed="true">Use this block to have the computer choose a random number. </comment></block></script></scripts></sprite><watcher scope="Stage" s="getLastAnswer" style="normal" x="10" y="10" color="4,148,220"/><watcher var="secret number" style="normal" x="10" y="31.000001999999995" color="243,118,29"/><watcher var="number of attempts" style="normal" x="10" y="52.00000399999999" color="243,118,29"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks></blocks><variables><variable name="secret number"><l>0</l></variable><variable name="number of attempts"><l>0</l></variable></variables></project><media name="Lab 2.4 " app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>