<snapdata remixID="8653728"><project name="L09 Tic-Tac-Toe" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAABIZJREFUeAHtnbFKY1EQhifLWgmSUiGI2AiiPoCVtlrY+RK29uqTxNZ02ljaaKEI2oiNoGChhZWkd3OzeCIMiN67zgyzX0A8jLnnP/PNt3GLy7X1NngJLwg4EfjllEssBIYEEBARXAkgoCt+whEQB1wJIKArfsIREAdcCSCgK37CERAHXAkgoCt+whEQB1wJIKArfsIREAdcCSCgK37CERAHXAkgoCt+whEQB1wJIKArfsIREAdcCSCgK37CERAHXAkgoCt+whEQB1wJIKArfsIREAdcCSCgK37CERAHXAkgoCt+whEQB1wJ/HZN/6Hw19dXOT09bbT7y8uL3N/fy9TUlHQ6nVp73d7eSr/fl7m5OZmYmKi1x/tFa2tr78tU31MK+Pj4KOvr67KzsyOtVqvWwG5ubuT4+Fi2t7fl6emp1h77+/syOztb69qPF+3u7krWh5i1Mj6erZJnYWGh0dB6vZ5Un2CVxHVfq6urcnJyUvfycl31jyirgPwfsIyZhQcBBPSgTmYhgIAFBQsPAgjoQZ3MQgABCwoWHgQQ0IM6mYUAAhYULDwIIKAHdTILAQQsKFh4EEBAD+pkFgIIWFCw8CCAgB7UySwEELCgYOFBAAE9qJNZCKS8H/D5+XnY4NbWVmn0u4vLy0t5eHiQi4sLmZmZ+e7lw/dfXV3J4uKiLC0tSbvdrrVH+ouq+wGzvQ4PD6s/QduorYODg7fNzc1Ge6ysrLydnZ012qO6uGkvjQ/wgxuk/BU8OTn5Tz445ufnG++zvLzceI/MG6QUcHx8PPPMUvWWUsBUE0reDAImH3D09hAw+oSSnw8Bkw84ensIGH1Cyc+HgMkHHL09BIw+oeTnQ8DkA47eHgJGn1Dy8yFg8gFHbw8Bo08o+fkQMPmAo7eHgNEnlPx8KZ8PeHR0JBsbG6lG9/e2wFQtDZtJ/QlYDa3u1+CGVHl/MmndPQY3pNbO/5iZT7tRRykFnJ6eHnXIKjSBlAKOjY2Fhs7hRgRSCjhqj1V0AggYfULJz4eAyQccvT0EjD6h5OdDwOQDjt4eAkafUPLzIWDyAUdvDwGjTyj5+RAw+YCjt4eA0SeU/HwImHzA0dtDwOgTSn4+BEw+4OjtIeAnEzo/P//kp1/70eABlV9743/6rpR3RFeP1t3b22s00uoxv3d3d9LpdGo/ovf6+lr6/f7wr7c3fURvt9tt1E/Ui1MKGBU259IE+BWsmVAxJICAhrCJ0gQQUDOhYkgAAQ1hE6UJIKBmQsWQAAIawiZKE0BAzYSKIQEENIRNlCaAgJoJFUMCCGgImyhNAAE1EyqGBBDQEDZRmgACaiZUDAkgoCFsojQBBNRMqBgSQEBD2ERpAgiomVAxJICAhrCJ0gQQUDOhYkgAAQ1hE6UJIKBmQsWQAAIawiZKE0BAzYSKIQEENIRNlCaAgJoJFUMCCGgImyhNAAE1EyqGBBDQEDZRmgACaiZUDAkgoCFsojQBBNRMqBgSQEBD2ERpAgiomVAxJICAhrCJ0gQQUDOhYkgAAQ1hE6UJIKBmQsWQwB8W5Hz+E0R8UgAAAABJRU5ErkJggg==</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="true" codify="false" inheritance="false" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAC99JREFUeAHt0DEBAAAAwqD1T20MH4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMC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AAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/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="Square" idx="1" x="50" y="-37" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="false" hidden="true" costume="1" color="80,80,80,1" pen="tip" id="8"><costumes><list id="9"><item><costume name="Empty" center-x="29" center-y="28" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADkAAAA5CAYAAACMGIOFAAAAAXNSR0IArs4c6QAAAUpJREFUaAXtmjEOgkAURBfjATwCJZ22dFJxIC7Atag2VFQkdpSuN/AG+r8RIoWZejazye6KTjHvP0uKEEJv+2z7YjvHdTt+qU52lzkSGlNaIVe+1LZtqOuaGniapjQMgzNtHL09RNsvA7wvy3J/kS9ncBZncraDHdtyg1VVldsXpB+c4fffuIMkZYK1BQlHRBKQSRJRsKZMwhGRBGSSRBSsKZNwRCQBmSQRBWvKJBwRSUAmSUTBmjIJR0QSkEkSUbCmTMIRkQRkkkQUrCmTcEQkAZkkEQVryiQcEUlAJklEwZoyCUdEEpBJElGwpkzCEZEEZJJEFKwpk3BEJAGZJBEFa8okHBFJYGcyxvic5/lJ0v1vTWdwljWwez17HMfQdV1ommb9nfI2wOAsv6u3h8/r2Xb768y57egmk21f6XPmdzwKY7rmx7UnegPNAiwFT2y9yAAAAABJRU5ErkJggg==" id="10"/></item><item><costume name="X" center-x="29" center-y="29" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADkAAAA6CAYAAAAKjPErAAAAAXNSR0IArs4c6QAABGVJREFUaAXdmjFP20AUxy8VAoZKZOiQjQwVE1LyASoR1KkbrCzAFsECGxvmE8ACK3wExi7ISO1WqSCxVlVGpEolUheEKqXvb+W558uZ2Od3TpwnvZzvbL97v7t3Z985Ss2m1HWsGmUC0hZpm3QW5A1BNEhfSH+Tfp+jHwjImziYIZknlrekPxmS2V4WFhbU4eHh/OLiIpdVIn1+flZXV1fq8fHR6m9ApSHpgLXdbg+enp4GVZKNjY3Yf3CsrKz8GvKEiN8Rub+/V+vr66rf74+cm8aC3d1ddX19Hbt2eXmptra23nFBApJag8tVVUABiDBlOT4+Vjs7O5yN0gQkhalCK7BMO6gJuL29rYIgYPfjNAGJUrRCFUBtgHqPxoR0MAL5Gih6dhokDyD8tULiRFqPTho0L+CrkAwahqFaWlpCNpptMetOChThqIckxqCej5y0/KT2JF/b6XTU7e3txEEBg15kyQqI68dC4iLMupMENQHX1tYy9SB8h2SCxIWTAjUBW61W4sEP38ZJZkgYKhvUBoiIqtfr47gS53NBlgkqBQifc0OWASoJ6AzpExSPJ1rqoYpIMAZdQpTvR+rUk2xAeowCUF/9SAAWhoQBKVATEC8gWD7lnWS4A/S0UE+yoaKgNkCEaLPZ5CoKpSKQ8CANVF/M2jxNA4Q9KRGDhEM20M3NTYXZ0iZlAKJeUUgYBCicx6TBYq4cUN7r9RKTDMYgQlSyB7l+cUgYxliCw2mg2DtCD/Mekk9A+OMFEoYxK9pALy4uoh5Eb0N8A6IOb5AwbgPd399PrEcxXn2EKOpn8QqJShh0dXWV64xT7CXpO4TxCeED75Dsb61W48PSU++QmFzwqvbw8DACZ5t1Ry4SKPAOae4JnZ+fp866AjxWE14h0VM8i6J2jMG9vT3rrJv2wmD1OmehN0gzFAGIbU4IT0Zpz9HoIsEfL5AmIHbWGJB9LxNUHNIGmBaKaaAnJyfcFiKpKGQeQPbeBoqPNrAlJWKQLoAMwaAIaxb0viRoQIZD0gG1oNPHZfommPjKS8462cFNuBe+sNJYdrIFlqGNkFIVkOLACZJmTTYWpUUAmUYCVIcsFK5mSJFzKm2SoUbMLLABWyxmPVyeNXWGNCvGM+/s7CxrvWOvkwR1grQBYu2ICURSpEBzQ5YFyI0lAZoLsmxAKdDMkAhH/bmFMegjRBnMTIv0aCZIrCSw8cRSNiDX6wo6FhKA+veJ5eXlUnuQATl1AX0V0gSU/D7BTrukNlB9i9O0mQppA8QY9L2zZjqYljdB8TlCjzj9PivktAMyAEBPT085G+1C2EBHIKsCyGQHBwfWv8nh/6+6BJSJXtCPjo4GtMUfv3DTGBzc3d3xe/NUp+ZCodFoMAfY/q9C6F/LfykfnawSILe+CTpk+YId34D0I+kH0li63a6i1ojzVTnAcDO+ifbhe0D6h5S7d9bSb3ME1yO9If1EOk/6lfQHadXl/RDgBuHaGWZQCP08zM9M8g/O9FmPChTAAAAAAABJRU5ErkJggg==" id="11"/></item><item><costume name="O" center-x="28" center-y="28" image="data:image/png;base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5pQ2XHCfaeg31ED/EhD5KvwMDY0qd2FMfK3r8nlTnfGwvs6bNa6uBQQkAW0q0T8OvnWQ4c11HgSmnQ7SH569tkVVEEuD4uB5ZLZbNhiDRZgM+OaMCU5sUk8Rxg2ydfJjgkbLK4xD4YoLA0uW/mCRmDDPJZ56Stjsdtc107jWEJHwpaGDIiSTtL7WV0n5PMpgw244dumGICtY6lU0ZJ3T0bYqVOp8kBoc3P4jKcwuXBhXYbED6Gr5zhcZa0ctIwkkYujCIkMqd5TagsMHhCdu5Icp2Ma4pVupykjCGe4WTUWOwxnPs4eHBXWenbTpsYQw/A9UefOB6qeh48JvgQ8pUCv7jgipbsH/EFgvl9/f3v3GyIn5rKBnZoECwF0aB4G0iti/Gvln+K+CK3BKub8nHZAJqTm7waaW4pS2dLe2PdM7PUrXXt4atrkeE+k7V5NuKvjxJdYSwwg8w/DsiOdN7JFpjDMb2CU31zzX5XS5cMUMpQSjz3844RDl0EdJyLw7+MwSHKwLXSpkCrMwEqp0QIpl+ad4Jpv9IpM94dojk4p96ZYlnu0Au5LEXkKooloNLW/W1YrStZzzccYv1Gtm12mICWdD/AtTbFh5ER3y1AAAAAElFTkSuQmCC" id="12"/></item></list></costumes><sounds><list struct="atomic" id="13"></list></sounds><blocks></blocks><variables><variable name="id"><l>0</l></variable></variables><scripts><script x="25.333333333333314" y="15.333333333333329"><block s="doWearNextCostume"></block></script><script x="31.333333333333314" y="52.200000000000045"><block s="receiveGo"></block><block s="gotoXY"><l>-100</l><l>63</l></block><block s="doWait"><l>.1</l></block><custom-block s="makeBoard"></custom-block></script><script x="32.33333333333337" y="174"><block s="receiveInteraction"><l><option>clicked</option></l></block><block s="doIf"><block s="reportEquals"><block s="getCostumeIdx"></block><l>1</l></block><script><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportNot"><block var="X&apos;s turn?"/></block></block><block s="doIf"><block s="reportEquals"><block var="X&apos;s turn?"/><block s="reportBoolean"><l><bool>true</bool></l></block></block><script><block s="doSwitchToCostume"><l>X</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="X&apos;s turn?"/><block s="reportBoolean"><l><bool>false</bool></l></block></block><script><block s="doSwitchToCostume"><l>O</l></block></script></block></script></block></script><script x="292.33333333333326" y="51.200000000000045"><block s="receiveGo"></block><block s="removeClone"></block></script></scripts></sprite><watcher var="X&apos;s turn?" style="normal" x="5" y="5" color="243,118,29" hidden="true"/><watcher scope="Square" var="id" style="normal" x="20" y="20.000000000000014" color="243,118,29" hidden="true"/><watcher var="O&apos;s turn?" style="normal" x="10" y="10" color="243,118,29" hidden="true"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="label %&apos;text&apos; of size %&apos;size&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">LABEL will stamp text on the stage at the given font size. The direction of the text is the direction the sprite is facing, and color will match the pen color.</comment><header></header><code></code><translations></translations><inputs><input type="%txt">Hello!</input><input type="%n">12</input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>text</l><l>size</l></list><l>var stage = this.parentThatIsA(StageMorph),&#xD;    context = stage.penTrails().getContext(&apos;2d&apos;),&#xD;    rotation = radians(this.direction() - 90),&#xD;    trans = new Point(&#xD;      this.center().x - stage.left(),&#xD;      this.center().y - stage.top()&#xD;    ),&#xD;    isWarped = this.Warped,&#xD;    len,&#xD;    pos;&#xD;&#xD;if (isWarped) {endWarp(); }&#xD;context.save();&#xD;context.font = size + &apos;px monospace&apos;;&#xD;context.textAlign = &apos;left&apos;;&#xD;context.textBaseline = &apos;alphabetic&apos;;&#xD;context.fillStyle = this.color.toString();&#xD;len = context.measureText(text).width;&#xD;trans = trans.multiplyBy(1 / stage.scale);&#xD;context.translate(trans.x, trans.y);&#xD;context.rotate(rotation);&#xD;context.fillText(text, 0, 0);&#xD;context.translate(-trans.x, -trans.y);&#xD;context.restore();&#xD;pos = new Point(&#xD;  len * Math.sin(radians(this.direction())),&#xD;  len * Math.cos(radians(this.direction())));&#xD;pos = pos.add(new Point(this.xPosition(), this.yPosition()));&#xD;this.gotoXY(pos.x, pos.y, false);&#xD;this.changed();&#xD;if (isWarped) {this.startWarp(); }&#xD;stage.changed();</l></block><list><block var="text"/><block var="size"/></list></block></script></block-definition><block-definition s="map %&apos;function&apos; over %&apos;lists&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%mult%l"></input></inputs><script><block s="doWarp"><script><block s="doDeclareVariables"><list><l>mapone</l><l>mapmany</l></list></block><block s="doSetVar"><l>mapone</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="evaluate"><block var="mapone"/><list><block s="reportCDR"><block var="data"/></block></list></block></block></block></script><list><l>data</l></list></block></block><block s="doSetVar"><l>mapmany</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportListItem"><l>1</l><block var="data lists"/></block></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportListItem"><l>1</l><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></block><block s="evaluate"><block var="mapmany"/><list><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportCDR"><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></list></block></block></block></script><list><l>data lists</l></list></block></block><block s="doIfElse"><custom-block s="empty? %l"><block s="reportCDR"><block var="lists"/></block></custom-block><script><block s="doReport"><block s="evaluate"><block var="mapone"/><list><block s="reportListItem"><l>1</l><block var="lists"/></block></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="mapmany"/><list><block var="lists"/></list></block></block></script></block></script></block></script></block-definition><block-definition s="empty? %&apos;data&apos;" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportEquals"><block var="data"/><block s="reportNewList"><list></list></block></block></block></script></block-definition><block-definition s="keep items such that %&apos;pred&apos; from %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%predRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doIfElse"><block s="evaluate"><block var="pred"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><script><block s="doReport"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></block></script><script><block s="doReport"><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></script></block></script></block></script></block-definition><block-definition s="combine with %&apos;function&apos; items of %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="data"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="data"/></block></block></script></block><block s="doReport"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="combine with %repRing items of %l"><block var="function"/><block s="reportCDR"><block var="data"/></block></custom-block></list></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; then %&apos;true&apos; else %&apos;false&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%b"></input><input type="%anyUE"></input><input type="%anyUE"></input></inputs><script><block s="doIfElse"><block var="test"/><script><block s="doReport"><block s="evaluate"><block var="true"/><list></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="false"/><list></list></block></block></script></block></script></block-definition><block-definition s="for %&apos;i&apos; = %&apos;start&apos; to %&apos;end&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%n">1</input><input type="%n">10</input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>step</l><l>tester</l></list></block><block s="doIfElse"><block s="reportGreaterThan"><block var="start"/><block var="end"/></block><script><block s="doSetVar"><l>step</l><l>-1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportLessThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script><script><block s="doSetVar"><l>step</l><l>1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportGreaterThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script></block><block s="doSetVar"><l>i</l><block var="start"/></block><block s="doUntil"><block s="evaluate"><block var="tester"/><list></list></block><script><block s="doRun"><block var="action"/><list></list></block><block s="doChangeVar"><l>i</l><block var="step"/></block></script></block></script></block-definition><block-definition s="join words %&apos;words&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%mult%txt"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="words"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="words"/></block></block></script></block><block s="doIf"><block s="reportEquals"><l></l><block s="reportListItem"><l>1</l><block var="words"/></block></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></block></script></block><block s="doIf"><block s="reportEquals"><l></l><block s="reportListItem"><l>2</l><block var="words"/></block></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="words"/></block><block s="reportCDR"><block s="reportCDR"><block var="words"/></block></block></block></custom-block></block></script></block><block s="doReport"><block s="reportJoinWords"><list><block s="reportListItem"><l>1</l><block var="words"/></block><l> </l><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></list></block></block></script></block></script><scripts><script x="229.00000300000002" y="196.7777807777777"><block s="reportJoinWords"><list><l></l><l></l></list></block></script></scripts></block-definition><block-definition s="list $arrowRight sentence %&apos;data&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doReport"><custom-block s="join words %mult%txt"><block var="data"/></custom-block></block></script></block></script></block-definition><block-definition s="sentence $arrowRight list %&apos;text&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportTextSplit"><block var="text"/><l><option>whitespace</option></l></block></block></script></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%cs"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doRun"><block var="action"/><list></list></block></script><list><l>cont</l></list></block></block><custom-block s="ignore %s"><l>3</l></custom-block></script></block-definition><block-definition s="throw %&apos;cont&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input></inputs><script><block s="doRun"><block var="cont"/><list></list></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;value&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%anyUE"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doReport"><block s="evaluate"><block var="value"/><list></list></block></block></script><list><l>cont</l></list></block></block></script></block-definition><block-definition s="throw %&apos;tag&apos; %&apos;value&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input><input type="%s"></input></inputs><script><block s="doRun"><block var="tag"/><list><block var="value"/></list></block></script></block-definition><block-definition s="for each %&apos;item&apos; of %&apos;data&apos; %&apos;action&apos;" type="command" category="lists"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%l"></input><input type="%cs"></input></inputs><script><block s="doUntil"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doSetVar"><l>item</l><block s="reportListItem"><l>1</l><block var="data"/></block></block><block s="doRun"><block var="action"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="doSetVar"><l>data</l><block s="reportCDR"><block var="data"/></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; do %&apos;action&apos; and pause all $pause-1-255-220-0" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%boolUE"></input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>breakpoint</l></list></block><block s="doIf"><block s="evaluate"><block var="test"/><list></list></block><script><block s="doSetVar"><l>breakpoint</l><block var="test"/></block><block s="doShowVar"><l>breakpoint</l></block><block s="doRun"><block var="action"/><list></list></block><block s="doPauseAll"></block><block s="doHideVar"><l></l></block></script></block></script></block-definition><block-definition s="word $arrowRight list %&apos;word&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportTextSplit"><block var="word"/><l><option>letter</option></l></block></block></script></block></script></block-definition><block-definition s="ignore %&apos;x&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs></block-definition><block-definition s="tell %&apos;sprite&apos; to %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">Sprite</input><input type="%cs"></input></inputs><script><block s="doRun"><block s="reportAttributeOf"><block var="action"/><block var="sprite"/></block><list></list></block></script></block-definition><block-definition s="ask %&apos;sprite&apos; for %&apos;expression&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">Sprite</input><input type="%repRing"></input></inputs><script><block s="doReport"><block s="evaluate"><block s="reportAttributeOf"><block var="expression"/><block var="sprite"/></block><list></list></block></block></script></block-definition><block-definition s="list $arrowRight word %&apos;list&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportJoinWords"><block var="list"/></block></block></script></block></script></block-definition><block-definition s="makeBoard" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRepeat"><l>3</l><script><block s="doSwitchToCostume"><l>Empty</l></block><block s="forward"><l>50</l></block><block s="show"></block><block s="createClone"><l><option>myself</option></l></block></script></block><block s="changeYPosition"><l>-50</l></block><block s="changeXPosition"><l>-150</l></block><block s="doRepeat"><l>3</l><script><block s="doSwitchToCostume"><l>Empty</l></block><block s="forward"><l>50</l></block><block s="show"></block><block s="createClone"><l><option>myself</option></l></block></script></block><block s="changeXPosition"><l>-150</l></block><block s="changeYPosition"><l>-50</l></block><block s="doRepeat"><l>3</l><script><block s="doSwitchToCostume"><l>Empty</l></block><block s="forward"><l>50</l></block><block s="show"></block><block s="createClone"><l><option>myself</option></l></block></script></block><block s="hide"></block></script><scripts><script x="237" y="26"><block s="changeXPosition"><l>-150</l></block></script><script x="311" y="198"><block s="show"></block></script><script x="395" y="267"><block s="doRepeat"><l>3</l><script><block s="doSwitchToCostume"><l>Empty</l></block><block s="forward"><l>50</l></block><block s="show"></block><block s="createClone"><l><option>myself</option></l></block></script></block></script><script x="413" y="108.99999999999994"><block s="setYPosition"><l>-50</l></block></script></scripts></block-definition></blocks><variables><variable name="X&apos;s turn?"><bool>false</bool></variable><variable name="O&apos;s turn?"><l>0</l></variable></variables></project><media name="L09 Tic-Tac-Toe" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>