<snapdata remixID="9044575"><project name="U2L4-Tic-Tac-Toe" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAFD0lEQVR4nO3czWtUZxiG8aM7VyJCUdO4KJTuupT6Z9ilK10FtdJU28RUo9guXIir4EYxGKItDLgxsR1xxsYUM5NOJiTz4XydDCYmRgVDcAbFRbm7kB4qlFfI4c2Dw/WDZ3GGOS/Dw8UZksUEAgwF/7148+aNwjBUrVYznXq9rrW1NaudYBNFAT5//lylUkkLCwuxpv1qXZXcpGYmft/QhMWZ6KxkMmm5G2yCQHr35Mvn86pWq7GmXq/r5tefqNXXreyPX+nY4DEd/emoc/p/7tfw8LCuXDyr5R++UKuvW4uLi9GZS0tL1juCR4EkVSoVFQoFFQoFTU1NKZFIaGhoSOl0+r3XS6VSdP3vTE9Pq7e3N7quHNmjv07v167eXQoeBto+sV1BNvjf2fZgmx7VHikMQ4VhqLm5Ob3o+0zNZjM6b3Z21npH8CiQpEKhoHw+H83evXu1tLSkfD6vgYEBzc7O6uTJkxocHNTQ0JB6eno0Ojqq0dFR5XI5HTx4UM+ePVN+ZkYPj3z+Lr5soB3pHUo2k7o8f1ln8md06I9DOvHnCfVM92hLdov23d6nhYWFKMAwDFU+vV+1Wi36LMVi0XpH8CiQpGKxqEwmo0wmo7GxMVWrVV24cEGZTEbnzp1TtVpVIpHQjRs3dOrUKV26dEnj4+NqNBpqNpu6fv26MpmMspmMKkf26Oy17dETbqQ8ovPl87pavqpELaFb4S0dzh/W1uxWdY13qVqtRvFNTU0p7P9S5XI5+jw8ATtbIEmtVkt3797V5ORkrHkwMaHa0U/V6uuOIvzQHLhyQOVyWfV6Xb9d/Eatvm7Nz89HZzYaDesdwaPor+BGo6E7d+4olUpteNLptNaWF/T3SmnD03oaKp1OK5VKaWRkxHI32ATv/R+w3W4rl8tFX39Wk81mtbKyYrUTbKLgw28B/CFAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmCJAmOrYAB8/fqzV1VW9fPlyw/Pdie9j3f/kyRPd/OXXWGeUSmUtL3fur0R0dIBv376NdUZ//0Cs+9vttm7fHot1xvLK047+mRICdCBA/wjQgQD9I0AHAvSPAB0I0D8CdCBA/wjQgQD9I0AHAvSPAB0I0D8CdCBA/wjQgQD9I0AHAvSPAB0I0D8CdCBA/wjQgQD969gAm82mwjDU4uLihuf48W9j3V+r1XTt2nCsM3Izea2urlqv05uODZAn4MeBAB0I0D8CdCBA/wjQgQD9I0AHAvSPAB0I0D8CdCBA/wjQgQD9I0AHAvSPAB0I0D8CdCBA/wjQgQD9I0AHAvSPAB0I0D8CdCBA/wjQgQD969gA5+bm1NXVFWt27457/27t3Lkz9hmVSsV6nd50bIA8AT8OBOhAgP4RoAMB+keADgToHwE6EKB/BOhAgP4RoAMB+keADgToHwE6EKB/BOhAgP4RoAMB+keADgToHwE6EKB/BOhAgP4RoAMB+keADgToX8cG+Pr1a6VSqVhz//79WPcnk0klEolYZ9y7d0/r6+vW6/SmYwPEx4EAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYYoAYSqQ9IJhrOYfA/84ve+2RXcAAAAASUVORK5CYII=</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAACtUlEQVR4nO3BMQEAAADCoPVPbQwfoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA+Bo3+AAF/RMkcAAAAAElFTkSuQmCC</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><watcher var="X&apos;s turn?" style="normal" x="5.197916666667425" y="5.19791666666665" color="243,118,29"/><sprite name="Square" idx="1" x="-49.99999999999942" y="99.99999999999997" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="1" color="80,80,80,1" pen="tip" id="9"><costumes><list id="10"><item><costume name="Empty" center-x="26" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAfUlEQVRoge3awQ1AUAAE0a2CM2eJFn4tRK1EHHT0nRVAhsxLtoC5b/JDJUn9w7quP5KkTPNSv27d9joM42kQlUF0BtEZRGcQnUF0BtEZRGcQnUF0BtEZRGcQnUF0BtEZRGcQnUF0BtEZRGcQnUF0BtEZRHcLevN1+OSapt0ulU1favtzIoAAAAAASUVORK5CYII=" id="11"/></item><item><costume name="X" center-x="26" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAB2UlEQVRoge3aT07CQBQG8HcBvALFFR6AuGVDTADTmCDWndF4A5cQvIMxYekBjImn0LgG1v45gO3K5edqEoyFzp/3plPgS7qBzfwS+uYbWiKiqNc7mSZJ8lD1K44HN0RE7Vbr8OfufooqX6PxBN1u/52IqD0cnn+j4nl5fduBgs52gj4+v3yvqzCr1qQFury6xmg8kVyfUWbzBRqNfTw+Pf/7TguUphkGp2dBoBRm1Vq076EQUEUYwHAolInSwQAWU64MlC4GsBzbPlEmGMBhH/KBMsUAjhurJMoGAzA0BQmULQZgqj6cKBcMwNjlOFCuGIC5nLqgODCAQNu2QXFhAKHjgwmKEwMInod0UNwYQPiAtw4lgQE8nFjzUFIYwNMRfBkliQE8/qeQphn6xzFqtT3R/ucNNJsvUK9HaDYPqg9a/plJt3RxUN49I4kSBa0bAFIoMZDONJNAiYBMRjM3ih1ks89wolhBLpsmF4oNxNEAOFAsIM4644pyBkl0MxeUE0iyaNqirEHSrRmwQ1mBfGBUTFHGIJ8YFROUEagMjIouShtUJkZFB6UFCgGjUoTSAnU6R0FgVBTK+qFxiI/10zTL/Xw7X7yoUnag0PMHtGkvAEZEdLsh18Uvk8aG5PcKueoAAAAASUVORK5CYII=" id="12"/></item><item><costume name="O" center-x="26" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAC/ElEQVRoge2av6qjQBTG5ynu1mN9YV/hNpIXUOwVayV1QkoR7EIgXQikDIGUIaRWZIstkvTqC4xP8G01cvfGPzNRE/duPrARjOd3zsnofEdCvqE+CCH4Dgelyi9CCPkwLRv/usIoxvv7z98voKHqBSSqw/EEzw9gWjYoVUr/vJpuwHHHWK03SNKsk/t2CpSkGSbTGShVoOkGPD/A4XiqDDaMYqzWGzjuuLhmu9u3iqEToM8gnh/cne3tbg9NN6Cqo7vBWgOt1psChLH8riC+6nA8QVVHMC1bOjl3AzGWw3HHUNURwiiWjVno9z0/AKUKDseT8HV3ATGWQ9MNmJbdWVWqtN3tQaki3ILSQBxmMp21DFVc58tVGEoayLRsOO64izildL5cQQhpbG8poPliCU03em+zKvH2q7u/MBDP0Ply7SNWYTnuuLZDhIFMy8Z8sewjRikxloNSpbL1hIDCKG4s9SM1XyxRF2sjkOOOB1EdLl6lsvZvBErSDISQwVSHy/OD0kdHIxB/eRyazpcrVHV0c74RyHHHrd+A+1JZ2zUCVfXqEFSW7EYgQsij4pPWfLG8WaxqgcIohqYbj4xRSofj6Wb5bgQass9QFt8LaEiSBqpa64ei7W5/84z8v1Y5AL15Bl3ItGz559BkOsNqvXlUjFKiVLlxhRqBuFc2NHGr66sagRjLQQjpzKrtSpPpDJ4f3JwX2g9VXfws1SVZCChJs8HtWKtsNGFPYTKdPdSLqxLfcNYNAISAeJWevYSbll3b/lK+nIgv1qc8P2j0BaWd08l09hSzkSezabN5l1n/aChRGKDFOIVD9b09ny+WUjZAq4EXn9/08WqUpBlMy4aqjqSS1nqCF0ZxMW3rYgVkLC+qcs9UsJMZ6+cgyt6ARZSkWVHxNsnpdArOWI7VegNNN0CpUljIYRQjjOIi2+fLFWEUY7vbF0sxpQom01nrKvf2nUKSZkXApmVD043PHxcVgzMO3JVeX5IMXS+goesvINkvB4d6vL39iP4AJpECPv5TxjEAAAAASUVORK5CYII=" id="13"/></item></list></costumes><sounds><list struct="atomic" id="14"></list></sounds><blocks></blocks><variables></variables><scripts><script x="20" y="20"><block s="doWearNextCostume"></block></script><script x="20" y="56"><block s="show"></block></script><script x="20" y="131"><block s="receiveGo"><comment w="156.66666666666666" collapsed="false">Connect this to the script below it in For You To Do 4.</comment></block><block s="doWait"><l>.1</l></block><custom-block s="makeBoard"></custom-block><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportBoolean"><l><bool>true</bool></l><comment w="90" collapsed="true">X plays first.</comment></block></block><block s="doShowVar"><l>X&apos;s turn?</l></block></script><script x="20" y="271.00000000000006"><block s="receiveGo"></block><block s="removeClone"><comment w="118" collapsed="false">This affects only clones, not the original sprite.</comment></block></script></scripts></sprite></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.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="makeBoard" type="command" category="control"><header></header><code></code><translations></translations><inputs></inputs><script><block s="show"></block><block s="doSwitchToCostume"><l>Empty</l></block><block s="gotoXY"><l>-50</l><l>-50</l></block><block s="doFor"><l>row</l><l>1</l><l>3</l><script><block s="doFor"><l>column</l><l>1</l><l>3</l><script><block s="createClone"><l><option>myself</option></l></block><block s="changeXPosition"><l>50</l></block></script></block><block s="changeXPosition"><l>-150</l></block><block s="changeYPosition"><l>50</l></block></script></block><block s="hide"></block></script></block-definition></blocks><variables><variable name="X&apos;s turn?"><bool>true</bool></variable></variables></project><media name="U2L4-Tic-Tac-Toe" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>