<snapdata remixID="10110357"><project name="U3L1-TicTacToe" app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVNSURBVHhe7d09SBxbHIbxo40gEmJhGTSkEhVXIWARMCmTSi1s/SitFLRWAyFdTIqUmqRIHQKpo4KNSFCLtRLXPgQVrPX6zj1z83F3dmfWDf8zu88PBvecXTcBn5zZmZ01Ldc3HGCk1X8FTBAgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTBEgTPE/pif4/v27Ozo68qPb6e3tdV1dXX6Unv4Oe3t70e2Wlpboa60GBgbcvXv3/CgcBJhA8fX19flR7To6Otzi4qIfZaMA375965aXl28V4Onpqevu7nYrKyt+JiAKEP9XLBb1D9OPyiuVStGW5PHjx9c34VwXCgU/k43+/Hr9iG4i9rfCwmvAjJ4/fx6tRtpuAou2eLy6uuof9dPV1ZU7PDx0Q0NDfiYdPd/Y2JgfNS4CzKC1tdVtbGxoSYo27dq0xeN3795F4fxJEepxnZ2dfqYyPcf09LR78eKFn2lcBJiS4ltfX49CSqL7kiI8OzuLIq0Wob53cHAwep5mQIApvHnzxt25c8fNzMz4mWRaue7evetev37tZ346Pz+vGKHmFd/BwYGfaXwEmML8/HwUT1pa7RYWFvzod0kRaqz5ZopPCPAvKbcbjilCnRaJHxPHlyXyRkGARrTSaXerCBVeM8YnBGio0irZLAjwL9EutRId0GgV1OPilbAZEWBK1YLKQvG9f//+v+f8dXfcbAgwhVKpFJ0HTEuPPTk58aPfKbxf44spwqmpqaaLkABT6Onpic7tDQ8P+5lkeozOGd6/f9/P/KTwtPolraa6v9kiJMCUdG6v2koYr3zljmi3trYqxhdrtggJMANF+OPHjygObQpOWzzWfeXi0+71yZMnqV9HxhHW43Kw0HE9YIJ4dzk3N+dnsvv48WN0Ierx8XFNz/Pt2ze3u7vrHj586J49e+Zna6MVWFtoCDDBq1ev3JcvX9zXr1/9THZa9V6+fOlGRkb8THZaWevxI6rX89Qbu+AEWrlGR0f9qHa3ia8SxaT3m+Pdv7YQV7hqCDBBW1ubvxUevXccHwwpxHjTSwaFmKdLuQgwZxSYrpRWcGtra372XzpK1/zs7GzmK7CtEGCOKD5dGlZthVOEOvL+9OmTnwkXAeZEfHrnz1UviSKcmJjwo3ARYE7odZ/OQ2YV+mVeBJgjejswi83NzeA/WUeADUwfGd3e3vajMBFgA9N5wXqcy/ybCLCBjY+Pl/10XkgIMCf0ek6nYbLQAUihUPCjMBFgTuj1nOzv70dfq9FRsz6jHDoCzBGd29MFr9UiVHwXFxe5eEuOAHMmjlC7Y7319itdQqZ5XcGt30eTBwSYQ4pQ8T148CAKLt4+f/4c3Zd2Nx0CrgdMoEudQj+CzCrEHzUrYAX6jaL6odW66cCh3HzarVgsRn+Pcvdl3UJFgAnSfAIuT5aWlvytsBBggpAvSK1Fe3u7vxUWAoQpAoQpAoQpAoQpAoQpAoQpAoQpAoQpAoQpAoQpAoQpAoQpAoQpAqxA/8/vbe3s7PhbdkK+QporohPoQ90fPnzwo9roN1RdXl66/v7+zL9WQ/S9eg559OhR9LVWT58+dZOTk34UDgKEKXbBMEWAMEWAMEWAMEWAMEWAMEWAMEWAMEWAMEWAMEWAMEWAMEWAMEWAMEWAMEWAMOTcPzJBundlNyUuAAAAAElFTkSuQmCC</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="true" hyperops="true" codify="false" inheritance="false" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoA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es><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="0" y="-150" 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,iVBORw0KGgoAAAANSUhEUgAAADkAAAA5CAYAAACMGIOFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD3SURBVGhD7doxDoJAEIXh0RN4A22otaMh0YKGW3gUb0WzCRY0hMaaBrwBN4B5Bol4g315fzJkKL/slrszs4fP2efiw9gLHyArn4l0qu9JXn1uPkNRFJam6cn3aGuaZijLEiscTyzrSTqw77qunyIPBlhggm3vnzWcYJIkUZ8iguH3Nm6QrAnJkpAsCcmSkCwJyZKQLAnJkpAsCcmSkCwJyZKQLAnJkpAsCcmSkCwJyZKQLAnJkpAsCcmSkCwJydIGWdf12LbtuPxGGwywLL/2/zx7zPPcsiw7+B5tAIYQsMKxfZ5NOp+H9ncfPGU++jD2BhLXlDizGbK3ZEBZLDPsAAAAAElFTkSuQmCC" id="10"/></item><item><costume name="X" center-x="29" center-y="29" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADkAAAA6CAYAAAAKjPErAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAPSSURBVGhD3Zs9T9tAGICPDoghEgwdspGhG0jJD6iUoE7dYGAGNgQMsLEFfgEssMJPYOxSBandKhUk1g6MSJUKUheEKqX3uPemzuVM7PjOifNIL/Y58uUe34ftu6CmlAWzjZjRcaSjrqPBgSngjY6qjhcdv3R81xFJdnR0pzQ6UpNNHS0dL5VKRe3t7c3Ozc3pZHl4fn5Wl5eX6uHhwRzpcc2fgZpsNBrdx8fHbplYXV2N1153aWnpp9nv0H4HuL29VSsrK+rp6ckcmWy2trbU1dWVSSl1cXGh1tfX35pk1El76Kth9sojiiDNVGi322pzc9Ok/tEnqZtpdBWESRe1BTc2NtTREb2vn4HmylUog6hLMJ6O4+yTSaJsJ4EsguCUhEkVzSoIiZKAaKfTUfPz81GaJjtOUWSyCsKrktBqtdT19fXYRZGhFoW0gjBUEhh1xylqCzabzdSCkEoSxiVqC9br9b4bfxpSS0LRoi5Bvn9hoe9NaiiZJKEoUV+CkFkSQov6FISRJCGUKOcfHByYVH5BGFkSfItyHueTD/gQhFyS4EvUFiQ/RtG8gpBbEvKKugTJr1arRem8eJGEJNFh97QkQfLzhTdJcImura0lPp0UIQheJYECUngGDYHbgS16f39fiCB4lwT6EgVOEpUaLkIQgkgCo6JL9Pz8PKpBGZRCC0IwSXCJ7u7u9gSB2g0pCEElQUSXl5fNkf8w8xCfIQxFcElhZobJ+vEQXJLBhT54d3dnjvzHNeqGILhkfJCBs7OzobcX3wSVRCAuSB/c2dlxjrohRYNJ2gVHUKbvk24voUSDSNoFZmZNBIUiRb1LugSTCp4kenx8bFJ+8CqZRVBwibJoQ16+8CY5iqAgopwjcK5P0d5Ks76CZt02G+12u2+VVxfWfJIdzo3npfuy+SQbuJg8cMsnqUfNvkLlERR8iMYlczVXu0nR3NI20dcgD/IS8jbdkSXtL2bgOD09Nan8+BQdSdIlyMDBAOITX6KZJYsSFHyIZpIsWlDIK5paEplxCAp5RFNJ8ibBxJNQtKAwquhQSQTjU4eLi4tjERRGEX1V0hZkZs3X+kQeXKLxKU6bREmXIDUYemYtLbYoFz9e3jhOyUkXFBA9OTkxqcFyCwOSZREU9vf3nT+q4vevcXoP6IeHh91ardZ7MNaC3ZubG/PIO9nYLwrValX2+99CKpXKH7ZEmQQFW9TEF/l59gcd73X02N7eVvpqmFR5oLlaa6JRv0Pytw7XVZiG+EZNMo3GgsRHHbM6vur4oaPsvDPbz0jyXwTAQeJTlJoalPoLPteRDgdNa/EAAAAASUVORK5CYII=" id="11"/></item><item><costume name="O" center-x="28" center-y="28" image="data:image/png;base64,iVBORw0KGgoAAAANSU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WadGRW0qfxyH4UoLE0uTf65rkkQSMpJ55WtnuhSgpiS/vlxhyMsnrm+STBGG1XXfqhimK5L7/lD7tSIJw8ROE3bfc1dUBm+oHafOSSfq1JwnC1EVIqdxRrgM2ND2R3BRVSP9uJAFrRYuRF+5jNzc3teU9BLr00XugF3y0seUhNuYjPkyqfzB9X8sH+0e2WMjX15f79T/YU/qtoVXkSgB7YX/CxtNEbF/Mvnk6nVZiS8L9mo/RCGoVqr+gdZpJBVU2fPW9jKziFb3Y656uMZBWvIDR94i5Qh/6dknNGMT2culaB1KZk22fipqimrqkNE8SXVKyDpquayO5aQjJX/Gn3vQZzy7hB0mb4vrXQ1uCkEc4kxNyedsFHhUbh9+QriW0806CthZF8Q9pZfPKrvZePgAAAABJRU5ErkJggg==" id="12"/></item></list></costumes><sounds><list struct="atomic" id="13"></list></sounds><blocks></blocks><variables></variables><scripts><script x="20" y="55.83333333333334"><block s="receiveInteraction"><l><option>clicked</option></l></block><block s="doIf"><block s="reportEquals"><block s="reportAttributeOf"><l><option>costume name</option></l><block s="reportGet"><l><option>self</option></l></block></block><l>empty</l></block><script><block s="doIfElse"><block var="X&apos;s turn?"/><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></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></script><comment w="90" collapsed="false">This If/Else is allowing you to be able to use X and O</comment></block></script></block></script><script x="20" y="294.5000000000001"><block s="receiveGo"></block><block s="doWait"><l>.1</l><comment w="90" collapsed="false">Wait for old clones to be deleted</comment></block><block s="doSwitchToCostume"><l>Empty</l></block><block s="gotoXY"><l>0</l><l>0</l></block><block s="show"></block><custom-block s="makeBoard"></custom-block><block s="hide"></block><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportNot"><l><bool>true</bool></l><comment w="90" collapsed="false">X plays first</comment></block></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.77778077777773"><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><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="createClone"><l><option>myself</option></l></block><block s="changeXPosition"><l>50</l></block></script><comment w="90" collapsed="true">Creating squares going up and down</comment></custom-block><block s="changeXPosition"><l>-150</l><comment w="90" collapsed="true">Square placement</comment></block><block s="changeYPosition"><l>-50</l></block></script><comment w="90" collapsed="false">Creating squares going across</comment></custom-block></script></block-definition><block-definition s="drawsquare" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="down"></block><block s="setColor"><color>10,34,0,1</color></block><block s="doRepeat"><l>4</l><script><block s="forward"><l>50</l></block><block s="turn"><l>90</l></block></script></block></script></block-definition></blocks><variables><variable name="X&apos;s turn?"><bool>true</bool></variable></variables></project><media name="U3L1-TicTacToe" app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>