<snapdata remixID="15147014"><project name="reference" app="Snap! 11.0.8, https://snap.berkeley.edu" version="2"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAEPUlEQVR4AeyXvy58QRiGvyARHbfBFehUEpVE6QpEodVQ6qiISiehUuhUEnEDCrchut0tdrO/rOQUijl/fs6ceWe+RyLLzDkz3/u8T8HSnC8IJCSwZHxBICEBBEwIn6vNEBALkhJAwKT4uRwBcSApAb8CJsXO5RUBBKxI8JmEAAImwc6lFQEErEjwmYQAAibBzqUVAQSsSPCZhAACJsGe9FKpyxFQqg5/wyCgv86lEiOgVB3+hkFAf51LJUZAqTr8DYOA/jqXSjyogFLJGUaCAAJK1OB3CAT0271EcgSUqMHvEAjot3uJ5AgoUYPfIRBwkO65JEQAAUNkWB+EAAIOgplLQgQQMESG9UEIIOAgmLkkRAABQ2RYH4QAAg6C2e8lTckRsIkQ+1EJIGBUvBzeRAABmwixH5UAAkbFy+FNBBCwiRD7UQkgYFS8HN5EoFwBm5KzL0EAASVq8DsEAvrtXiI5AkrU4HcIBPTbvURyBJSowe8QCFhe91klQsCs6ipvWAQsr9OsEiFgVnWVNywCltdpVokQMKu6yhsWAcvrNKtEvQqYVXKGlSCAgBI1+B0CAf12L5EcASVq8DsEAvrtXiI5AgZqmE6ngR2W+ySAgAGa+/v7dnJyYtfX1/b9/R14qlrm838JIGCA3NnZmX18fNjLy4sdHBzY4eGhnZ+f2+Pjo41Go8BbLHclgIABYtvb23Z8fGyTycTW19dtPB7b5+en3d/f2+7u7s/e1dWVvb29BU5guQ0BBKyhNJvNbHl5+dcT8/ncFt+LxcXfidXPi9/57k4AAQPM3t/f7e7uzlZXV+3r68vW1tZsc3PTjo6O7PX11W5vb+309NR2dnYCJ7DchgACBihdXl7a1taW7e3t2fPzsz08PNjFxYUt/jlZSBl4jeWOBBAwAOzp6clubm5+/tbb2NgIPMXyXwkgYIDgyspKYIflPgkgYJ80OaszAQTsjIwX+iSAgH3S5KzOBBCwMzJe6JMAAvZJk7M6E8hXwM5ReUGRAAIqtuJoJgR0VLZiVARUbMXRTAjoqGzFqAio2IqjmRAwv7KLmhgBi6ozvzAImF9nRU2MgEXVmV8YBMyvs6ImRsCi6swvDALm11lRE3cSsKjkhJEggIASNfgdAgH9di+RHAElavA7BAL67V4iOQJK1OB3CARs1T0PxSKAgLHIcm4rAgjYChMPxSKAgLHIcm4rAgjYChMPxSKAgLHIcm4rAgjYCpPfh2InR8DYhDm/lgAC1uJhMzYBBIxNmPNrCSBgLR42YxNAwNiEOb+WAALW4mEzNgFdAWMn53wJAggoUYPfIRDQb/cSyRFQoga/QyCg3+4lkiOgRA1+h0BAve5dTYSArurWC4uAep24mggBXdWtFxYB9TpxNRECuqpbLywC6nXiaqJfArpKTlgJAggoUYPfIRDQb/cSyRFQoga/QyCg3+4lkv8DAAD//wywGs0AAAAGSURBVAMAZifVjxRlPD8AAAAASUVORK5CYII=</thumbnail><scenes select="1"><scene name="reference"><notes></notes><hidden></hidden><headers></headers><code></code><blocks><block-definition s="Move Forward" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doWait"><l>0.5</l></block><block s="forward"><block var="step"/></block></script></block-definition><block-definition s="Rotate Right" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doWait"><l>0.5</l></block><block s="turn"><l>90</l></block></script></block-definition><block-definition s="Rotate Left" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doWait"><l>0.5</l></block><block s="turnLeft"><l>90</l></block></script></block-definition><block-definition s="Go To Start" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="setHeading"><l>0</l></block><block s="gotoXY"><block s="reportListItem"><l>1</l><block var="Start"/></block><block s="reportListItem"><l>2</l><block var="Start"/></block></block></script></block-definition><block-definition s="Draw Square size: %&apos;size&apos; color: %&apos;Color&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%txt"></input></inputs><script><block s="setHeading"><l>90</l></block><block s="setColor"><color>230,10,0,1</color></block><block s="down"></block><block s="doRepeat"><l>4</l><script><block s="forward"><block var="size"/></block><block s="turn"><l>90</l></block></script></block><block s="doIfElse"><block s="reportVariadicEquals"><list><block var="Color"/><l>0</l></list></block><script><block s="setColor"><color>150,150,150,1</color></block></script><script><block s="setColor"><color>255,255,255,1</color></block></script></block><block s="up"></block><block s="setHeading"><l>135</l></block><block s="forward"><l>10</l></block><block s="floodFill"></block><block s="forward"><l>-10</l></block><block s="setHeading"><l>90</l></block></script></block-definition><block-definition s="Draw Board %&apos;board matrix&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><custom-block s="for %upvar = %n to %n %cs"><l>j</l><l>1</l><l>8</l><script><block s="gotoXY"><l>-160</l><block s="reportDifference"><l>160</l><block s="reportVariadicProduct"><list><block s="reportDifference"><block var="j"/><l>1</l></block><block var="step"/></list></block></block></block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>8</l><script><custom-block s="Draw Square size: %n color: %txt"><block var="step"/><block s="reportListItem"><block var="i"/><block s="reportListItem"><block var="j"/><block var="board matrix"/></block></block></custom-block><block s="changeXPosition"><block var="step"/></block></script></custom-block><block s="changeYPosition"><block var="step"/></block></script></custom-block></script></block></script></block-definition><block-definition s="map %&apos;function&apos; over %&apos;lists&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%mult%l"></input></inputs><script><block s="doWarp"><script><block s="doDeclareVariables"><list><l>mapone</l><l>mapmany</l></list></block><block s="doSetVar"><l>mapone</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script><list></list></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="evaluate"><block var="mapone"/><list><block s="reportCDR"><block var="data"/></block></list></block></block></block></script><list><l>data</l></list></block></block><block s="doSetVar"><l>mapmany</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportListItem"><l>1</l><block var="data lists"/></block></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script><list></list></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportListItem"><l>1</l><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></block><block s="evaluate"><block var="mapmany"/><list><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportCDR"><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></list></block></block></block></script><list><l>data lists</l></list></block></block><block s="doIfElse"><custom-block s="empty? %l"><block s="reportCDR"><block var="lists"/></block></custom-block><script><block s="doReport"><block s="evaluate"><block var="mapone"/><list><block s="reportListItem"><l>1</l><block var="lists"/></block></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="mapmany"/><list><block var="lists"/></list></block></block></script></block></script></block></script></block-definition><block-definition s="empty? %&apos;data&apos;" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportVariadicEquals"><list><block var="data"/><block s="reportNewList"><list></list></block></list></block></block></script></block-definition><block-definition s="keep items such that %&apos;pred&apos; from %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%predRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script><list></list></block><block s="doIfElse"><block s="evaluate"><block var="pred"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><script><block s="doReport"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></block></script><script><block s="doReport"><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></script></block></script></block></script></block-definition><block-definition s="combine with %&apos;function&apos; items of %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="data"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="data"/></block></block></script><list></list></block><block s="doReport"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="combine with %repRing items of %l"><block var="function"/><block s="reportCDR"><block var="data"/></block></custom-block></list></block></block></script></block></script></block-definition><block-definition s="for %&apos;i&apos; = %&apos;start&apos; to %&apos;end&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%n">1</input><input type="%n">10</input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>step</l><l>tester</l></list></block><block s="doIfElse"><block s="reportVariadicGreaterThan"><list><block var="start"/><block var="end"/></list></block><script><block s="doSetVar"><l>step</l><l>-1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportVariadicLessThan"><list><block var="i"/><block var="end"/></list></block></autolambda><list></list></block></block></script><script><block s="doSetVar"><l>step</l><l>1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportVariadicGreaterThan"><list><block var="i"/><block var="end"/></list></block></autolambda><list></list></block></block></script></block><block s="doSetVar"><l>i</l><block var="start"/></block><block s="doUntil"><block s="evaluate"><block var="tester"/><list></list></block><script><block s="doRun"><block var="action"/><list></list></block><block s="doChangeVar"><l>i</l><block var="step"/></block></script></block></script></block-definition><block-definition s="for each %&apos;item&apos; of %&apos;data&apos; %&apos;action&apos;" type="command" category="lists"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%l"></input><input type="%cs"></input></inputs><script><block s="doUntil"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doSetVar"><l>item</l><block s="reportListItem"><l>1</l><block var="data"/></block></block><block s="doRun"><block var="action"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="doSetVar"><l>data</l><block s="reportCDR"><block var="data"/></block></block></script></block></script></block-definition><block-definition s="Draw Maze 2" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="doSetVar"><l>step</l><l>40</l></block><block s="doSetVar"><l>board matrix</l><block s="reportNewList"><list><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l></list></block></custom-block></list></block></block><custom-block s="Draw Board %l"><block var="board matrix"/></custom-block><block s="doSetVar"><l>Start</l><block s="reportNewList"><list><l>140</l><l>-140</l></list></block></block></script></block-definition><block-definition s="Draw Maze 3" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="doSetVar"><l>step</l><l>40</l></block><block s="doSetVar"><l>board matrix</l><block s="reportNewList"><list><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l><l>1</l><l>1</l></list></block></custom-block></list></block></block><custom-block s="Draw Board %l"><block var="board matrix"/></custom-block><block s="doSetVar"><l>Start</l><block s="reportNewList"><list><l>140</l><l>-140</l></list></block></block></script></block-definition><block-definition s="Draw Maze 5" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="doSetVar"><l>step</l><l>40</l></block><block s="doSetVar"><l>board matrix</l><block s="reportNewList"><list><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l></list></block></custom-block></list></block></block><custom-block s="Draw Board %l"><block var="board matrix"/></custom-block><block s="doSetVar"><l>Start</l><block s="reportNewList"><list><l>140</l><l>-140</l></list></block></block></script></block-definition><block-definition s="Draw Your Maze" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="doSetVar"><l>step</l><l>40</l></block><block s="doSetVar"><l>board matrix</l><block s="reportNewList"><list><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l></list></block></custom-block></list></block></block><custom-block s="Draw Board %l"><block var="board matrix"/></custom-block><block s="doSetVar"><l>Start</l><block s="reportNewList"><list><l>140</l><l>-140</l></list></block></block></script></block-definition><block-definition s="Escape Maze 2" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRepeat"><l>2</l><script><custom-block s="Rotate Right"></custom-block></script></block><block s="doRepeat"><l>6</l><script><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block></script></block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block></script></block-definition><block-definition s="Escape Maze 3" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRepeat"><l>2</l><script><custom-block s="Rotate Right"></custom-block></script></block><block s="doRepeat"><l>3</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>3</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><l>4</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>4</l><script><custom-block s="Move Forward"></custom-block></script></block></script></block-definition><block-definition s="Escape Maze 5" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>7</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>3</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>7</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><l>3</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><l>7</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block></script></block-definition><block-definition s="Draw Maze 1" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="doSetVar"><l>step</l><l>40</l></block><block s="doSetVar"><l>board matrix</l><block s="reportNewList"><list><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l><l>1</l></list></block></custom-block></list></block></block><custom-block s="Draw Board %l"><block var="board matrix"/></custom-block><block s="doSetVar"><l>Start</l><block s="reportNewList"><list><l>140</l><l>-140</l></list></block></block></script></block-definition><block-definition s="Draw Maze 4" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="doSetVar"><l>step</l><l>40</l></block><block s="doSetVar"><l>board matrix</l><block s="reportNewList"><list><custom-block s="row of maze %l"><block s="reportNewList"><list><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>1</l><l>1</l><l>1</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>0</l><l>0</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l><l>1</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>0</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l><l>1</l></list></block></custom-block><custom-block s="row of maze %l"><block s="reportNewList"><list><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>0</l><l>1</l></list></block></custom-block></list></block></block><custom-block s="Draw Board %l"><block var="board matrix"/></custom-block><block s="doSetVar"><l>Start</l><block s="reportNewList"><list><l>140</l><l>-140</l></list></block></block></script></block-definition><block-definition s="Escape Maze 1" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><l>7</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>7</l><script><custom-block s="Move Forward"></custom-block></script></block></script></block-definition><block-definition s="Escape Maze 4" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRepeat"><l>2</l><script><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><l>3</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>3</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><l>2</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>2</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="Move Forward"></custom-block></script></block-definition><block-definition s="Escape Your Maze" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>6</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>3</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>5</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><l>2</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Left"></custom-block><block s="doRepeat"><l>5</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Right"></custom-block><block s="doRepeat"><l>2</l><script><custom-block s="Move Forward"></custom-block></script></block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward"></custom-block></script></block-definition><block-definition s="row of maze %&apos;row&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block var="row"/></block></script></block-definition><block-definition s="join words %&apos;words&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%mult%txt"></input></inputs><script><block s="doWarp"><script><block s="doIf"><block s="errorObsolete"></block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="words"/></block></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><l></l><block s="reportListItem"><l>1</l><block var="words"/></block></list></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><l></l><block s="reportListItem"><l>2</l><block var="words"/></block></list></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="words"/></block><block s="reportCDR"><block s="reportCDR"><block var="words"/></block></block></block></custom-block></block></script><list></list></block><block s="doReport"><block s="reportJoinWords"><list><block s="reportListItem"><l>1</l><block var="words"/></block><l> </l><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></list></block></block></script></block></script><scripts><script x="229.00000300000002" y="196.77778077777774"><block s="reportJoinWords"><list><l></l><l></l></list></block></script></scripts></block-definition><block-definition s="ignore %&apos;x&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs></block-definition><block-definition s="makeBoard" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSwitchToCostume"><l>Empty</l></block><block s="show"></block><block s="setEffect"><l><option>ghost</option></l><l>30</l><comment w="78" collapsed="true">3.3.3 TIF B</comment></block><block s="setScale"><l>95</l><comment w="190" collapsed="true">Oops costumes are a bit too big.</comment></block><block s="doSetVar"><l>position number</l><l>1</l><comment w="53.333333333333336" collapsed="true">3.3.1.4</comment></block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>3</l><script><custom-block s="for %upvar = %n to %n %cs"><l>j</l><l>1</l><l>3</l><script><block s="gotoXY"><block s="reportVariadicSum"><list><l>-100</l><block s="reportVariadicProduct"><list><l>50</l><block var="j"/></list></block></list></block><block s="reportDifference"><l>100</l><block s="reportVariadicProduct"><list><l>50</l><block var="i"/></list></block></block></block><block s="createClone"><l><option>myself</option></l></block><block s="doChangeVar"><l>position number</l><l>1</l><comment w="53.333333333333336" collapsed="true">3.3.1.4</comment></block></script></custom-block></script></custom-block><block s="hide"></block></script></block-definition><block-definition s="possible winning triples" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l></list></block><block s="reportNewList"><list><l>4</l><l>5</l><l>6</l></list></block><block s="reportNewList"><list><l>7</l><l>8</l><l>9</l></list></block><block s="reportNewList"><list><l>1</l><l>4</l><l>7</l></list></block><block s="reportNewList"><list><l>2</l><l>5</l><l>8</l></list></block><block s="reportNewList"><list><l>3</l><l>6</l><l>9</l></list></block><block s="reportNewList"><list><l>1</l><l>5</l><l>9</l></list></block><block s="reportNewList"><list><l>3</l><l>5</l><l>7</l></list></block></list></block></block></script></block-definition><block-definition s="status of triple %&apos;triple&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportMap"><block s="reifyReporter"><autolambda><block s="reportListItem"><l></l><block var="board"/></block></autolambda><list></list></block><block var="triple"/></block></block></script></block-definition><block-definition s="status of all winning triples" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportMap"><block s="reifyReporter"><autolambda><custom-block s="status of triple %l"><l/></custom-block></autolambda><list></list></block><custom-block s="possible winning triples"></custom-block></block></block></script></block-definition><block-definition s="won? %&apos;who&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportListContainsItem"><custom-block s="status of all winning triples"></custom-block><block s="reportNewList"><list><block var="who"/><block var="who"/><block var="who"/></list></block></block></block></script></block-definition><block-definition s="tied?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportVariadicEquals"><list><block s="reportFindFirst"><block s="reifyPredicate"><autolambda><block s="reportIsA"><l></l><l><option>number</option></l></block></autolambda><list></list></block><block var="board"/></block><l></l></list></block></block></script></block-definition><block-definition s="draw win line" type="command" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doFor"><l>i</l><l>1</l><l>8</l><script><block s="doDeclareVariables"><list><l>line</l></list></block><block s="doIf"><block s="reportVariadicOr"><list><block s="reportVariadicEquals"><list><block s="reportListItem"><block var="i"/><custom-block s="status of all winning triples"></custom-block></block><block s="reportNewList"><list><l>X</l><l>X</l><l>X</l></list></block></list></block><block s="reportVariadicEquals"><list><block s="reportListItem"><block var="i"/><custom-block s="status of all winning triples"></custom-block></block><block s="reportNewList"><list><l>O</l><l>O</l><l>O</l></list></block></list></block></list></block><script><block s="doSetVar"><l>line</l><block s="reportListItem"><block var="i"/><block var="win lines"/></block></block><block s="up"></block><block s="doGotoObject"><block s="reportListItem"><l>1</l><block var="line"/><comment w="137.33333333333334" collapsed="false">This is why each line in WIN LINES is a list of points, each of which is a list of x,y coordinates:  It allows us to use the endpoints, as points, in the GO TO block.</comment></block></block><block s="down"></block><block s="doGotoObject"><block s="reportListItem"><l>2</l><block var="line"/></block></block><block s="up"></block></script><list></list></block></script></block></script><scripts><comment x="174" y="6.666666666666667" w="244" collapsed="false">I&apos;m kind of bummed that I didn&apos;t find a beautiful one-line solution using FIND FIRST, but it just gives the value it finds, not the position in the list, which is what we need to find the line endpoints in WIN LINES. So it&apos;s a plain old fashioned FOR loop.</comment></scripts></block-definition><block-definition s="best empty square" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportFindFirst"><block s="reifyPredicate"><autolambda><block s="reportListContainsItem"><block var="board"/><l></l></block></autolambda><list></list></block><block s="reportNewList"><list><l>5</l><l>1</l><l>3</l><l>7</l><l>9</l><l>2</l><l>4</l><l>6</l><l>8</l></list></block></block></block></script></block-definition><block-definition s="how many %&apos;letter&apos; in %&apos;triple&apos; ?" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input><input type="%l" initial="1"></input></inputs><script><block s="doReport"><block s="reportListAttribute"><l><option>length</option></l><block s="reportKeep"><block s="reifyPredicate"><autolambda><block s="reportVariadicEquals"><list><l></l><block var="letter"/></list></block></autolambda><list></list></block><block var="triple"/></block></block></block></script></block-definition><block-definition s="move in this square" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><block var="X&apos;s turn?"/><script><block s="doSwitchToCostume"><l>X</l></block><block s="doReplaceInList"><block var="position number"/><block var="board"/><l>X</l><comment w="53.333333333333336" collapsed="true">3.3.1.5</comment></block><block s="doIfElse"><custom-block s="won? %s"><l>X</l><comment w="53.333333333333336" collapsed="true">3.3.2.9</comment></custom-block><script><block s="bubble"><l>X won!</l></block><block s="goToLayer"><l><option>front</option></l></block><block s="doTellTo"><l>Sprite</l><block s="reifyScript"><script><custom-block s="draw win line"></custom-block></script><list></list></block><list></list><comment w="134.66666666666666" collapsed="true">3.3.3.TIF B.  See below.</comment></block><block s="doSetVar"><l>playing</l><block s="reportBoolean"><l><bool>false</bool></l></block><comment w="53.333333333333336" collapsed="true">3.3.3.5</comment></block></script><script><block s="doIfElse"><l><bool>true</bool></l><script><block s="doBroadcast"><custom-block s="best empty square"></custom-block><list></list></block></script><script><block s="doBroadcast"><block s="reportListItem"><l><option>random</option></l><block s="reportKeep"><block s="reifyPredicate"><autolambda><block s="reportIsA"><l></l><l><option>number</option></l></block></autolambda><list></list></block><block var="board"/></block></block><list></list></block></script></block></script></block></script><script><block s="doSwitchToCostume"><l>O</l></block><block s="doReplaceInList"><block var="position number"/><block var="board"/><l>O</l><comment w="53.333333333333336" collapsed="true">3.3.1.5</comment></block><block s="doIf"><custom-block s="won? %s"><l>O</l><comment w="53.333333333333336" collapsed="true">3.3.2.9</comment></custom-block><script><block s="bubble"><l>O won!</l></block><block s="goToLayer"><l><option>front</option></l></block><block s="doTellTo"><l>Sprite</l><block s="reifyScript"><script><custom-block s="draw win line"></custom-block></script><list></list></block><list></list><comment w="130.66666666666666" collapsed="true">3.3.3.TIF B.  See below.</comment></block><block s="doSetVar"><l>playing</l><block s="reportBoolean"><l><bool>false</bool></l></block><comment w="53.333333333333336" collapsed="true">3.3.3.5</comment></block></script><list></list></block></script></block><block s="doSetVar"><l>X&apos;s turn?</l><block s="reportNot"><block var="X&apos;s turn?"/></block></block><block s="doIf"><block s="reportVariadicAnd"><list><block var="playing"/><custom-block s="tied?"><comment w="135.33333333333334" collapsed="false">3.3.3.1 and 3.3.3.5&#xD;See 3.3.3.3 above for why we have to test PLAYING.</comment></custom-block></list></block><script><block s="bubble"><l>It&apos;s a tie.</l></block><block s="goToLayer"><l><option>front</option></l></block></script><list></list></block><block s="doDeclareVariables"><list><l>available squares</l></list><comment w="252.66666666666666" collapsed="true">3.3.3 TIF A, here on down.  See comment below.</comment></block><block s="doSetVar"><l>available squares</l><block s="reportKeep"><block s="reifyPredicate"><autolambda><block s="reportIsA"><l></l><l><option>number</option></l></block></autolambda><list></list></block><block var="board"/></block></block><block s="doIf"><block s="reportVariadicAnd"><list><block var="playing"/><block s="reportVariadicEquals"><list><block s="reportListAttribute"><l><option>length</option></l><block var="available squares"/></block><l>1</l></list></block></list></block><script><block s="doReplaceInList"><block s="reportListItem"><l>1</l><block var="available squares"/></block><block var="board"/><l>X</l></block><block s="doIf"><block s="reportNot"><custom-block s="won? %s"><l>X</l></custom-block></block><script><block s="bubble"><l>It&apos;s a tie.</l></block><block s="goToLayer"><l><option>front</option></l></block><block s="doSetVar"><l>playing</l><block s="reportBoolean"><l><bool>false</bool></l></block></block></script><list></list></block></script><list></list></block></script></block-definition><block-definition s="winning square for player %&apos;player&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input></inputs><script><block s="doDeclareVariables"><list><l>triple</l></list></block><block s="doSetVar"><l>triple</l><custom-block s="winning triple for player %s"><block var="player"/></custom-block></block><block s="doIf"><block s="reportIsA"><block var="triple"/><l><option>list</option></l></block><script><block s="doReport"><block s="reportFindFirst"><block s="reifyPredicate"><autolambda><block s="reportIsA"><l></l><l><option>number</option></l></block></autolambda><list></list></block><custom-block s="winning triple for player %s"><block var="player"/></custom-block></block></block></script><list></list></block><block s="doReport"><l></l></block></script></block-definition><block-definition s="winning triple for player %&apos;player&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input></inputs><script><block s="doReport"><block s="reportFindFirst"><block s="reifyPredicate"><autolambda><block s="reportVariadicAnd"><list><block s="reportVariadicEquals"><list><custom-block s="how many %s in %l ?"><block var="player"/><l/></custom-block><l>2</l></list></block><block s="reportVariadicEquals"><list><custom-block s="how many %s in %l ?"><custom-block s="opponent %s"><block var="player"/></custom-block><l/></custom-block><l>0</l></list></block></list></block></autolambda><list></list></block><custom-block s="status of all winning triples"></custom-block></block></block></script></block-definition><block-definition s="opponent %&apos;player&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input></inputs><script><block s="doIfElse"><block s="reportVariadicEquals"><list><block var="player"/><l>X</l></list></block><script><block s="doReport"><l>O</l></block></script><script><block s="doReport"><l>X</l></block></script></block></script></block-definition><block-definition s="can player %&apos;player&apos; win now?" type="predicate" category="sensing"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input></inputs><script><block s="doReport"><block s="reportVariadicGreaterThan"><list><custom-block s="winning square for player %s"><block var="player"/></custom-block><l>0</l></list></block></block></script></block-definition><block-definition s="next move for computer" type="reporter" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><custom-block s="can player %s win now?"><l>O</l></custom-block><script><block s="doReport"><custom-block s="winning square for player %s"><l>O</l></custom-block></block></script><list></list></block><block s="doIf"><custom-block s="can player %s win now?"><l>X</l></custom-block><script><block s="doReport"><custom-block s="winning square for player %s"><l>X</l></custom-block></block></script><list></list></block><block s="doReport"><custom-block s="best empty square"></custom-block></block></script></block-definition></blocks><primitives></primitives><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="2145"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAQAElEQVR4AezVC27kNhAEUCP3P3SC/NZeez6SSDWb9YJg1zsjkV2vDdQfH/4jQIAAAQIEbhdQwLeTu5AAAQIECHx8ZBew3wACBAgQIFAkoICL4F1LgAABAtkCCjh3/5ITIECAQKGAAi7EdzUBAgQI5Aoo4NzdZyeXngABAsUCCrh4Aa4nQIAAgUwBBZy5d6mzBaQnQGABAQW8wBKMQIAAAQJ5Ago4b+cSE8gWkJ7AIgIKeJFFGIMAAQIEsgQUcNa+pSVAIFtA+oUEFPBCyzAKAQIECOQIKOCcXUtKgACBbIHF0ivgxRZiHAIECBDIEFDAGXuWkgABAgQWE7i5gBdLbxwCBAgQIFAkoICL4F1LgAABAtkCCvjG/buKAAECBAj8J6CA/5PwNwECBAgQuFFAAd+InX2V9AQIECDwWUABf9bwMwECBAgQuElAAd8E7ZpsAekJECDwu4AC/l3EvwkQIECAwA0CCvgGZFcQyBaQngCBnwQU8E8qPiNAgAABApMFFPBkYMcTIJAtID2BRwIK+JGMzwkQIECA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gQIjBdQwONNnUiAAAECBF4KKOCXRB4gkC0gPQECcwQU8BxXpxIgQIAAgacCCvgpjy8JEMgWkJ7APAEFPM/WyQQIECBA4KGAAn5I4wsCBAhkC0g/V0ABz/V1OgECBAgQ+FFAAf/I4kMCBAgQyBaYn14Bzzd2AwECBAgQ+CaggL+R+IAAAQIECMwXWLmA56d3AwECBAgQKBJQwEXwriVAgACBbAEFvOr+zUWAAAECWwso4K3XKxwBAgQIrCrwJwAAAP//lVwoVAAAAAZJREFUAwDU5ALRcl29HAAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="2146"></list></costumes><sounds><list struct="atomic" id="2147"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="1"><sprite name="Sprite" idx="1" x="0" y="2.940176837628001e-14" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="2152"><costumes><list struct="atomic" id="2153"></list></costumes><sounds><list struct="atomic" id="2154"></list></sounds><blocks></blocks><variables><variable name="position number"><l>10</l></variable></variables><scripts><script x="98" y="10"><block s="doSetVar"><l>a</l><block var="expression"/></block><block s="doReport"><block var="expression"/></block></script><script x="66.33333333333337" y="87.75000000000003"><block s="doIfElse"><block s="reportVariadicEquals"><list><block s="reportVariadicLessThan"><list><l>x</l><l>3</l></list></block><block s="reportBoolean"><l><bool>false</bool></l></block></list></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><script x="79" y="231.83333333333314"><block s="doIfElse"><block s="reportVariadicEquals"><list><block s="reportVariadicAnd"><list><block s="reportVariadicLessThan"><list><l>x</l><l>3</l></list></block><block s="reportVariadicLessThan"><list><l>x</l><l>2</l></list></block></list></block><block s="reportBoolean"><l><bool>true</bool></l></block></list></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><script x="354" y="34.83333333333357"><block s="doIfElse"><block s="reportVariadicOr"><list><block s="reportVariadicEquals"><list><block s="reportVariadicOr"><list><block s="reportVariadicLessThan"><list><l>x</l><l>3</l></list></block><block s="reportVariadicLessThan"><list><l>x</l><l>2</l></list></block></list></block><block s="reportBoolean"><l><bool>true</bool></l></block></list></block><block s="reportVariadicEquals"><list><block s="reportVariadicAnd"><list><block s="reportVariadicLessThan"><list><l>x</l><l>3</l></list></block><block s="reportVariadicLessThan"><list><l>x</l><l>2</l></list></block></list></block><block s="reportBoolean"><l><bool>true</bool></l></block></list></block></list></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><script x="72" y="370.58333333333496"><block s="doIf"><block var="expression"/><script></script><list></list></block></script><script x="243" y="377.6666666666681"><block s="doIfElse"><block var="expression"/><script></script><script></script></block></script><script x="488" y="373.0833333333345"><block s="doRepeat"><block var="expression"/><script></script></block></script><script x="494" y="244.1666666666668"><block s="doUntil"><block var="expression"/><script></script></block></script><script x="45" y="474.0000000000001"><block s="doSetVar"><l>aList</l><block s="reportNewList"><list><l>1</l><l>2</l><l>3</l><l>4</l></list></block></block></script><script x="276" y="479.0000000000001"><block s="doSetVar"><l>aList</l><block s="reportNewList"><list><l></l></list></block></block></script><script x="43" y="522.5000000000002"><block s="doSetVar"><l>bList</l><block s="reportNewList"><list><l>9</l><l>7</l><l>8</l><l>6</l></list></block></block></script><script x="479" y="475.0000000000001"><block s="doSetVar"><l>aList</l><block var="bList"/></block></script><script x="625" y="313.99999999999955"><block s="doFor"><l>i</l><l>1</l><l>10</l><script><block s="doReport"><block var="aList"/></block></script></block></script><script x="514" y="434.66666666666686"><block s="doSetVar"><l>x</l><l>0</l></block></script><script x="622" y="508.49999999999795"><block s="doForEach"><l>item</l><block var="aList"/><script></script></block></script><script x="627" y="453.83333333333337"><block s="reportListAttribute"><l><option>length</option></l><block var="aList"/></block></script><script x="53" y="570.5000000000001"><block s="doReport"><block var="expression"/></block></script><script x="27" y="607.6666666666657"><block s="doDeleteFromList"><block var="i"/><block var="aList"/></block></script><script x="520.3333333333334" y="579.6666666666657"><block s="doIf"><block s="reportListAttribute"><l><option>length</option></l><block s="reportVariadicSum"><list><block var="aList"/><l>1</l></list></block></block><script><block s="doSetVar"><l>aList</l><block var="value"/></block></script><list></list></block></script><script x="265" y="531.9166666666654"><custom-block s="Move Forward"></custom-block></script><script x="248" y="576.7499999999985"><custom-block s="Rotate Right"></custom-block></script><script x="253" y="622.583333333332"><custom-block s="Rotate Left"></custom-block></script><script x="33" y="659.5833333333325"><custom-block s="makeBoard"></custom-block></script><script x="200" y="676.4166666666655"><custom-block s="makeBoard"></custom-block><block s="doReport"><block var="expression"/></block></script><script x="315" y="648.7499999999987"><block s="doSetVar"><l>x</l><block s="reportListItem"><block var="i"/><block var="aList"/></block></block></script></scripts></sprite><watcher var="a" style="normal" x="10.000000000000783" y="9.99999999999999" color="243,118,29" hidden="true"/><watcher var="expression" style="normal" x="10.000000000000783" y="31.000002000000006" color="243,118,29" hidden="true"/><watcher var="aList" style="normal" x="20.689655172413794" y="20.689655172413794" color="243,118,29" extX="80" extY="69.99999999999999" hidden="true"/><watcher var="bList" style="normal" x="20.689655172413794" y="213.1034524137931" color="243,118,29" hidden="true"/><watcher var="x" style="normal" x="20.689655172413794" y="256.5517324137931" color="243,118,29" hidden="true"/><watcher var="value" style="normal" x="20.689655172413794" y="300.0000124137932" color="243,118,29" hidden="true"/></sprites></stage><variables><variable name="a"><l>0</l></variable><variable name="expression"><l>0</l></variable><variable name="aList"><list struct="atomic" id="2393"></list></variable><variable name="bList"><list struct="atomic" id="2394">2,2,3,4</list></variable><variable name="x"><l>0</l></variable><variable name="value"><l>0</l></variable><variable name="step"><l>40</l></variable><variable name="Start"><list struct="atomic" id="2395">140,-140</list></variable><variable name="board matrix"><list id="2396"><item><list struct="atomic" id="2397">1,1,1,1,1,1,1,0</list></item><item><list struct="atomic" id="2398">0,0,0,0,0,0,1,0</list></item><item><list struct="atomic" id="2399">0,0,0,0,0,0,1,0</list></item><item><list struct="atomic" id="2400">0,1,1,1,1,1,1,0</list></item><item><list struct="atomic" id="2401">0,1,0,0,0,0,0,0</list></item><item><list struct="atomic" id="2402">0,1,1,1,1,1,1,0</list></item><item><list struct="atomic" id="2403">0,0,0,0,0,0,1,0</list></item><item><list struct="atomic" id="2404">0,0,0,0,0,0,1,1</list></item></list></variable><variable name="X&apos;s turn?"><bool>true</bool></variable><variable name="board"><list struct="atomic" id="2405">1,2,3,4,5,6,7,8,9</list></variable><variable name="playing"><bool>true</bool></variable><variable name="win lines"><list id="2406"><item><list id="2407"><item><list struct="atomic" id="2408">-100,50</list></item><item><list struct="atomic" id="2409">100,50</list></item></list></item><item><list id="2410"><item><list struct="atomic" id="2411">-100,0</list></item><item><list struct="atomic" id="2412">100,0</list></item></list></item><item><list id="2413"><item><list struct="atomic" id="2414">-100,-50</list></item><item><list struct="atomic" id="2415">100,-50</list></item></list></item><item><list id="2416"><item><list struct="atomic" id="2417">-50,100</list></item><item><list struct="atomic" id="2418">-50,-100</list></item></list></item><item><list id="2419"><item><list struct="atomic" id="2420">0,100</list></item><item><list struct="atomic" id="2421">0,-100</list></item></list></item><item><list id="2422"><item><list struct="atomic" id="2423">50,100</list></item><item><list struct="atomic" id="2424">50,-100</list></item></list></item><item><list id="2425"><item><list struct="atomic" id="2426">-100,100</list></item><item><list struct="atomic" id="2427">100,-100</list></item></list></item><item><list id="2428"><item><list struct="atomic" id="2429">-100,-100</list></item><item><list struct="atomic" id="2430">100,100</list></item></list></item></list></variable></variables></scene></scenes></project><media name="reference" app="Snap! 11.0.8, https://snap.berkeley.edu" version="2"></media></snapdata>