<snapdata remixID="10923465"><project name="Lab 2.4 Starter Code " app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAB2ZJREFUeAHtnV1MVEccxQ8LyJcLViLYWjVARSGg+FFrY6xCmtSPoH20MaGJUdNXrZr6QOxDE99s0ycTk7aPtPHBpokmTapCrImhoC2YEFs11bZaWjUF+RKB3rnULQu7G9lzicNwrsHsnZkz9z+//2Hm3l2ykzLiHdAhAs+JQOg5XVeXFQGfgAwoIzxXAmmxrn779m1cu3YNw8PDsaoDKysqKkJ5eXlg/amj6UcgZfw94JkzZ1BaWprUSBYuXITwu8cwnBlOqM/LTEPrkR0YHByEuQVdsmRJwvaqdJdAlAHb29sRCiW/Kn/X/BMOPHo1QmtDQSYaO/vxQWkOjl3vQWqkBuja/RJu3brll1y6dAl79uwZU6uXM4VA1BJslt2lS5f6Y79+ai/u/voD/voNuPc3cLcduJOSgvaK43593dEtKOy8gpo3XsGWyg/R2voRRrx/Y49wdz+G3puP0Il7+LEyHavaBiPVZuZ7/Pixf15RUREp14uZRSBqujP3fAMDA/5P69kW5IXLkfkoBdXbNuCGZ74az197+/fj221f4Ysdc/HWm6/jH8zF4INPfc04/+Hr3SU49UM3hve9jLN/Pokiawz49Fq9vb1RdTqZOQSiluCenh5vJmuNjD4jLYSBJ/8/iGRlZaGvry9SP/7FlRt38H7Pa+OLY54/qCvA1atX/boLFy6gvr4+ZjsVuk0gagnOyclBU1MT1q1b54/6vxUyQuDpkhkpGPeiYtF8DFQXI8WbLRMdZub7/uJFv4m5/5P5EtFyuy5qBnR7qBqdjQSi7gFtDFAxuU1ABnQ7v9aPTga0PkVuBygDup1f60cnA1qfIrcDlAHdzq/1o5MBrU+R2wHKgG7n1/rRyYDWp8jtAGVAt/Nr/ehkQOtT5HaAMqDb+bV+dDKg9SlyO0AZ0O38Wj86GdD6FLkdoAzod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R0D0ghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAjIghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAjIghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAjIghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAjIghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAjIghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAjIghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAjIghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAjIghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAjIghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAjIghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAjIghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAjIghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAjIghU9iloAMyBKUniIgA1L4JGYJyIAsQekpAv8CwFsCymzEnosAAAAASUVORK5CYII=</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAC99JREFUeAHt0DEBAAAAwqD1T20MH4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYM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CAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/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="mireya" 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="10" y="10" w="57.142857142857146" collapsed="false">Create a variable to hold the computers guess. </comment><script x="118" y="44"><block s="receiveGo"></block><block s="doSetVar"><l>amount of guess</l><l>0</l></block><block s="doAsk"><l>what&apos;s your name?</l></block><block s="doSetVar"><l>player name</l><block s="getLastAnswer"></block></block><block s="doSayFor"><block s="reportJoinWords"><list><l>hello </l><block var="player name"/></list></block><l>2</l></block><block s="doAsk"><l>what do you want the highest number to be</l></block><block s="doSetVar"><l>maximum number</l><block s="getLastAnswer"></block></block><block s="doAsk"><l>what do you want the lowest number to be</l></block><block s="doSetVar"><l>minimum number</l><block s="getLastAnswer"></block></block><block s="doSetVar"><l>number answer</l><block s="reportRandom"><block var="maximum number"/><block var="minimum number"/></block></block><block s="doSayFor"><block s="reportJoinWords"><list><l>I&apos;m thinking of a number between</l><block var="minimum number"/><l>and</l><block var="maximum number"/></list></block><l>2</l></block><block s="doForever"><script><block s="doAsk"><l>guess secret number </l><comment w="90" collapsed="false">Ask the user to guess a number. </comment></block><block s="doIfElse"><block s="reportEquals"><block s="getLastAnswer"><comment w="90" collapsed="false">Remember this stores the last question asked.</comment></block><block var="number answer"/></block><script><block s="doSayFor"><l>you win</l><l>2</l></block><block s="doSayFor"><block s="reportJoinWords"><list><l>the number was</l><block var="number answer"/></list></block><l>2</l></block><block s="doSayFor"><block s="reportJoinWords"><list><l>you took</l><block var="amount of guess"/></list></block><l>2</l></block><block s="doSayFor"><l>thanks for playing </l><l>2</l></block></script><script><block s="doSayFor"><l>wrong try again </l><l>2</l></block><block s="doSayFor"><l>too high</l><block s="reportJoinWords"><list><block var="maximum number"/><block s="getLastAnswer"></block></list></block></block><block s="doSayFor"><l>too low</l><block s="reportJoinWords"><list><block var="minimum number"/><block s="getLastAnswer"></block></list></block></block></script><comment w="90" collapsed="false">What do we tell the user if they guessed correctly? _________ &#xD;And if not? _____________</comment></block></script></block></script></scripts></sprite><watcher scope="Stage" s="getLastAnswer" style="normal" x="10" y="10" color="4,148,220"/><watcher var="amount of guess" style="normal" x="10" y="52.00000399999999" color="243,118,29" hidden="true"/><watcher var="player name" style="normal" x="10" y="73.00000599999998" color="243,118,29" hidden="true"/><watcher var="maximum number" style="normal" x="10" y="94.00000799999998" color="243,118,29" hidden="true"/><watcher var="minimum number" style="normal" x="10" y="115.00000999999997" color="243,118,29" hidden="true"/><watcher var="number answer" style="normal" x="10" y="136.00001199999997" color="243,118,29" hidden="true"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks></blocks><variables><variable name="amount of guess"><l>0</l></variable><variable name="player name"><l>mireya</l></variable><variable name="maximum number"><l>20</l></variable><variable name="minimum number"><l>1</l></variable><variable name="number answer"><l>10</l></variable></variables></project><media name="Lab 2.4 Starter Code " app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>