<snapdata remixID="9008092"><project name="Tic Tac Toe Final Version" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAADcxJREFUeAHtnQfMFMUXwB+Cih0RFRWjQFSqSlGxxAJCQLAjYhA7IpiYGBGIioq9QGzBCBgBBWMHwV5QYwM10QgGBAtgFxUBO+r+5zf/7OW+/fb29o747d7Me8n33d3uzM7Om9/N7HvzZq5RYERUVAMZaWCTjMrVYlUDVgMKoIKQqQYUwEzVr4UrgMpAphpQADNVvxauACoDmWpAAcxU/Vq4AqgMZKoBBTBT9WvhCqAykKkGFMBM1a+FK4DKQKYaUAAzVb8WrgAqA5lqQAHMVP1auAKoDGSqAQUwU/Vr4QqgMpCpBhTATNWvhSuAykCmGlAAM1W/Fq4AKgOZakABzFT9WrgCqAxkqgEFMFP1a+EKoDKQqQYUwEzVr4UrgMpAphpQADNVvxauACoDmWpAAcxU/Vq4AqgMZKoBBTBT9Zcv/N9//y2fqIZTNKnhe0+89SOOOEKWLVuWmCbp5N9//y0///yzNG7cWLbffvukpCXPrVmzRrbZZhtp27atbLrppiXTlTrB5rUffPCBtGjRQlasWFEqWU0fdxbAtWvXykcffSTNmzePbaANGzbIunXrZIcddog9T95Ro0bJs88+G3ueg7/88os9t/XWW8emOfLII2XRokUyduxYOeGEE2LTJB285JJLpEmTJuLyLspOD8FR+H788UcZN26cdO7cWbbcckvZZ599pGnTptK3b1+ZMWOGRIe7nXfeuR4f7777rpxzzjmy4447yi677GL/eM8xzkXlpptukosuukgeffTR6KnEz6NHj5Y33nhDHn74YXuviYlr+KTTABa3y0svvST777+//PTTTzJ16lShB/zhhx8EKIcNGyb33Xef9OzZU77++uvibIX3wAm8AwcOtAC///77sn79evvHe6DmHGmKQT7ggANk9uzZthecNm1a4XpJb6655hp57bXXZO7cuRL3JUjKW3Pn2CXfRdlvv/0K1Zo/f36w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x09t0cNVI0uXLrVhWmzfW6kjOyxvwYIFdndTrlFJRHaYn1fg4zeNWcPsojgLIEbFxgg7JvCj1ghBCtVIuNCcX2dv0mTjBpvoPtXV3E8e8zgLYB6VrfdUXwNeWMH1q61H8qIBBTAvLeHpfSiAnjZ8XqqtAOalJTy9DwXQ04bPS7UVwLy0hKf3oQB62vB5qbYCmJeW8PQ+FEBPGz4v1VYA89ISnt6HAuhpw+el2gpgXlrC0/tQAD1t+LxUWwHMS0t4eh8KoKcNn5dqK4B5aQlP70MB9LTh81JtBTAvLeHpfSiAnjZ8XqqtAOalJTy9DwXQ04bPS7UVwLy0hKf3oQB62vB5qbYCmJeW8PQ+FEBPGz4v1VYA89ISnt6HAuhpw+el2gpgXlrC0/tQAD1t+LxUWwHMS0t4eh8KoKcNn5dqK4B5aQlP7+N/AyXpahRfFqwAAAAASUVORK5CYII=</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAC99JREFUeAHt0DEBAAAAwqD1T20MH4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQ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MGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/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="Tic Tac Toe" idx="1" x="-300" y="-500" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="1" color="27,8,0,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;base64,iVBORw0KGgoAAAANSUhEUgAAADkAAAA5CAYAAACMGIOFAAAAAXNSR0IArs4c6QAABNBJREFUaAXdWu1R4zAQVW74Dx1AB9AB7gA6gA6gg4gKoAOgAuiApAKgAqACoALfPp1X86KTbMmx87UzijaytPuetF7LSibGGCvlVMquynyvYVbtKkP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c107jWEJHwpaGDIiSTtL7WV0n5PMpgw244dumGICtY6lU0ZJ3T0bYqVOp8kBoc3P4jKcwuXBhXYbED6Gr5zhcZa0ctIwkkYujCIkMqd5TagsMHhCdu5Icp2Ma4pVupykjCGe4WTUWOwxnPs4eHBXWenbTpsYQw/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>1</l></variable><variable name="position number"><l>10</l></variable></variables><scripts><script x="10" y="10"><block s="receiveGo"></block><block s="doSetVar"><l>possible winning triples</l><block s="reportNewList"><list><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l></list></block><block s="reportNewList"><list><l>4</l><l>5</l><l>6</l></list></block><block s="reportNewList"><list><l>7</l><l>8</l><l>9</l></list></block><block s="reportNewList"><list><l>1</l><l>4</l><l>7</l></list></block><block s="reportNewList"><list><l>2</l><l>5</l><l>8</l></list></block><block s="reportNewList"><list><l>3</l><l>6</l><l>9</l></list></block><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block><block s="reportNewList"><list><l>3</l><l>5</l><l>7</l></list></block></list></block></block><block s="doSetVar"><l>counter</l><l>1</l></block><block s="doSetVar"><l>board</l><block s="reportNewList"><list><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l><l>Empty</l></list></block></block><block s="doWait"><l>.25</l></block><block s="doSwitchToCostume"><l>Empty</l></block><block s="show"></block><custom-block s="makeBoard"></custom-block><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script x="209.33333333333334" y="752.3333333333334"><block s="receiveOnClone"></block><block s="doSetVar"><l>position number</l><block var="counter"/></block><block s="doChangeVar"><l>counter</l><l>1</l></block></script><script x="72.6666666666666" y="388.6666666666667"><block s="receiveGo"></block><block s="removeClone"></block></script><script x="418.6" y="178.33333333333331"><block s="receiveInteraction"><l><option>clicked</option></l></block><block s="doDeclareVariables"><list><l>winner exists</l></list></block><block s="doIfElse"><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><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doReplaceInList"><block var="position number"/><block var="board"/><l>X</l></block></script><script><block s="doSwitchToCostume"><l>O</l></block><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doReplaceInList"><block var="position number"/><block var="board"/><l>O</l></block></script></block><block s="doSetVar"><l>winner exists</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><custom-block s="for each %upvar of %l %cs"><l>triple</l><block var="possible winning triples"/><script><block s="doIf"><custom-block s="is winning triple %l"><block var="triple"/></custom-block><script><block s="doSetVar"><l>winner exists</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script></custom-block><block s="doIfElse"><block var="winner exists"/><script><block s="doSayFor"><l>Winner</l><l>3</l></block></script><script><block s="doIf"><custom-block s="tie exists"></custom-block><script><block s="doSayFor"><l>Tie Game</l><l>3</l></block></script></block></script></block></script></scripts></sprite><watcher var="X&apos;s turn?" style="normal" x="2.2784384683991448" y="2.2784384683993295" color="243,118,29" hidden="true"/><watcher scope="Tic Tac Toe" var="id" style="normal" x="9.113753873597943" y="9.113753873597418" color="243,118,29" hidden="true"/><watcher var="temp" style="normal" x="7.645833333333826" y="7.645833333333343" color="243,118,29" hidden="true"/><watcher var="board" style="normal" x="5.124506294840444" y="9.370281701656495" color="243,118,29" hidden="true"/><watcher var="possible winning triples" style="normal" x="13.443223443223474" y="13.443223443223452" color="243,118,29" hidden="true"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="makeBoard" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>x start</l><l>x pos</l><l>y pos</l></list></block><block s="doSetVar"><l>x start</l><l>-50</l></block><block s="doSetVar"><l>x pos</l><block var="x start"/></block><block s="doSetVar"><l>y pos</l><l>50</l></block><block s="up"></block><custom-block s="for %upvar = %n to %n %cs"><l>row</l><l>1</l><l>3</l><script><custom-block s="for %upvar = %n to %n %cs"><l>column</l><l>1</l><l>3</l><script><block s="gotoXY"><block var="x pos"/><block var="y pos"/></block><block s="createClone"><l><option>myself</option></l></block><block s="doWait"><l>.1</l></block><block s="doSetVar"><l>x pos</l><block s="reportSum"><block var="x pos"/><l>50</l></block></block></script></custom-block><block s="doSetVar"><l>x pos</l><block var="x start"/></block><block s="doSetVar"><l>y pos</l><block s="reportDifference"><block var="y pos"/><l>50</l></block></block></script></custom-block><block s="hide"></block><block s="gotoXY"><l>-300</l><l>-500</l><comment w="90" collapsed="false">Move the Sprite off the stage - only need the 9 clones ..</comment></block></script></block-definition><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.000003" y="196.77778077777774"><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="draw grid 10" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doWarp"><script><block s="clear"></block><block s="setColor"><color>27,8,0,255</color></block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>-23</l><l>23</l><script><block s="up"></block><block s="gotoXY"><block s="reportProduct"><block var="i"/><l>10</l></block><l>-180</l></block><block s="doIf"><block s="reportEquals"><block var="i"/><l>0</l></block><script><block s="setColor"><color>255,17,0,255</color></block></script></block><block s="down"></block><block s="gotoXY"><block s="reportProduct"><block var="i"/><l>10</l></block><l>180</l></block><block s="doIf"><block s="reportEquals"><block var="i"/><l>0</l></block><script><block s="setColor"><color>27,8,0,255</color></block></script></block></script></custom-block><custom-block s="for %upvar = %n to %n %cs"><l>j</l><l>-17</l><l>17</l><script><block s="up"></block><block s="gotoXY"><l>-240</l><block s="reportProduct"><block var="j"/><l>10</l></block></block><block s="doIf"><block s="reportEquals"><block var="j"/><l>0</l></block><script><block s="setColor"><color>255,17,0,255</color></block></script></block><block s="down"></block><block s="gotoXY"><l>240</l><block s="reportProduct"><block var="j"/><l>10</l></block></block><block s="doIf"><block s="reportEquals"><block var="j"/><l>0</l></block><script><block s="setColor"><color>27,8,0,255</color></block></script></block></script></custom-block><block s="up"></block><block s="gotoXY"><l>0</l><l>0</l></block></script></block></script></block-definition><block-definition s="draw grid 50" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="setColor"><color>27,8,0,255</color></block><block s="doWarp"><script><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>-4</l><l>4</l><script><block s="up"></block><block s="gotoXY"><block s="reportProduct"><block var="i"/><l>50</l></block><l>-180</l></block><block s="doIf"><block s="reportEquals"><block var="i"/><l>0</l></block><script><block s="setColor"><color>255,17,0,255</color></block></script></block><block s="down"></block><block s="gotoXY"><block s="reportProduct"><block var="i"/><l>50</l></block><l>180</l></block><block s="doIf"><block s="reportEquals"><block var="i"/><l>0</l></block><script><block s="setColor"><color>27,8,0,255</color></block></script></block></script></custom-block><custom-block s="for %upvar = %n to %n %cs"><l>j</l><l>-3</l><l>3</l><script><block s="up"></block><block s="gotoXY"><l>-240</l><block s="reportProduct"><block var="j"/><l>50</l></block></block><block s="doIf"><block s="reportEquals"><block var="j"/><l>0</l></block><script><block s="setColor"><color>255,17,0,255</color></block></script></block><block s="down"></block><block s="gotoXY"><l>240</l><block s="reportProduct"><block var="j"/><l>50</l></block></block><block s="doIf"><block s="reportEquals"><block var="j"/><l>0</l></block><script><block s="setColor"><color>27,8,0,255</color></block></script></block></script></custom-block></script></block><block s="up"></block><block s="gotoXY"><l>0</l><l>0</l></block></script></block-definition><block-definition s="winning triple %&apos;triple&apos;" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>triple results</l></list></block><block s="doSetVar"><l>triple results</l><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportListItem"><l></l><block var="board"/></block></autolambda><list></list></block><list><block var="triple"/></list></custom-block></block><block s="doIf"><block s="reportAnd"><block s="reportAnd"><block s="reportEquals"><block s="reportListItem"><l>1</l><block var="triple results"/></block><l>X</l></block><block s="reportEquals"><block s="reportListItem"><l>2</l><block var="triple results"/></block><l>X</l></block></block><block s="reportEquals"><block s="reportListItem"><l>3</l><block var="triple results"/></block><l>X</l></block></block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doIf"><block s="reportAnd"><block s="reportAnd"><block s="reportEquals"><block s="reportListItem"><l>1</l><block var="triple results"/></block><l>O</l></block><block s="reportEquals"><block s="reportListItem"><l>2</l><block var="triple results"/></block><l>O</l></block></block><block s="reportEquals"><block s="reportListItem"><l>3</l><block var="triple results"/></block><l>O</l></block></block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block-definition><block-definition s="any winning triples exist" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>winner</l></list></block><block s="doSetVar"><l>winner</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><custom-block s="for each %upvar of %l %cs"><l>triple</l><block var="possible triples"/><script><block s="doIf"><custom-block s="winning triple v2 %l"><block var="triple"/></custom-block><script><block s="doSetVar"><l>winner</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script></custom-block><block s="doIfElse"><block var="winner"/><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script><scripts><script x="283.6416045625" y="128.00000200000005"><custom-block s="winning triple %l"><block var="triple"/></custom-block></script></scripts></block-definition><block-definition s="test block" type="predicate" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="gotoXY"><l>0</l><l>0</l></block><block s="show"></block><block s="bubble"><l>Hello!</l></block><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block-definition><block-definition s="winner exists" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>winner</l><l>is there a winner</l></list></block><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><scripts><script x="303" y="88.00000000000001"><block s="doReport"><l></l></block></script><script x="269" y="187.99999999999991"><block s="doIfElse"><block var="winner"/><script></script><script><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script><script x="286.5498066875" y="119.00000200000007"><block s="reportBoolean"><l><bool>false</bool></l></block></script><script x="73" y="89.00000000000001"><block s="doSetVar"><l>winner</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><custom-block s="for each %upvar of %l %cs"><l>triple</l><block var="possible triples"/><script><block s="gotoXY"><l>-200</l><l>0</l></block><block s="show"></block><block s="bubble"><l>Hello!</l></block><block s="bubble"><block var="triple"/></block><block s="doPauseAll"></block><block s="doSetVar"><l>is there a winner</l><custom-block s="winning triple %l"><block var="triple"/></custom-block></block><block s="doIf"><block var="is there a winner"/><script><block s="bubble"><l>The first triple is true</l></block><block s="doSetVar"><l>winner</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script></custom-block></script></scripts></block-definition><block-definition s="this is a tie game" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>all squares filled</l></list></block><block s="doSetVar"><l>all squares filled</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><custom-block s="for each %upvar of %l %cs"><l>square</l><block var="board"/><script><block s="doIf"><block s="reportEquals"><block var="square"/><l>Empty</l></block><script><block s="doSetVar"><l>all squares filled</l><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script></custom-block><block s="doReport"><block var="all squares filled"/></block></script></block-definition><block-definition s="winning triple v2 %&apos;triple&apos;" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doIf"><block s="reportAnd"><block s="reportAnd"><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>1</l><block var="triple"/></block><block var="board"/></block><l>X</l></block><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>2</l><block var="triple"/></block><block var="board"/></block><l>X</l></block></block><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>3</l><block var="triple"/></block><block var="board"/></block><l>X</l></block></block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doIf"><block s="reportAnd"><block s="reportAnd"><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>1</l><block var="triple"/></block><block var="board"/></block><l>O</l></block><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>2</l><block var="triple"/></block><block var="board"/></block><l>O</l></block></block><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>3</l><block var="triple"/></block><block var="board"/></block><l>O</l></block></block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block-definition><block-definition s="is winning triple %&apos;possible winning triple&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>winner</l></list></block><block s="doSetVar"><l>winner</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>1</l><block var="possible winning triple"/></block><block var="board"/></block><l>X</l></block><block s="reportAnd"><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>2</l><block var="possible winning triple"/></block><block var="board"/></block><l>X</l></block><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>3</l><block var="possible winning triple"/></block><block var="board"/></block><l>X</l></block></block></block><script><block s="doSetVar"><l>winner</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>1</l><block var="possible winning triple"/></block><block var="board"/></block><l>O</l></block><block s="reportAnd"><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>2</l><block var="possible winning triple"/></block><block var="board"/></block><l>O</l></block><block s="reportEquals"><block s="reportListItem"><block s="reportListItem"><l>3</l><block var="possible winning triple"/></block><block var="board"/></block><l>O</l></block></block></block><script><block s="doSetVar"><l>winner</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doReport"><block var="winner"/></block></script></block-definition><block-definition s="tie exists" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><block s="reportListContainsItem"><block var="board"/><l>Empty</l></block><script><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script></block-definition></blocks><variables><variable name="X&apos;s turn?"><bool>false</bool></variable><variable name="counter"><l>10</l></variable><variable name="board"><list struct="atomic" id="1447">O,O,X,X,X,X,O,Empty,Empty</list></variable><variable name="game over"><bool>false</bool></variable><variable name="temp"><bool>false</bool></variable><variable name="possible winning triples"><list id="1448"><item><list struct="atomic" id="1449">1,2,3</list></item><item><list struct="atomic" id="1450">4,5,6</list></item><item><list struct="atomic" id="1451">7,8,9</list></item><item><list struct="atomic" id="1452">1,4,7</list></item><item><list struct="atomic" id="1453">2,5,8</list></item><item><list struct="atomic" id="1454">3,6,9</list></item><item><list struct="atomic" id="1455">1,5,9</list></item><item><list struct="atomic" id="1456">3,5,7</list></item></list></variable></variables></project><media name="Tic Tac Toe Final Version" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>