<snapdata remixID="8820334"><project name="U2L4-Tic-Tac-Toe" app="Snap! 5.4, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAFXlJREFUeAHtXQl8FEW6/yeT+yAgEDAJIQYwCgQUOQQei+KCsquoKCoPfN64onLJ6lNXEBEBxfdgf+ADF10egrpZRUDBfaAg6EJcxAOJnEkgBxASOXIymYS8+mqoTndP98xkMplMJlW/X6eqvvrqq6p//6euru4E1TEH6SQCzYRAcDOVK4uVCHAEJAElEZoVgRCj0vPy8pCVlYWLFy8aJfuVLCIiAn369EHHjh39ql6yMu4hEKSfA27evBlXXnmle7mbQCsqKgofLfsBe77McWl92sJbEZdYy/W2bNmCyZMnu8wjFfwLAQ0B9+/fj+Dg+lF59uzZmDNnjk9qXFtbA4slBCGWUKx/sQ5hlii3yh01u1TRs1gsSEtLU+Iy4P8I1LON1ZWG3erqan4RGSuDchgpivDBZ6tQFFuNmMgz2FpegV1Hs1BVfg43vvge/mfTdzhcmAur1YqMrRnIObgbX308H6dOnULujiUYfP31KNsxF9aqKlwo+xXr3v8zPvk4AydWr8anS+7jZS1YsAB9+j7GwxXllbAEhWqQq0swnClwHVFf8mNjYzX5ZMT/EdDcWZrzEZHI7dmzB08/PA+7qyLw274DEduuG777eROCatrhnqEpsNXm4NMZNyKzOhlFZ0+iU8wFjOjZB/nHDiAyaQRSy9ej6Oph+GB2OMq7DUfFBx+g0203YeSoMQgKCsHJtX9An8FPoqqiFNU5n2PDsXxYT/7EyKepEq8L/UrM9opEfUmxpqaG68s/LQcBzRBcUVGB77//Xqn9RbZFGBwUBNoqDOs3ELYf9vA0IVcULwVIL4jpi3ThU7JIU+dRpwu5zVqLH1akwBLsSEShI3xWFPo9mSuiSE1NRWJiohKXAf9HQHOXo6OjsXPnTlzPhk29s337T72oaeKMVI+ubIe4uDiX9g8cOIATJ6q5XmRkpCSfS8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VFdWSqu33dfXJELx8+XKFfCkpKaDLmTtQUMyTa2zVhmqjR49GUVGRYVpTCcPDw1FQUICampqmKqJV2vUJAUeOHMmPhVNnS9ek+3+LbavmIMzKiFZ6BB8unILCbX9FcvxpdElOxqGIVK5nydmI+MhylFdsR3JyJCLK9mDWhIGY3Pki2gRX4sGuXVFTWoDjX66C5dS/cNFm1ZQjyvOWTyTMzc1tlURpqkb7hIAWi0UhBjVkxeqtGHPvWCSkDUD4hRPYmH2QpQPHTnWAJdheJSJNdMo1iOrUG1cm90VwcCeU/rId+WG9kDzpYVhs4Vh+4Bd07/NvCEcdCuq64GK1/R0ObxHOzE5T3YzWaNcnc8BA6jWqq6uRlpbWGrnSJG326SqYWtC1azKW39oJ4ZagJmmQV42yKk5YewQnS8561aw0Vo+ATwhIQ5lwfx7dEbe9tUdE/dKnrSKbzYbi4mLUzOuLuknb/bKegVApn8wB1XOp2LD6IisqKtzG8OxZ7/VCe/fuBQ2lZq59+/Y8acYM+/dZ1PU3yyPlniFQzwbP8ruVy+wGRkdH83/C4o4R2sr54osv3FF1qbN06VIsWLDApZ5QUNefwtJ5DwGfENCourSnRj1g8KVVr5GOWka90e7du9Uij8Pz5s1DIftX99I1PwI+nwOKJiclaT++KORmPu3BvfTSS2bJDZInJCRgxYoVbueRvZ7bUDVYsdkI2OCaNmMGScCmA98vCBgXF4cOHTp4pZUlJSWNtkWHENROTUB1WK0jw54h0GxzQKru/Pnz3a71/X2vQ8bek27rO1OcyGz93Uu2nJUj01wj4BMCUq8hLnWVaBXsnrPhoU27ULb+f91Td6plw8PMVun61U611Imi7rL3U6PinbBfDMGumxKKZTcG4bmdF1yrutRouC1JPJegeqzQrAScMmWK2xX/+Ij39t8aaksS0O3b1GBFnwzBDa6VzNBqEPh/+rr7wJc5fGAAAAAASUVORK5CYII=</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" codify="false" inheritance="false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YMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/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="100" y="-100" 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="26" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAAMdJREFUaAXtmrENgzAABK0oJWlJTSZhFiJmBUXZyQE2+BQnsM6Sy9fJd5SU0uAZtzfVFu4wvL63PdD0nkut9dJ3WT+l6x7340H7o1o5PujsJS1kIdiAnxwsPMZZKFYGDywEC49xFoqVwQMLwcJjnIViZfDAQrDwGGehWBk8sBAsPMZZKFYGDywEC49xFoqVwQMLwcJjnIViZfDAQrDwGGehWBk8sBAsPMZZKFYGDywEC49xFoqVwQMLwcL/wo3bqok/Gvv+uf4AIF351gHMv7AAAAAASUVORK5CYII=" id="10"/></item><item><costume name="X" center-x="26" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAAiVJREFUaAXt2k9LAkEUAPBndBCE/ABWiJ/CTvYBNJCO5Z9OQXTIW5ci7VqdIqjsI0TQp9gIzP57kv5o2TdIurQjLEi4szsz783Ohg+GkdUd32/nsfB0IwCQzOXym7FYNGq/DnX0+z8Pk7Yg2et9lIrllVCDvnqfcNNovDIQpFKp7/W11VCDrKtrBoKJUNfYiOTHoBEXxahD3B16e+8YlSxLxisnLqharcHW9o4xqMenZ5jPZOD84tI1Jy7oYH8PWq2WESiGyWWzsLRcgMX8ghwoHp+C+ulJ4KhhzG6NXzHcHWKXIWiUCIbl6wkKEiWK8Q0KAiWDEQLpRMlihEE6UCoYKRAlShUjDaJAYWCUQJgoLIwyCAOFiUEBqaCwMWggGRQFBhUkgqLCoIP8oCgxJCAeihpDBhqF0oEhBQ2jms0mzKXTg+bMq59h56mEr/ZB5Qs63S7c391CIpFQWcb3uaQgp8wKxRJYlqWl8yUDORj2GwArM12dLwnoL8apFx0odJAbRhcKFeSF0YFCA/nFUKNQQKIYSpQySBZDhVICqWIoUNIgLAw2SgqEjcFECYOoMFgoIRA1BgPlG6QLo4ryBdKNUUF5goLCyKK4oKAxMiguqLJR0dI2O4nz5uHWg/en8eDRGLeF6md1mJ2Zdntb+3EHxWa34O6QSRgHwMOwz3BBziJhmscg03drcFNot9vRw6Nj03Pl5sceAGQRsUfSHmV7/Id4+QUcX+A7aPHCPwAAAABJRU5ErkJggg==" id="11"/></item><item><costume name="O" center-x="26" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAABP1JREFUaAXtml1MFFcUx08aH9n1zYbQNhFZWNuYdvmIvFjWLdSkQa1WK5ZqjLJItY3KWtMHLbvaRKuCNbbGwkM/FFiFinz4oCiKPrgKLr7UrzU1hba8Cvo+3v/VaZCdO187y0ypJ5nM7v049/zuPXP2zrlLNA3Fz5ik6XDNnp09+AoWaP2GIEmS9J++rsVuUEaGawYHAtR0kZdATl/JGVYbeP5CH8XjQ5S4f48u9V2khw//SBpixcpVlJWVRe/48imwsITeeP21pDZmCyxxueGRv2jX12HKzp5DTY2N3JZVFRV0ub9fMdCEQiEOc2soTv6SElr5cQX91tFlliGpn59FORbkjMufwyPSzl11EguX0t5vD0r4bkbaT3dKbNWksrJFEj6bERblpHnz3r4FOlNAP/1y4l+QR4/GzNiQ1Odc70UOhQk2OjkykGGXGxsbp63bQtRy4ji1tEbpqx0hmjnTnbTsZgreLw1QW9sp8uTmcVfE82hUDAUFwFQFq8ntdvOBrQKZaDR0YpI8Hg/VVAfpQP0h+mj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G8bwWEbAfulgBNVIgf4uS9VnRik7R+Nv0MpdWqFJS/BEph8qasq5+NNC3+0Thr1quxpw8VBnvd/ej3AAAAAElFTkSuQmCC" id="12"/></item></list></costumes><sounds><list struct="atomic" id="13"></list></sounds><blocks></blocks><variables><variable name="Position number"><l>10</l></variable></variables><scripts><comment x="20" y="10" w="446" collapsed="false">Kai Yan&#xD;Leon&#xD;60mins&#xD;Project description: A program that create board for tic tac toe that allosws user to play Tic Tac Toe&#xD;Honor code: No help from internet.</comment><script x="20" y="112"><block s="receiveGo"></block><block s="removeClone"><comment w="289" collapsed="false">This affects only clones, not the original sprite&#xD;Delete the all the clone.</comment></block></script><script x="20" y="216"><block s="receiveGo"><comment w="245" collapsed="false">This script prepare the borad for Tic Tac Toe and initialize everything.</comment></block><block s="doSetVar"><l>Position number</l><l>1</l></block><block s="doSetVar"><l>Board</l><block s="reportNewList"><list></list></block></block><block s="doSetVar"><l>Board location</l><block s="reportNewList"><list></list></block></block><block s="doSetVar"><l>Lock board</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="gotoXY"><l>0</l><l>0</l></block><block s="doWait"><l>.1</l><comment w="181.33333333333334" collapsed="true">Wait for old clones to be deleted.</comment></block><block s="doWarp"><script><custom-block s="makeBoard"></custom-block></script></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></script><script x="14" y="489"><block s="receiveInteraction"><l><option>clicked</option></l></block><block s="doIf"><block s="reportEquals"><block var="Lock board"/><block s="reportBoolean"><l><bool>false</bool></l></block></block><script><block s="doIfElse"><block s="reportEquals"><block s="reportEquals"><l>Empty</l><block s="reportGetImageAttribute"><l><option>name</option></l><l><option>current</option></l></block></block><block s="reportBoolean"><l><bool>true</bool></l></block></block><script><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="doReplaceInList"><block var="Position number"/><block var="Board"/><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="doReplaceInList"><block var="Position number"/><block var="Board"/><l>o</l></block><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><script><block s="doSwitchToCostume"><l><option>current</option></l></block></script><comment w="213" collapsed="false">It chnage the costume to X or O (according to the Turn) that is empty, if is not empty then it wont chnage it.</comment></block><custom-block s="Ending Condition"></custom-block></script></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" s="getCostumeIdx" style="normal" x="10" y="10" color="143,86,227"/><watcher var="Board" style="normal" x="10" y="31.000001999999995" color="243,118,29" extX="80" extY="70"/><watcher scope="Square" var="Position number" style="normal" x="131" y="33.00000399999999" color="243,118,29"/><watcher var="Status of all winning triples" style="normal" x="121" y="94.00000399999999" color="243,118,29" extX="186" extY="150" hidden="true"/><watcher var="Lock board" style="normal" x="10" y="124.00000399999999" color="243,118,29" hidden="true"/><sprite name="AI" idx="2" x="50" y="-100" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="false" hidden="true" costume="0" color="80,80,80,1" pen="tip" id="124"><costumes><list id="125"><item><costume name="Empty" center-x="26" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAAMdJREFUaAXtmrENgzAABK0oJWlJTSZhFiJmBUXZyQE2+BQnsM6Sy9fJd5SU0uAZtzfVFu4wvL63PdD0nkut9dJ3WT+l6x7340H7o1o5PujsJS1kIdiAnxwsPMZZKFYGDywEC49xFoqVwQMLwcJjnIViZfDAQrDwGGehWBk8sBAsPMZZKFYGDywEC49xFoqVwQMLwcJjnIViZfDAQrDwGGehWBk8sBAsPMZZKFYGDywEC49xFoqVwQMLwcL/wo3bqok/Gvv+uf4AIF351gHMv7AAAAAASUVORK5CYII=" id="126"/></item><item><costume name="X" center-x="26" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAAiVJREFUaAXt2k9LAkEUAPBndBCE/ABWiJ/CTvYBNJCO5Z9OQXTIW5ci7VqdIqjsI0TQp9gIzP57kv5o2TdIurQjLEi4szsz783Ohg+GkdUd32/nsfB0IwCQzOXym7FYNGq/DnX0+z8Pk7Yg2et9lIrllVCDvnqfcNNovDIQpFKp7/W11VCDrKtrBoKJUNfYiOTHoBEXxahD3B16e+8YlSxLxisnLqharcHW9o4xqMenZ5jPZOD84tI1Jy7oYH8PWq2WESiGyWWzsLRcgMX8ghwoHp+C+ulJ4KhhzG6NXzHcHWKXIWiUCIbl6wkKEiWK8Q0KAiWDEQLpRMlihEE6UCoYKRAlShUjDaJAYWCUQJgoLIwyCAOFiUEBqaCwMWggGRQFBhUkgqLCoIP8oCgxJCAeihpDBhqF0oEhBQ2jms0mzKXTg+bMq59h56mEr/ZB5Qs63S7c391CIpFQWcb3uaQgp8wKxRJYlqWl8yUDORj2GwArM12dLwnoL8apFx0odJAbRhcKFeSF0YFCA/nFUKNQQKIYSpQySBZDhVICqWIoUNIgLAw2SgqEjcFECYOoMFgoIRA1BgPlG6QLo4ryBdKNUUF5goLCyKK4oKAxMiguqLJR0dI2O4nz5uHWg/en8eDRGLeF6md1mJ2Zdntb+3EHxWa34O6QSRgHwMOwz3BBziJhmscg03drcFNot9vRw6Nj03Pl5sceAGQRsUfSHmV7/Id4+QUcX+A7aPHCPwAAAABJRU5ErkJggg==" id="127"/></item><item><costume name="O" center-x="26" center-y="26" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAABP1JREFUaAXtml1MFFcUx08aH9n1zYbQNhFZWNuYdvmIvFjWLdSkQa1WK5Zq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fLMnwvIL4l2MEAg2BYNV1HjsqK7kRJoYXlB7vLmVT7Jacl8VCB0rP11DB+sbXlBsxxe4PpI1mGQ1UQVCRyhoZmlfvXkxtcFSqYtEdhM7EBAGA1m3JhBWCelYvXkxWbGV933763le8LONQU21mkDQgLwYXA95bT3JPs1RDTTAuRGeY715QV1AGB8pYOS1pxIKMF+GtvF0sN6XTd1Ak6HUUkkGFkDYFOlnozBQZggIHbBSBYVF/FTg51+bUWSpIJptqKqmrjMdhlZGNsIwEDri/AaHXTj0wuBWREA8m1gVnLniwAsHX3rdTIbB3RQQOhbPL+KD+vILeAQEmJmDX6wIopjP5+N5glRPBXUfeAFismB79PmmjTy72tHZTdHWFu73SDPhfaWw4NmOeK43jycs8dw9fvyE8IKWSCTo5uAAvxBBAYJJSlVSApIHB9i6tZX8wowPDMa5wUis41wJm1wIOy2nhYH3+NsmgHG8bwWEbAfulgBNVIgf4uS9VnRik7R+Nv0MpdWqFJS/BEph8qasq5+NNC3+0Thr1quxpw8VBnvd/ej3AAAAAElFTkSuQmCC" id="128"/></item></list></costumes><sounds><list struct="atomic" id="129"></list></sounds><blocks></blocks><variables><variable name="Position number"><l>10</l></variable></variables><scripts><comment x="19" y="10" w="446" collapsed="false">Kai Yan&#xD;Leon&#xD;60mins&#xD;Project description: A program that create board for tic tac toe that allosws user to play Tic Tac Toe&#xD;Honor code: No help from internet.</comment><script x="110" y="133.66666666666669"><block s="receiveMessage"><l></l></block></script><script x="131" y="210.66666666666669"><custom-block s="AI %s"><l>x</l></custom-block></script></scripts></sprite><watcher var="Board location" style="normal" x="75" y="305.000006" color="243,118,29" extX="129" extY="150"/></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"><comment w="90" collapsed="false">Create the Borad for Tic Tac Toe.</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="show"></block><block s="doSwitchToCostume"><l>Empty</l></block><block s="doFor"><l>y</l><l>1</l><l>3</l><script><block s="doFor"><l>x</l><l>1</l><l>3</l><script><block s="gotoXY"><block s="reportProduct"><block s="reportDifference"><block var="x"/><l>1</l></block><l>50</l></block><block s="reportProduct"><block s="reportDifference"><block var="y"/><l>1</l></block><l>-50</l></block></block><block s="doAddToList"><block s="reportNewList"><list><block s="reportProduct"><block s="reportDifference"><block var="x"/><l>1</l></block><l>50</l></block><block s="reportProduct"><block s="reportDifference"><block var="y"/><l>1</l></block><l>-50</l></block></list></block><block var="Board location"/></block><block s="createClone"><l>Square</l></block><block s="doChangeVar"><l>Position number</l><l>1</l></block><block s="doAddToList"><l>Empty</l><block var="Board"/></block></script></block></script></block><block s="hide"></block></script></block-definition><block-definition s="Possible winning triple" type="reporter" category="variables"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><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>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>5</l><l>7</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>7</l><l>8</l><l>9</l></list></block></list></block><comment w="90" collapsed="false">Reocrd all the ways to win.</comment></block></script></block-definition><block-definition s="Status of Triple %&apos;list&apos;" type="reporter" category="variables"><comment x="0" y="0" w="90" collapsed="false">Match one possiblitiy of winning with the current status.</comment><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><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="list"/></list></custom-block></block></script></block-definition><block-definition s="Status of all winning triples" type="reporter" category="variables"><comment x="0" y="0" w="90" collapsed="false">Match all the possiblity of winning with the ciurrent status.</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>Status of all winning triples</l><block s="reportNewList"><list></list></block></block><block s="doForEach"><l>item</l><custom-block s="Possible winning triple"></custom-block><script><block s="doAddToList"><custom-block s="Status of Triple %l"><block var="item"/></custom-block><block var="Status of all winning triples"/></block></script></block><block s="doReport"><block var="Status of all winning triples"/></block></script></block-definition><block-definition s="Win? %&apos;XO&apos;" type="predicate" category="operators"><comment x="0" y="0" w="90" collapsed="false">Report true if the input turn win, else report false.</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><custom-block s="if %b then %anyUE else %anyUE"><block s="reportListContainsItem"><custom-block s="Status of all winning triples"></custom-block><block s="reportNewList"><list><block var="XO"/><block var="XO"/><block var="XO"/></list></block></block><block s="reportBoolean"><l><bool>true</bool></l></block><block s="reportBoolean"><l><bool>false</bool></l></block></custom-block></block></script></block-definition><block-definition s="Ending Condition" type="command" category="variables"><comment x="0" y="0" w="90" collapsed="false">If one turn win, if report their winning statement, if no one win then report tie.</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><block s="reportOr"><custom-block s="Win? %s"><l>o</l></custom-block><custom-block s="Win? %s"><l>x</l></custom-block></block><script><block s="doIf"><custom-block s="Win? %s"><l>o</l></custom-block><script><block s="doSayFor"><l>o win</l><l>1</l></block><block s="doSetVar"><l>Lock board</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doIf"><custom-block s="Win? %s"><l>x</l></custom-block><script><block s="doSayFor"><l>x win</l><l>1</l></block><block s="doSetVar"><l>Lock board</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><script><block s="doIf"><block s="reportNot"><block s="reportListContainsItem"><block var="Board"/><l>empty</l></block></block><script><block s="doSayFor"><l>Tie</l><l>1</l></block><block s="doSetVar"><l>Lock board</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script></block></script></block-definition><block-definition s="Best Empty Square" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><l>5</l><l>1</l><l>3</l><l>7</l><l>9</l><l>2</l><l>4</l><l>6</l><l>8</l></list></block></block></script></block-definition><block-definition s="AI %&apos;X or O&apos;" type="command" category="sensing"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doForEach"><l>item</l><custom-block s="Best Empty Square"></custom-block><script><block s="doIf"><block s="reportEquals"><block s="reportListItem"><block var="item"/><block var="Board"/></block><l>Empty</l></block><script><block s="doReplaceInList"><block var="item"/><block var="Board"/><block var="X or O"/></block><block s="doGotoObject"><block s="reportListItem"><block var="item"/><block var="Board location"/></block></block><block s="doSwitchToCostume"><block var="X or O"/></block><block s="doStopThis"><l><option>this block</option></l></block></script></block></script></block></script><scripts><script x="174.0322295625" y="257.00000299999994"><block s="reportListItem"><block var="item"/><block s="reportGet"><l><option>neighbors</option></l></block></block></script></scripts></block-definition></blocks><variables><variable name="X&apos;s turn?"><bool>false</bool></variable><variable name="Board"><list struct="atomic" id="1011">x,x,x,Empty,o,o,Empty,Empty,Empty</list></variable><variable name="Status of all winning triples"><list id="1012"><item><list struct="atomic" linked="linked" id="1013">x,x,x</list></item><item><list struct="atomic" linked="linked" id="1014">Empty,o,o</list></item><item><list struct="atomic" linked="linked" id="1015">x,Empty,Empty</list></item><item><list struct="atomic" linked="linked" id="1016">x,o,Empty</list></item><item><list struct="atomic" linked="linked" id="1017">x,o,Empty</list></item><item><list struct="atomic" linked="linked" id="1018">x,o,Empty</list></item><item><list struct="atomic" linked="linked" id="1019">x,o,Empty</list></item><item><list struct="atomic" linked="linked" id="1020">Empty,Empty,Empty</list></item></list></variable><variable name="Lock board"><bool>true</bool></variable><variable name="Board location"><list id="1021"><item><list struct="atomic" id="1022">0,0</list></item><item><list struct="atomic" id="1023">50,0</list></item><item><list struct="atomic" id="1024">100,0</list></item><item><list struct="atomic" id="1025">0,-50</list></item><item><list struct="atomic" id="1026">50,-50</list></item><item><list struct="atomic" id="1027">100,-50</list></item><item><list struct="atomic" id="1028">0,-100</list></item><item><list struct="atomic" id="1029">50,-100</list></item><item><list struct="atomic" id="1030">100,-100</list></item></list></variable></variables></project><media name="U2L4-Tic-Tac-Toe" app="Snap! 5.4, http://snap.berkeley.edu" version="1"></media></snapdata>