<snapdata remixID="11191588"><project name="tic tac toe- Jaret Valencia " app="Snap! 7, https://snap.berkeley.edu" version="2"><notes>to play you must click the "see code" button and play inside the editor, for some reason the project page player is funky.&#xD;&#xD;created all using pen.&#xD;&#xD;includes kind-of-AI (not that really smart though)!&#xD;&#xD;enjoy, this took four days to make :)</notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAoKADAAQAAAABAAAAeAAAAAAeaS0RAAAM/0lEQVR4Ae2dWaiPzx/HP/z5JbId5DiSpZDdcWGJEMeSK8vJUoeSC2UpLtyQ+pdwIUvkXMkSwoXlTkqS7ESyEw6O5YJzbBHh//d++s23OWOe8332mXn6TDnP8p2Zz8xnXuaZmeczn6fJ//4E4sAaMKSBpobksljWgKcBBpBBMKoBBtCo+lk4A8gMGNUAA2hU/SycAWQGjGqAATSqfhbOADIDRjXAABpVPwtnAJkBoxpgAI2qn4UzgMyAUQ0wgEbVz8IZQGbAqAYYQKPqZ+EMIDNgVAMMoFH1s3AGkBkwqgEG0Kj6WTgDyAwY1QADaFT9LLyZiyq4dOkS3bhxgz58+EC3bt2iPn36UOfOnalfv35UUVGRaJXOnTtHZ8+epXnz5lHv3r0D5f3o0SM6fvw4jRo1isaOHRsojRopitzHjx/ToUOHaPz48ZHlquVI+9opAO/fv087d+6kV69eNdDL3bt3Cf/OnDlDx44dozlz5tC4ceMaxIl6Afhu3rxJT58+pTVr1hSFEPBt2LCBPn786ImMCmBYuYBv/fr1seVG1VPUdP/5758QNXGW6S5evEjr1q2jz58/e2K7dOlCw4cPp169elHPnj2pWbNmVFdXR1++fKHLly/Ty5cvafTo0bGLWFZWRlevXvUaFscBAwZQhw4dtPkCPkDw6dMnatu2LS1evNg3rjYD6WYYuTJ8kLtkyZLIcqUiZHLaxIWN6Y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+igw8J05LrFerfP5CNMhSDDz0kHrm6RWbXIbQeQDymSkpK6MKFC16PduPGDfr+/bv3HlhuTJzjVdzGjRsL8GGjT9RPdJmSK+q0a9cuevLkifeGww8+EVeF8N27d5HrLfLM6mj1tkxZCfJ7WdwHIPJkAfDJbmqxcL1s2TI5i0jnpuTCHOv8+fNUWVmp7fl0lYExhvAG5oo1jDMAQuGmvEWZkquDLG/3nAJQKB+9HRaL4T1BBHyeAXt8dVYyIk7coym5ccttc3onAbRZoVy2cBqweh0wXFU4tosaYABdbLUclZkBzFFjulgVBtDFVstRmRnAHDWmi1VhAF1stRyVmQHMUWO6WBUG0MVWy1GZGcAcNaaLVWEAXWy1HJWZAcxRY7pYFQbQxVbLUZkZwBw1potVYQBdbLUclZkBzFFjulgVBtDFVstRmRnAHDWmi1VhAF1stRyVmQHMUWO6WJX/A2fe5XCmWtZgAAAAAElFTkSuQmCC</thumbnail><scenes select="1"><scene name="tic tac toe- Jaret Valencia "><notes>to play you must click the "see code" button and play inside the editor, for some reason the project page player is funky.&#xD;&#xD;created all using pen.&#xD;&#xD;includes kind-of-AI (not that really smart though)!&#xD;&#xD;enjoy, this took four days to make :)</notes><hidden></hidden><headers></headers><code></code><blocks><block-definition s="init board" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>board</l><block s="reportNewList"><list><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l><l></l></list></block></block><block s="doSetVar"><l>performing trick move?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><custom-block s="draw board"></custom-block></script></block-definition><block-definition s="draw board" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doWarp"><script><block s="setColor"><color>80,80,80,1</color></block><block s="clear"></block><block s="setSize"><l>7</l></block><block s="up"></block><block s="gotoXY"><l>-50</l><l>100</l></block><block s="down"></block><block s="setYPosition"><l>-100</l></block><block s="up"></block><block s="gotoXY"><l>50</l><l>100</l></block><block s="down"></block><block s="setYPosition"><l>-100</l></block><block s="up"></block><block s="gotoXY"><l>-120</l><l>40</l></block><block s="down"></block><block s="setXPosition"><l>120</l></block><block s="up"></block><block s="gotoXY"><l>-120</l><l>-40</l></block><block s="down"></block><block s="setXPosition"><l>120</l></block><block s="up"></block><block s="doFor"><l>i</l><l>1</l><l>9</l><script><block s="doWarp"><script><custom-block s="draw %s at x: %n y: %n size: %n"><block s="reportListItem"><block var="i"/><block var="board"/></block><block s="reportSum"><l>-90</l><block s="reportProduct"><block s="reportListItem"><block var="i"/><block s="reportNewList"><list><l>0</l><l>1</l><l>2</l><l>0</l><l>1</l><l>2</l><l>0</l><l>1</l><l>2</l></list></block></block><l>90</l></block></block><block s="reportDifference"><l>90</l><block s="reportProduct"><block s="reportListItem"><block var="i"/><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l><l>1</l><l>2</l><l>2</l><l>2</l></list></block></block><l>90</l></block></block><l>20</l></custom-block></script></block></script></block></script></block></script></block-definition><block-definition s="draw %&apos;symb&apos; at x: %&apos;x&apos; y: %&apos;y&apos; size: %&apos;size&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%n">0</input><input type="%n">0</input><input type="%n">20</input></inputs><script><block s="doWarp"><script><block s="doIfElse"><block s="reportEquals"><block var="symb"/><l>X</l></block><script><block s="up"></block><block s="gotoXY"><block s="reportDifference"><block var="x"/><block var="size"/></block><block s="reportSum"><block var="y"/><block var="size"/></block></block><block s="down"></block><block s="gotoXY"><block s="reportSum"><block var="x"/><block var="size"/></block><block s="reportDifference"><block var="y"/><block var="size"/></block></block><block s="up"></block><block s="gotoXY"><block s="reportSum"><block var="x"/><block var="size"/></block><block s="reportSum"><block var="y"/><block var="size"/></block></block><block s="down"></block><block s="gotoXY"><block s="reportDifference"><block var="x"/><block var="size"/></block><block s="reportDifference"><block var="y"/><block var="size"/></block></block><block s="up"></block></script><script><block s="doIf"><block s="reportEquals"><block var="symb"/><l>O</l></block><script><block s="up"></block><block s="gotoXY"><block s="reportDifference"><block var="x"/><block s="reportProduct"><block s="reportQuotient"><block var="size"/><l>5</l></block><l>1</l></block></block><block s="reportSum"><block var="y"/><l>20</l></block></block><block s="down"></block><block s="doWarp"><script><block s="doRepeat"><l>360</l><script><block s="turn"><l>1</l></block><block s="forward"><block s="reportQuotient"><block s="reportQuotient"><block var="size"/><l>5</l></block><l>10</l></block></block></script></block></script></block><block s="up"></block></script></block></script></block></script></block></script></block-definition><block-definition s="shadow" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportAnd"><block s="reportGreaterThan"><block s="reportMouseX"></block><l>-91</l></block><block s="reportAnd"><block s="reportLessThan"><block s="reportMouseX"></block><l>91</l></block><block s="reportAnd"><block s="reportLessThan"><block s="reportMouseY"></block><l>91</l></block><block s="reportGreaterThan"><block s="reportMouseY"></block><l>-91</l></block></block></block></block><script><block s="doIfElse"><custom-block s="occupied?"></custom-block><script><block s="setColor"><color>250,20,0,1</color></block></script><script><block s="setColor"><color>197,197,197,1</color></block></script></block><custom-block s="draw %s at x: %n y: %n size: %n"><l>X</l><block s="reportProduct"><block s="reportRound"><block s="reportQuotient"><block s="reportMouseX"></block><l>90</l></block></block><l>90</l></block><block s="reportProduct"><block s="reportRound"><block s="reportQuotient"><block s="reportMouseY"></block><l>90</l></block></block><l>90</l></block><l>20</l></custom-block></script></block></script></block-definition><block-definition s="clone" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs></block-definition><block-definition s="snap to grid" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportAnd"><block s="reportGreaterThan"><block s="xPosition"></block><l>-120</l></block><block s="reportAnd"><block s="reportLessThan"><block s="xPosition"></block><l>120</l></block><block s="reportAnd"><block s="reportLessThan"><block s="yPosition"></block><l>120</l></block><block s="reportGreaterThan"><block s="yPosition"></block><l>-120</l></block></block></block></block><script><block s="gotoXY"><block s="reportProduct"><block s="reportRound"><block s="reportQuotient"><block s="xPosition"></block><l>90</l></block></block><l>90</l></block><block s="reportProduct"><block s="reportRound"><block s="reportQuotient"><block s="yPosition"></block><l>90</l></block></block><l>90</l></block></block></script></block></script></block-definition><block-definition s="block #" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>x</l><l>y</l><l>return</l></list></block><block s="doSetVar"><l>x</l><block s="xPosition"></block></block><block s="doSetVar"><l>y</l><block s="yPosition"></block></block><custom-block s="snap to grid"></custom-block><block s="doSetVar"><l>return</l><block s="reportSum"><block s="reportListIndex"><block s="xPosition"></block><block s="reportNewList"><list><l>-90</l><l>0</l><l>90</l></list></block></block><block s="reportDifference"><block s="reportProduct"><block s="reportListIndex"><block s="yPosition"></block><block s="reportNewList"><list><l>90</l><l>0</l><l>-90</l></list></block></block><l>3</l></block><l>3</l></block></block></block><block s="gotoXY"><block var="x"/><block var="y"/></block><block s="doReport"><block var="return"/></block></script></block-definition><block-definition s="mark %&apos;block&apos; as %&apos;x or y&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%n">1</input><input type="%s">X</input></inputs><script><block s="doReplaceInList"><block var="block"/><block var="board"/><block var="x or y"/></block></script></block-definition><block-definition s="occupied?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doGotoObject"><l><option>mouse-pointer</option></l></block><block s="doReport"><block s="reportIfElse"><block s="reportNot"><block s="reportEquals"><block s="reportListItem"><custom-block s="block #"></custom-block><block var="board"/></block><l></l></block></block><block s="reportBoolean"><l><bool>true</bool></l></block><block s="reportBoolean"><l><bool>false</bool></l></block></block></block></script></block-definition><block-definition s="%&apos;who&apos; won?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportOr"><custom-block s="col. 1 occupied with %s ?"><block var="who"/></custom-block><block s="reportOr"><custom-block s="col. 2 occupied with %s ?"><block var="who"/></custom-block><block s="reportOr"><custom-block s="col. 3 occupied with %s ?"><block var="who"/></custom-block><block s="reportOr"><custom-block s="row 1 occupied with %s ?"><block var="who"/></custom-block><block s="reportOr"><custom-block s="row 2 occupied with %s ?"><block var="who"/></custom-block><block s="reportOr"><custom-block s="row 3 occupied with %s ?"><block var="who"/></custom-block><block s="reportOr"><custom-block s="diag 1 occupied with %s ?"><block var="who"/></custom-block><custom-block s="diag 2 occupied with %s ?"><block var="who"/></custom-block></block></block></block></block></block></block></block><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></block-definition><block-definition s="%&apos;block&apos; occupied with %&apos;symb&apos; ?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%n">5</input><input type="%s">X</input></inputs><script><block s="doIfElse"><block s="reportEquals"><block s="reportListItem"><block var="block"/><block var="board"/></block><block var="symb"/></block><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></block-definition><block-definition s="col. 1 occupied with %&apos;who&apos; ?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>1</l><block var="who"/></custom-block><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>4</l><block var="who"/></custom-block><custom-block s="%n occupied with %s ?"><l>7</l><block var="who"/></custom-block></block></block></block></script></block-definition><block-definition s="col. 2 occupied with %&apos;who&apos; ?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>2</l><block var="who"/></custom-block><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>5</l><block var="who"/></custom-block><custom-block s="%n occupied with %s ?"><l>8</l><block var="who"/></custom-block></block></block></block></script></block-definition><block-definition s="col. 3 occupied with %&apos;who&apos; ?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>3</l><block var="who"/></custom-block><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>6</l><block var="who"/></custom-block><custom-block s="%n occupied with %s ?"><l>9</l><block var="who"/></custom-block></block></block></block></script></block-definition><block-definition s="row 1 occupied with %&apos;who&apos; ?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>1</l><block var="who"/></custom-block><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>2</l><block var="who"/></custom-block><custom-block s="%n occupied with %s ?"><l>3</l><block var="who"/></custom-block></block></block></block></script></block-definition><block-definition s="row 2 occupied with %&apos;who&apos; ?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>4</l><block var="who"/></custom-block><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>5</l><block var="who"/></custom-block><custom-block s="%n occupied with %s ?"><l>6</l><block var="who"/></custom-block></block></block></block></script></block-definition><block-definition s="row 3 occupied with %&apos;who&apos; ?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>7</l><block var="who"/></custom-block><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>8</l><block var="who"/></custom-block><custom-block s="%n occupied with %s ?"><l>9</l><block var="who"/></custom-block></block></block></block></script></block-definition><block-definition s="diag 1 occupied with %&apos;who&apos; ?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>1</l><block var="who"/></custom-block><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>5</l><block var="who"/></custom-block><custom-block s="%n occupied with %s ?"><l>9</l><block var="who"/></custom-block></block></block></block></script></block-definition><block-definition s="diag 2 occupied with %&apos;who&apos; ?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>3</l><block var="who"/></custom-block><block s="reportAnd"><custom-block s="%n occupied with %s ?"><l>5</l><block var="who"/></custom-block><custom-block s="%n occupied with %s ?"><l>7</l><block var="who"/></custom-block></block></block></block></script></block-definition><block-definition s="run AI" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doSetVar"><l>AI prev moves</l><custom-block s="occupied %s blocks"><l>O</l></custom-block></block><block s="doIfElse"><block s="reportEquals"><custom-block s="occupied %s blocks"><l>O</l></custom-block><l>0</l></block><script><block s="doSetVar"><l>AI corner</l><block s="reportRandom"><l>1</l><l>4</l></block></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="AI corner"/><block s="reportNewList"><list><l>1</l><l>3</l><l>7</l><l>9</l></list></block></block></custom-block></block><script><block s="doSetVar"><l>AI corner</l><block s="reportRandom"><l>1</l><l>4</l></block></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="AI corner"/><block s="reportNewList"><list><l>1</l><l>3</l><l>7</l><l>9</l></list></block></block><l>O</l></custom-block></script><script><custom-block s="attempt to win"></custom-block><block s="doIf"><block s="reportNot"><block var="AI moved during detection?"/></block><script><custom-block s="detect if user is attempting to win"></custom-block><block s="doIf"><block s="reportNot"><block var="AI moved during detection?"/></block><script><block s="doIfElse"><block s="reportEquals"><custom-block s="occupied %s blocks"><l>O</l></custom-block><l>1</l></block><script><block s="doSetVar"><l>performing trick move?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><custom-block s="attempt trick move 1"></custom-block></script><script><block s="doIfElse"><block var="performing trick move?"/><script><custom-block s="attempt trick move 2"></custom-block></script><script><custom-block s="make random move"></custom-block></script></block></script></block></script></block></script></block></script></block><block s="doIf"><block s="reportEquals"><block var="AI prev moves"/><custom-block s="occupied %s blocks"><l>O</l></custom-block></block><script><custom-block s="make random move"></custom-block></script></block></script></block-definition><block-definition s="%&apos;block&apos; occupied?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%n">5</input></inputs><script><block s="doIfElse"><block s="reportNot"><block s="reportEquals"><block s="reportListItem"><block var="block"/><block var="board"/></block><l></l></block></block><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></block-definition><block-definition s="occupied blocks" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportSum"><custom-block s="%n occupied?"><l>1</l></custom-block><block s="reportSum"><custom-block s="%n occupied?"><l>2</l></custom-block><block s="reportSum"><custom-block s="%n occupied?"><l>3</l></custom-block><block s="reportSum"><custom-block s="%n occupied?"><l>4</l></custom-block><block s="reportSum"><custom-block s="%n occupied?"><l>5</l></custom-block><block s="reportSum"><custom-block s="%n occupied?"><l>6</l></custom-block><block s="reportSum"><custom-block s="%n occupied?"><l>7</l></custom-block><block s="reportSum"><custom-block s="%n occupied?"><l>8</l></custom-block><custom-block s="%n occupied?"><l>9</l></custom-block></block></block></block></block></block></block></block></block></block></script></block-definition><block-definition s="table NN %&apos;n&apos; %&apos;n2&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportSum"><block s="reportDifference"><block s="reportProduct"><block var="n"/><l>3</l></block><l>3</l></block><block var="n2"/></block></block></script></block-definition><block-definition s="occupied %&apos;symb&apos; blocks" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportSum"><custom-block s="%n occupied with %s ?"><l>1</l><block var="symb"/></custom-block><block s="reportSum"><custom-block s="%n occupied with %s ?"><l>2</l><block var="symb"/></custom-block><block s="reportSum"><custom-block s="%n occupied with %s ?"><l>3</l><block var="symb"/></custom-block><block s="reportSum"><custom-block s="%n occupied with %s ?"><l>4</l><block var="symb"/></custom-block><block s="reportSum"><custom-block s="%n occupied with %s ?"><l>5</l><block var="symb"/></custom-block><block s="reportSum"><custom-block s="%n occupied with %s ?"><l>6</l><block var="symb"/></custom-block><block s="reportSum"><custom-block s="%n occupied with %s ?"><l>7</l><block var="symb"/></custom-block><block s="reportSum"><custom-block s="%n occupied with %s ?"><l>8</l><block var="symb"/></custom-block><custom-block s="%n occupied with %s ?"><l>9</l><block var="symb"/></custom-block></block></block></block></block></block></block></block></block></block></script></block-definition><block-definition s="detect if user is attempting to win" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>norepeat random already picked</l><block s="reportNewList"><list></list></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doDeclareVariables"><list><l>a</l></list></block><block s="doSetVar"><l>a</l><l>1</l></block><block s="doUntil"><block s="reportOr"><block var="random commands done?"/><block s="reportGreaterThan"><block var="a"/><l>9</l></block></block><script><custom-block s="run random command"></custom-block><block s="doChangeVar"><l>a</l><l>1</l></block></script></block></script><scripts><script x="212" y="1049.5333333333333"><block s="doSetVar"><l></l><l>0</l></block></script></scripts></block-definition><block-definition s="attempt trick move 1" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><block s="reportLessThan"><block var="AI corner"/><l>3</l></block><script><block s="doIfElse"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportSum"><block var="AI corner"/><l>6</l></block></custom-block></block><script><custom-block s="mark %n as %s"><block s="reportSum"><block var="AI corner"/><l>6</l></block><l>O</l></custom-block></script><script><block s="doSetVar"><l>performing trick move?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><custom-block s="detect if user is attempting to win"></custom-block></script></block></script><script><block s="doIfElse"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportDifference"><block var="AI corner"/><l>6</l></block></custom-block></block><script><custom-block s="mark %n as %s"><block s="reportDifference"><block var="AI corner"/><l>6</l></block><l>O</l></custom-block></script><script><block s="doSetVar"><l>performing trick move?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><custom-block s="detect if user is attempting to win"></custom-block><block s="doIfElse"><block var="AI moved during detection?"/><script></script><script><custom-block s="make random move"></custom-block></script></block></script></block></script></block></script></block-definition><block-definition s="make random move" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>block</l></list></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>block</l><l>0</l></block><block s="doWarp"><script><block s="doUntil"><block s="reportEquals"><block s="reportListItem"><block var="block"/><block var="board"/></block><l></l></block><script><block s="doSetVar"><l>block</l><block s="reportRandom"><l>1</l><l>9</l></block></block></script></block></script></block><custom-block s="mark %n as %s"><block var="block"/><l>O</l></custom-block></script></block-definition><block-definition s="attempt trick move 2" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>performing trick move?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doIfElse"><custom-block s="%n is odd?"><block var="AI corner"/></custom-block><script><block s="doIfElse"><custom-block s="%n occupied?"><block s="reportSum"><block var="AI corner"/><l>2</l></block></custom-block><script><custom-block s="mark %n as %s"><block s="reportSum"><block var="AI corner"/><l>2</l></block><l>O</l></custom-block></script><script><custom-block s="make random move"></custom-block></script></block></script><script><block s="doIfElse"><custom-block s="%n occupied?"><block s="reportDifference"><block var="AI corner"/><l>2</l></block></custom-block><script><custom-block s="mark %n as %s"><block s="reportDifference"><block var="AI corner"/><l>2</l></block><l>O</l></custom-block></script><script><custom-block s="make random move"></custom-block></script></block></script></block></script></block-definition><block-definition s="how many are occupied in col %&apos;col&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="doReport"><block s="reportSum"><custom-block s="%n occupied?"><block s="reportSum"><block var="col"/><l>0</l></block></custom-block><block s="reportSum"><custom-block s="%n occupied?"><block s="reportSum"><block var="col"/><l>3</l></block></custom-block><custom-block s="%n occupied?"><block s="reportSum"><block var="col"/><l>6</l></block></custom-block></block></block></block></script></block-definition><block-definition s="how many are occupied in row %&apos;row&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="doReport"><block s="reportSum"><custom-block s="%n occupied?"><block s="reportSum"><block s="reportDifference"><block s="reportProduct"><block var="row"/><l>3</l></block><l>3</l></block><l>1</l></block></custom-block><block s="reportSum"><custom-block s="%n occupied?"><block s="reportSum"><block s="reportDifference"><block s="reportProduct"><block var="row"/><l>3</l></block><l>3</l></block><l>2</l></block></custom-block><custom-block s="%n occupied?"><block s="reportSum"><block s="reportDifference"><block s="reportProduct"><block var="row"/><l>3</l></block><l>3</l></block><l>3</l></block></custom-block></block></block></block></script><scripts><script x="73.9951171875" y="178.50000000000006"><block var="row"/></script></scripts></block-definition><block-definition s="how many are occupied in diag 1" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportSum"><custom-block s="%n occupied?"><l>1</l></custom-block><block s="reportSum"><custom-block s="%n occupied?"><l>5</l></custom-block><custom-block s="%n occupied?"><l>9</l></custom-block></block></block></block></script><scripts><script x="73.9951171875" y="178.50000000000006"><block var="row"/></script></scripts></block-definition><block-definition s="how many are occupied in diag 2" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportSum"><custom-block s="%n occupied?"><l>3</l></custom-block><block s="reportSum"><custom-block s="%n occupied?"><l>5</l></custom-block><custom-block s="%n occupied?"><l>7</l></custom-block></block></block></block></script><scripts><script x="73.9951171875" y="178.50000000000006"><block var="row"/></script></scripts></block-definition><block-definition s="go to block %&apos;block#&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="gotoXY"><block s="reportSum"><l>-90</l><block s="reportProduct"><block s="reportListItem"><block var="block#"/><block s="reportNewList"><list><l>0</l><l>1</l><l>2</l><l>0</l><l>1</l><l>2</l><l>0</l><l>1</l><l>2</l></list></block></block><l>90</l></block></block><block s="reportDifference"><l>90</l><block s="reportProduct"><block s="reportListItem"><block var="block#"/><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l><l>1</l><l>2</l><l>2</l><l>2</l></list></block></block><l>90</l></block></block></block></script></block-definition><block-definition s="tie?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportEquals"><custom-block s="occupied %s blocks"><l></l></custom-block><l>0</l></block></block></script></block-definition><block-definition s="show %&apos;symb&apos; won" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doIfElse"><custom-block s="col. 1 occupied with %s ?"><block var="symb"/></custom-block><script><block s="up"></block><custom-block s="go to block %n"><l>1</l></custom-block><block s="down"></block><custom-block s="go to block %n"><l>7</l></custom-block><block s="up"></block></script><script><block s="doIfElse"><custom-block s="col. 2 occupied with %s ?"><block var="symb"/></custom-block><script><block s="up"></block><custom-block s="go to block %n"><l>2</l></custom-block><block s="down"></block><custom-block s="go to block %n"><l>8</l></custom-block><block s="up"></block></script><script><block s="doIfElse"><custom-block s="col. 3 occupied with %s ?"><block var="symb"/></custom-block><script><block s="up"></block><custom-block s="go to block %n"><l>3</l></custom-block><block s="down"></block><custom-block s="go to block %n"><l>9</l></custom-block><block s="up"></block></script><script><block s="doIfElse"><custom-block s="row 1 occupied with %s ?"><block var="symb"/></custom-block><script><block s="up"></block><custom-block s="go to block %n"><l>1</l></custom-block><block s="down"></block><custom-block s="go to block %n"><l>3</l></custom-block><block s="up"></block></script><script><block s="doIfElse"><custom-block s="row 2 occupied with %s ?"><block var="symb"/></custom-block><script><block s="up"></block><custom-block s="go to block %n"><l>4</l></custom-block><block s="down"></block><custom-block s="go to block %n"><l>6</l></custom-block><block s="up"></block></script><script><block s="doIfElse"><custom-block s="row 3 occupied with %s ?"><block var="symb"/></custom-block><script><block s="up"></block><custom-block s="go to block %n"><l>7</l></custom-block><block s="down"></block><custom-block s="go to block %n"><l>9</l></custom-block><block s="up"></block></script><script><block s="doIfElse"><custom-block s="diag 1 occupied with %s ?"><block var="symb"/></custom-block><script><block s="up"></block><custom-block s="go to block %n"><l>1</l></custom-block><block s="down"></block><custom-block s="go to block %n"><l>9</l></custom-block><block s="up"></block></script><script><block s="doIf"><custom-block s="diag 2 occupied with %s ?"><block var="symb"/></custom-block><script><block s="up"></block><custom-block s="go to block %n"><l>3</l></custom-block><block s="down"></block><custom-block s="go to block %n"><l>7</l></custom-block><block s="up"></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block-definition><block-definition s="show alert" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="gotoXY"><l>-120</l><l>0</l></block><block s="write"><l>see inside to play!</l><l>30</l></block></script></block-definition><block-definition s="%&apos;number&apos; is odd?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="doReport"><block s="reportIfElse"><block s="reportEquals"><block s="reportModulus"><block var="number"/><l>2</l></block><l>1</l></block><block s="reportBoolean"><l><bool>true</bool></l></block><block s="reportBoolean"><l><bool>false</bool></l></block></block></block></script></block-definition><block-definition s="set up commands" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>aiwincmds</l><block s="reportNewList"><list><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in col %n by %s"><l>1</l><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>4</l><l>7</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>4</l><l>7</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in col %n by %s"><l>2</l><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>2</l><l>5</l><l>8</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>2</l><l>5</l><l>8</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in col %n by %s"><l>3</l><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>6</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>6</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in row %n with %s"><l>1</l><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in row %n with %s"><l>2</l><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>4</l><l>5</l><l>6</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>4</l><l>5</l><l>6</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in row %n with %s"><l>3</l><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>7</l><l>8</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>7</l><l>8</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in diag 1 with %s"><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in diag 2 with %s"><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>5</l><l>7</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>5</l><l>7</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block></list></block></block><block s="doSetVar"><l>aiattemptcmds</l><block s="reportNewList"><list><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in col %n"><l>1</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>4</l><l>7</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>4</l><l>7</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in col %n"><l>2</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>2</l><l>5</l><l>8</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>2</l><l>5</l><l>8</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in col %n"><l>3</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>6</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>6</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in row %n"><l>1</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in row %n"><l>2</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>4</l><l>5</l><l>6</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>4</l><l>5</l><l>6</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in row %n"><l>3</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>7</l><l>8</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>7</l><l>8</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in diag 1"></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block><block s="reifyScript"><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in diag 2"></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>5</l><l>7</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>5</l><l>7</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><list></list></block></list></block></block></script></block-definition><block-definition s="detect if user is attempting to win backup" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><block s="reportEquals"><custom-block s="how many are occupied in col %n"><l>1</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>4</l><l>7</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>4</l><l>7</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doIfElse"><block s="reportEquals"><custom-block s="how many are occupied in col %n"><l>2</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>2</l><l>5</l><l>8</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>2</l><l>5</l><l>8</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doIfElse"><block s="reportEquals"><custom-block s="how many are occupied in col %n"><l>3</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>6</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>6</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doIfElse"><block s="reportEquals"><custom-block s="how many are occupied in row %n"><l>1</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doIfElse"><block s="reportEquals"><custom-block s="how many are occupied in row %n"><l>2</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>4</l><l>5</l><l>6</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>4</l><l>5</l><l>6</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doIfElse"><block s="reportEquals"><custom-block s="how many are occupied in row %n"><l>3</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>7</l><l>8</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>7</l><l>8</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doIfElse"><block s="reportEquals"><custom-block s="how many are occupied in diag 1"></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doIfElse"><block s="reportEquals"><custom-block s="how many are occupied in diag 2"></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>5</l><l>7</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block-definition><block-definition s="run random command" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRun"><block s="reportListItem"><custom-block s="norepeat random"></custom-block><block var="aiattemptcmds"/></block><list></list></block></script></block-definition><block-definition s="norepeat random" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="evaluate"><block s="reifyReporter"><script><block s="doDeclareVariables"><list><l>random</l></list></block><block s="doSetVar"><l>random</l><block s="reportRandom"><l>1</l><l>9</l></block></block><block s="doUntil"><block s="reportNot"><block s="reportListContainsItem"><block var="norepeat random already picked"/><block var="random"/></block></block><script><block s="doSetVar"><l>random</l><block s="reportRandom"><l>1</l><l>9</l></block></block></script></block><block s="doAddToList"><block var="random"/><block var="norepeat random already picked"/></block><block s="doReport"><block var="random"/></block></script><list></list></block><list></list></block></block></script></block-definition><block-definition s="show alert 2" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="gotoXY"><l>-200</l><l>-150</l></block><block s="write"><l>AI is thinking...</l><l>12</l></block></script></block-definition><block-definition s="attempt to win" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>norepeat random already picked</l><block s="reportNewList"><list></list></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doDeclareVariables"><list><l>a</l></list></block><block s="doSetVar"><l>a</l><l>1</l></block><block s="doUntil"><block s="reportOr"><block var="random commands done?"/><block s="reportGreaterThan"><block var="a"/><l>9</l></block></block><script><custom-block s="run random command"></custom-block><block s="doChangeVar"><l>a</l><l>1</l></block></script></block><block s="doIf"><custom-block s="%s won?"><l>O</l></custom-block><script><custom-block s="draw board"></custom-block><custom-block s="show %s won"><l>O</l></custom-block><block s="doSetVar"><l>test AI win bool</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doStopThis"><l><option>this block</option></l></block></script></block></script></block-definition><block-definition s="how many are occupied in col %&apos;col&apos; by %&apos;symb&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportSum"><custom-block s="%n occupied with %s ?"><block s="reportSum"><block var="col"/><l>0</l></block><block var="symb"/></custom-block><block s="reportSum"><custom-block s="%n occupied with %s ?"><block s="reportSum"><block var="col"/><l>3</l></block><block var="symb"/></custom-block><custom-block s="%n occupied with %s ?"><block s="reportSum"><block var="col"/><l>6</l></block><block var="symb"/></custom-block></block></block></block></script></block-definition><block-definition s="how many are occupied in row %&apos;row&apos; with %&apos;symb&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportSum"><custom-block s="%n occupied with %s ?"><block s="reportSum"><block s="reportDifference"><block s="reportProduct"><block var="row"/><l>3</l></block><l>3</l></block><l>1</l></block><block var="symb"/></custom-block><block s="reportSum"><custom-block s="%n occupied with %s ?"><block s="reportSum"><block s="reportDifference"><block s="reportProduct"><block var="row"/><l>3</l></block><l>3</l></block><l>2</l></block><block var="symb"/></custom-block><custom-block s="%n occupied with %s ?"><block s="reportSum"><block s="reportDifference"><block s="reportProduct"><block var="row"/><l>3</l></block><l>3</l></block><l>3</l></block><block var="symb"/></custom-block></block></block></block></script></block-definition><block-definition s="how many are occupied in diag 1 with %&apos;symb&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportSum"><custom-block s="%n occupied with %s ?"><l>1</l><block var="symb"/></custom-block><block s="reportSum"><custom-block s="%n occupied with %s ?"><l>5</l><block var="symb"/></custom-block><custom-block s="%n occupied with %s ?"><l>9</l><block var="symb"/></custom-block></block></block></block></script></block-definition><block-definition s="how many are occupied in diag 2 with %&apos;symb&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportSum"><custom-block s="%n occupied with %s ?"><l>3</l><block var="symb"/></custom-block><block s="reportSum"><custom-block s="%n occupied with %s ?"><l>5</l><block var="symb"/></custom-block><custom-block s="%n occupied with %s ?"><l>7</l><block var="symb"/></custom-block></block></block></block></script></block-definition><block-definition s="mouse on stage?" type="predicate" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportAnd"><block s="reportGreaterThan"><block s="reportMouseX"></block><l>-240</l></block><block s="reportAnd"><block s="reportLessThan"><block s="reportMouseX"></block><l>240</l></block><block s="reportAnd"><block s="reportGreaterThan"><block s="reportMouseY"></block><l>-180</l></block><block s="reportLessThan"><block s="reportMouseY"></block><l>180</l></block></block></block></block></block></script></block-definition><block-definition s="test AI" type="command" category="other"><comment x="0" y="0" w="90" collapsed="false">Tests the AI used for the computer by creating a game with a RNG versus the AI.</comment><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="init board"></custom-block><custom-block s="set up commands"></custom-block><block s="doDeclareVariables"><list><l>a</l></list></block><block s="doSetVar"><l>test AI win bool</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doUntil"><block var="test AI win bool"/><script><custom-block s="draw board"></custom-block><block s="doSetVar"><l>a</l><block s="reportRandom"><l>1</l><l>10</l></block></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block var="a"/></custom-block></block><script><block s="doSetVar"><l>a</l><block s="reportRandom"><l>1</l><l>10</l></block></block></script></block><custom-block s="mark %n as %s"><block var="a"/><l>X</l></custom-block><block s="doIfElse"><custom-block s="%s won?"><l>X</l></custom-block><script><custom-block s="draw board"></custom-block><custom-block s="show %s won"><l>X</l></custom-block><block s="doSetVar"><l>test AI win bool</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doIfElse"><custom-block s="tie?"></custom-block><script><custom-block s="draw board"></custom-block><block s="doSetVar"><l>test AI win bool</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><custom-block s="run AI"></custom-block><block s="doIfElse"><custom-block s="%s won?"><l>O</l></custom-block><script><custom-block s="draw board"></custom-block><custom-block s="show %s won"><l>O</l></custom-block><block s="doSetVar"><l>test AI win bool</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doIf"><custom-block s="tie?"></custom-block><script><custom-block s="draw board"></custom-block><block s="doSetVar"><l>test AI win bool</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script></block></script></block></script></block></script></block></script></block-definition><block-definition s="split" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportTextSplit"><block s="reportListItem"><l><option>last</option></l><block var="csvdoc"/></block><l>,</l></block></block></script></block-definition></blocks><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="false" hyperops="true" codify="false" inheritance="true" sublistIDs="false" id="3248"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAB4KADAAQAAAABAAABaAAAAAAHwbojAAAq8ElEQVR4Ae3dS4xdR53H8X6YCdGEkRACFiQICXbs0IQhwyC8QWLB0HZL1igGiSGxO4kBabKAFSgdAQtmFmQBceI4REIoICG33R4QGxYECZLACLIHBgkSCZkNMLIIdtw9/+rciu+9fU49zqlTz29L1ul7HlX/+tT1+fW5z5UVfhBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBA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7KuFr/LamZBATdxzTWR5duCpXW006TzyNNI/AKAECeBRfvQdPHRAtXfWa7iU4m3TYhkDdAgRw3fM7enSBA+JPErxvHF1UhQ3gXOGkMiQELAIEsAWIzTcFJCTUJ1h53WfkxTAvytuW7rjZCr/ZBAY6vyTOt9vaZjsCCCCAQF0CfKJanPnEOY4zvSCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIOAj8P1vQvNQJPVTBAAAAAElFTkSuQmCC</pentrails><costumes><list struct="atomic" id="3249"></list></costumes><sounds><list struct="atomic" id="3250"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="1"><sprite name="Sprite" idx="1" x="70" y="-110" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="0" color="80,80,80,1" pen="tip" id="3255"><costumes><list struct="atomic" id="3256"></list></costumes><sounds><list struct="atomic" id="3257"></list></sounds><blocks></blocks><variables></variables><scripts><script x="30" y="10"><block s="receiveGo"></block><block s="clear"></block><custom-block s="show alert"></custom-block><block s="doWait"><l>3</l></block><custom-block s="set up commands"></custom-block><custom-block s="init board"></custom-block><block s="doWait"><l>1</l></block><block s="doForever"><script><custom-block s="draw board"></custom-block><custom-block s="shadow"></custom-block><block s="doIf"><block s="reportAnd"><block s="reportMouseDown"></block><block s="reportAnd"><custom-block s="mouse on stage?"></custom-block><block s="reportNot"><custom-block s="occupied?"></custom-block></block></block></block><script><custom-block s="mark %n as %s"><custom-block s="block #"></custom-block><l>X</l></custom-block><block s="doResetTimer"></block><block s="doIfElse"><custom-block s="%s won?"><l>X</l></custom-block><script><custom-block s="draw board"></custom-block><custom-block s="show %s won"><l>X</l></custom-block><block s="doStopThis"><l><option>all</option></l></block></script><script><block s="doIfElse"><custom-block s="tie?"></custom-block><script><custom-block s="draw board"></custom-block><block s="doStopThis"><l><option>all</option></l></block></script><script><block s="doUntil"><block s="reportGreaterThan"><block s="getTimer"></block><l>0.99</l></block><script><custom-block s="draw board"></custom-block></script></block><custom-block s="show alert 2"></custom-block><custom-block s="run AI"></custom-block><block s="doIfElse"><custom-block s="%s won?"><l>O</l></custom-block><script><custom-block s="draw board"></custom-block><custom-block s="show %s won"><l>O</l></custom-block><block s="doStopThis"><l><option>all</option></l></block></script><script><block s="doIf"><custom-block s="tie?"></custom-block><script><custom-block s="draw board"></custom-block><block s="doStopThis"><l><option>all</option></l></block></script></block></script></block></script></block></script></block></script></block></script></block></script></scripts></sprite><watcher scope="Sprite" s="xPosition" style="normal" x="10" y="103.000002" color="74,108,212" hidden="true"/><watcher scope="Sprite" s="direction" style="normal" x="10" y="124.00000399999996" color="74,108,212" hidden="true"/><watcher scope="Sprite" s="yPosition" style="normal" x="10" y="145.00000599999993" color="74,108,212" hidden="true"/><watcher var="AI corner" style="normal" x="10" y="166.00000799999998" color="243,118,29" hidden="true"/><watcher var="AI moved during detection?" style="normal" x="10" y="187.00000999999997" color="243,118,29" hidden="true"/><watcher scope="Stage" s="reportMouseX" style="normal" x="10" y="229.00001399999996" color="4,148,220" hidden="true"/><watcher scope="Stage" s="reportMouseY" style="normal" x="10" y="250.0000159999999" color="4,148,220" hidden="true"/><watcher var="random commands done?" style="normal" x="10" y="292.0000199999999" color="243,118,29" hidden="true"/><watcher var="norepeat random already picked" style="normal" x="10" y="316.00002199999994" color="243,118,29" hidden="true"/><watcher var="aiattemptcmds" style="normal" x="27" y="34.000017999999955" color="243,118,29" hidden="true"/><watcher var="performing trick move?" style="normal" x="10" y="335.9999979999999" color="243,118,29" hidden="true"/><watcher var="board" style="normal" x="10" y="-13" color="243,118,29" hidden="true"/><watcher var="aiwincmds" style="normal" x="11.999999999999886" y="7.000023999999939" color="243,118,29" hidden="true"/><watcher var="AI prev moves" style="normal" x="10" y="188.000002" color="243,118,29" hidden="true"/><watcher var="test AI win bool" style="normal" x="10" y="253.00000599999993" color="243,118,29" hidden="true"/></sprites></stage><variables><variable name="board"><list struct="atomic" id="3366">O,X,X,X,X,O,O,O,X</list></variable><variable name="AI corner"><l>1</l></variable><variable name="performing trick move?"><bool>true</bool></variable><variable name="AI moved during detection?"><bool>true</bool></variable><variable name="aiattemptcmds"><list id="3367"><item><context id="3368"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in col %n"><l>1</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>4</l><l>7</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>4</l><l>7</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin><context id="3429"><inputs></inputs><variables></variables><receiver><ref id="3255"></ref></receiver><origin></origin></context></context></item><item><context id="3431"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in col %n"><l>2</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>2</l><l>5</l><l>8</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>2</l><l>5</l><l>8</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item><item><context id="3492"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in col %n"><l>3</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>6</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>6</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item><item><context id="3553"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in row %n"><l>1</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item><item><context id="3614"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in row %n"><l>2</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>4</l><l>5</l><l>6</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>4</l><l>5</l><l>6</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item><item><context id="3675"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in row %n"><l>3</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>7</l><l>8</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>7</l><l>8</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item><item><context id="3736"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in diag 1"></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item><item><context id="3796"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in diag 2"></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>5</l><l>7</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>5</l><l>7</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item></list></variable><variable name="random commands done?"><bool>true</bool></variable><variable name="norepeat random already picked"><list struct="atomic" id="3856">5,2</list></variable><variable name="aiwincmds"><list id="3857"><item><context id="3858"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in col %n by %s"><l>1</l><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>4</l><l>7</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>4</l><l>7</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item><item><context id="3920"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in col %n by %s"><l>2</l><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>2</l><l>5</l><l>8</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>2</l><l>5</l><l>8</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item><item><context id="3982"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in col %n by %s"><l>3</l><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>6</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>6</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item><item><context id="4044"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in row %n with %s"><l>1</l><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item><item><context id="4106"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in row %n with %s"><l>2</l><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>4</l><l>5</l><l>6</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>4</l><l>5</l><l>6</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item><item><context id="4168"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in row %n with %s"><l>3</l><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>7</l><l>8</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>7</l><l>8</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item><item><context id="4230"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in diag 1 with %s"><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item><item><context id="4291"><inputs></inputs><variables></variables><script><block s="doIf"><block s="reportEquals"><custom-block s="how many are occupied in diag 2 with %s"><l>O</l></custom-block><l>2</l></block><script><block s="doDeclareVariables"><list><l>i2</l></list></block><block s="doSetVar"><l>i2</l><l>1</l></block><block s="doUntil"><block s="reportNot"><custom-block s="%n occupied?"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>5</l><l>7</l></list></block></block></custom-block></block><script><block s="doChangeVar"><l>i2</l><l>1</l></block></script></block><custom-block s="mark %n as %s"><block s="reportListItem"><block var="i2"/><block s="reportNewList"><list><l>3</l><l>5</l><l>7</l></list></block></block><l>O</l></custom-block><block s="doSetVar"><l>random commands done?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>AI moved during detection?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script><receiver><ref id="3255"></ref></receiver><origin><ref id="3255"></ref></origin></context></item></list></variable><variable name="AI prev moves"><l>3</l></variable><variable name="test AI win bool"><bool>true</bool></variable></variables></scene></scenes></project><media name="tic tac toe- Jaret Valencia " app="Snap! 7, https://snap.berkeley.edu" version="2"></media></snapdata>