<snapdata remixID="8862539"><project name="Unit 2 Test" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAxNJREFUeAHt10FKYwEURNGfpvcRyI7MLDtyJ06duBz34czWBkdNaCgKCsL5E0Xz3sPDhcTT59dzeAiMBH6N7jpL4K+AAIUwFRDglN9xAWpgKiDAKb/jAtTAVECAU37HBaiBqYAAp/yOC1ADUwEBTvkdF6AGpgICnPI7LkANTAUEOOV3XIAamAoIcMrvuAA1MBUQ4JTfcQFqYCogwCm/4wLUwFRAgFN+xwWogamAAKf8jgtQA1MBAU75HRegBqYCApzyOy5ADUwFBDjld1yAGpgKCHDK77gANTAVEOCU33EBamAqIMApv+MC1MBUQIBTfscFqIGpgACn/I4LUANTAQFO+R0XoAamAgKc8jsuQA1MBQQ45XdcgBqYCghwyu+4ADUwFRDglN9xAWpgKiDAKb/jAtTAVECAU37HBaiBqYAA7/Cfz+fj5eXlzm/9uCVw+vx6Wssebc/1ej1+eN7f34/X19fjcrk82p85/XsE+B/+p6enf15xOp2Oj4+P4+3t7fj+3pMLeAvO7UwWBH4Xdjzsiu+34J/HW/CPRPerAO94fv8T8vz8fNxutzuv8OOGgM+ADUU7YgGfAWM6gw0BATYU7YgFBBjTGWwICLChaEcsIMCYzmBDQIANRTtiAQHGdAYbAgJsKNoRCwgwpjPYEBBgQ9GOWECAMZ3BhoAAG4p2xAICjOkMNgQE2FC0IxYQYExnsCEgwIaiHbGAAGM6gw0BATYU7YgFBBjTGWwICLChaEcsIMCYzmBDQIANRTtiAQHGdAYbAgJsKNoRCwgwpjPYEBBgQ9GOWECAMZ3BhoAAG4p2xAICjOkMNgQE2FC0IxYQYExnsCEgwIaiHbGAAGM6gw0BATYU7YgFBBjTGWwICLChaEcsIMCYzmBDQIANRTtiAQHGdAYbAgJsKNoRCwgwpjPYEBBgQ9GOWECAMZ3BhoAAG4p2xAICjOkMNgQE2FC0IxYQYExnsCEgwIaiHbGAAGM6gw0BATYU7YgFBBjTGWwICLChaEcsIMCYzmBDQIANRTtiAQHGdAYbAgJsKNoRC/wBwkorNs3SKPgAAAAASUVORK5CYII=</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" volume="100" pan="0" lines="round" ternary="false" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAC99JREFUeAHt0DEBAAAAwqD1T20MH4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/gABHhb3AgAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><sprite name="Sprite" idx="1" x="0" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="8"><costumes><list struct="atomic" id="9"></list></costumes><sounds><list struct="atomic" id="10"></list></sounds><blocks></blocks><variables></variables><scripts></scripts></sprite><watcher var="player list" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><watcher var="A" style="normal" x="10" y="31.000001999999995" color="243,118,29" hidden="true"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="Number guessing game" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>scecret variable</l></list></block><block s="doSetVar"><l>script variable</l><block s="reportRandom"><l>1</l><l>10</l></block></block><block s="doUntil"><block s="reportEquals"><block s="getLastAnswer"></block><block var="scecret variable"/></block><script><block s="doAsk"><l>Guess my secret number.</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><block var="scecret variable"/></block><script><block s="doSayFor"><l>Thats too big. Try again.</l><l>2</l></block></script></block><block s="doSayFor"><l>Congratulations!</l><l>2</l></block></script></block-definition><block-definition s="greet player" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>what&apos;s your name?</l></block><block s="doIfElse"><block s="reportListContainsItem"><block var="player list"/><block s="getLastAnswer"></block></block><script><block s="doSayFor"><block s="reportJoinWords"><list><l>Nice to see you again,</l><block s="getLastAnswer"></block></list></block><l>2</l></block></script><script><block s="doAddToList"><block s="getLastAnswer"></block><block var="player list"/></block><block s="doSayFor"><block s="reportJoinWords"><list><l>hello </l><block s="getLastAnswer"></block><l>! Nice to meet you!</l></list></block><l>2</l></block></script></block></script></block-definition><block-definition s="Draw shape A" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs></block-definition><block-definition s="go to point %&apos;point&apos;" type="command" category="motion"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs></block-definition><block-definition s="point %&apos;x #&apos; %&apos;y #&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block var="x"/><block var="y"/></list></block></block></script></block-definition><block-definition s="x coordinate of point %&apos;point&apos;" type="reporter" category="looks"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="point"/></block></block></script></block-definition><block-definition s="y coordinate of point %&apos;point&apos;" type="reporter" category="looks"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="point"/></block></block></script></block-definition><block-definition s="Draw Shape A" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>A</l><block s="reportNewList"><list><block s="reportNewList"><list><l>-50</l><l>20</l></list></block><block s="reportNewList"><list><l>-10</l><l>120</l></list></block><block s="reportNewList"><list><l>10</l><l>120</l></list></block><block s="reportNewList"><list><l>50</l><l>20</l></list></block><block s="reportNewList"><list><l>30</l><l>20</l></list></block><block s="reportNewList"><list><l>20</l><l>50</l></list></block><block s="reportNewList"><list><l>-20</l><l>50</l></list></block><block s="reportNewList"><list><l>-30</l><l>20</l></list></block></list></block></block><block s="up"></block><custom-block s="for each %upvar of %l %cs"><l>item</l><block var="A"/><script><block s="gotoXY"><block s="reportListItem"><l>1</l><block var="item"/></block><block s="reportListItem"><l>2</l><block var="item"/></block></block><block s="down"></block></script></custom-block><block s="doSetVar"><l>point</l><block s="reportListItem"><l>1</l><block var="A"/></block></block><block s="gotoXY"><block s="reportListItem"><l>1</l><block var="point"/></block><block s="reportListItem"><l>2</l><block var="point"/></block></block></script><scripts><script x="22" y="292.2"><block s="gotoXY"><custom-block s="x coordinate of point %l"><custom-block s="point %s %s"><l>25</l><l>50</l></custom-block></custom-block><custom-block s="y coordinate of point %l"><custom-block s="point %s %s"><l>25</l><l>25</l></custom-block></custom-block></block></script></scripts></block-definition><block-definition s="Glide to Point %&apos;point&apos;" type="command" category="looks"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doGlide"><l>1</l><block s="reportListItem"><l>1</l><block var="point"/></block><block s="reportListItem"><l>2</l><block var="point"/></block></block></script></block-definition><block-definition s="Draw Letter %&apos;Letter&apos;" type="command" category="looks"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="up"></block><custom-block s="Glide to Point %s"><block s="reportListItem"><l>1</l><block var="Letter"/></block></custom-block><block s="down"></block><custom-block s="for each %upvar of %l %cs"><l>coordinate</l><block var="Letter"/><script><custom-block s="Glide to Point %s"><block var="coordinate"/></custom-block></script></custom-block><custom-block s="Glide to Point %s"><block s="reportListItem"><l>1</l><block var="Letter"/></block></custom-block></script></block-definition><block-definition s="Shift Draw Letter %&apos;Letter&apos; %&apos;Shift&apos;" type="command" category="looks"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="up"></block><custom-block s="Shift Glide to Point %s %s"><block s="reportListItem"><l>1</l><block var="Letter"/></block><block var="Shift"/></custom-block><block s="down"></block><custom-block s="for each %upvar of %l %cs"><l>point</l><block var="Letter"/><script><custom-block s="Shift Glide to Point %s %s"><block var="point"/><block var="Shift"/></custom-block></script></custom-block></script></block-definition><block-definition s="Glide to Shift Point %&apos;point&apos;" type="command" category="looks"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs></block-definition><block-definition s="Glide to Shift Point" type="command" category="looks"><header></header><code></code><translations></translations><inputs></inputs></block-definition><block-definition s="Shift Glide to Point %&apos;point&apos; %&apos;shift&apos;" type="command" category="looks"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doGlide"><l>.5</l><block s="reportSum"><block s="reportListItem"><l>1</l><block var="point"/></block><block var="shift"/></block><block s="reportListItem"><l>2</l><block var="point"/></block></block></script></block-definition><block-definition s="Shift Draw Letter %&apos;Letter&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="up"></block><custom-block s="Glide to Point %s"><block s="reportListItem"><l>1</l><block var="Letter"/></block></custom-block><block s="down"></block><custom-block s="for each %upvar of %l %cs"><l>coordinate</l><block var="Letter"/><script><custom-block s="Shift Glide to Point %s %s"><block var="coordinate"/><l>-100</l></custom-block></script></custom-block></script></block-definition><block-definition s="capturing points" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="setScale"><l>25</l></block><block s="doSetVar"><l>point list</l><block s="reportNewList"><list></list></block></block><block s="doBroadcast"><l>initialize stage</l></block><block s="clear"></block><block s="up"></block><block s="doUntil"><block s="reportKeyPressed"><l><option>space</option></l></block><script><block s="gotoXY"><block s="reportMouseX"></block><block s="reportMouseY"></block></block></script></block><block s="clear"></block><block s="setSize"><l>3</l></block><custom-block s="Draw Letter %s"><block var="point list"/></custom-block><block s="doWait"><l>1</l></block><block s="doBroadcast"><l>change stage</l></block></script></block-definition><block-definition s="Draw a Polygon %&apos;sides&apos; %&apos;length&apos;" type="command" category="looks"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><block var="sides"/><script><block s="forward"><block var="length"/></block><block s="turn"><block s="reportQuotient"><l>360</l><block var="sides"/></block></block></script></custom-block></script></block-definition><block-definition s="Draw Capture a Polygon %&apos;sides&apos; %&apos;length&apos;" type="command" category="looks"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><block var="sides"/><script><block s="doAddToList"><block s="reportNewList"><list><block s="xPosition"></block><block s="yPosition"></block></list></block><block var="polygon"/></block><block s="forward"><block var="length"/></block><block s="turn"><block s="reportQuotient"><l>360</l><block var="sides"/></block></block></script></custom-block></script></block-definition><block-definition s="Draw Diagonals %&apos;Vertex&apos; %&apos;position&apos;" type="command" category="looks"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="gotoXY"><block s="reportListItem"><l>1</l><block var="Vertex"/></block><block s="reportListItem"><l>2</l><block var="Vertex"/></block></block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><block s="reportSum"><block var="position"/><l>2</l></block><block var="sides"/><script><block s="gotoXY"><block s="reportListItem"><l>1</l><block s="reportListItem"><block var="i"/><block var="polygon"/></block></block><block s="reportListItem"><l>2</l><block s="reportListItem"><block var="i"/><block var="polygon"/></block></block></block><block s="gotoXY"><block s="reportListItem"><l>1</l><block var="Vertex"/></block><block s="reportListItem"><l>2</l><block var="Vertex"/></block></block></script></custom-block></script></block-definition><block-definition s="Draw Diagonals for Point %&apos;starting point&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><custom-block s="for each %upvar of %l %cs"><l>point</l><block var="polygon"/><script><block s="gotoXY"><custom-block s="xcoordinate of point %s"><block var="starting point"/></custom-block><custom-block s="ycoordinate of point %l"><block var="starting point"/></custom-block></block><block s="gotoXY"><custom-block s="xcoordinate of point %s"><block var="point"/></custom-block><custom-block s="ycoordinate of point %l"><block var="point"/></custom-block></block></script></custom-block></script></block-definition><block-definition s="xcoordinate of point %&apos;point&apos;" type="reporter" category="motion"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="point"/></block></block></script></block-definition><block-definition s="ycoordinate of point %&apos;point&apos;" type="reporter" category="motion"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>2</l><block var="point"/></block></block></script></block-definition><block-definition s="initialize lists" type="command" category="variables"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>words list</l><block s="reportURL"><l>bjc.edc.org/bjc-r/prog/2-complexity/word-puzzle-list.txt</l></block></block><block s="doSetVar"><l>words list</l><block s="reportTextSplit"><block var="words list"/><l><option>line</option></l></block></block><block s="doSetVar"><l>numbers list</l><block s="reportNewList"><list><l>189</l><l>29</l><l>55.7</l><l>-4.9</l><l>8901</l><l>-36.76</l><l>74.8</l><l>33</l><l>-9</l><l>60.3221</l><l>19</l><l>-222</l><l>41</l><l>155.8</l><l>37</l><l>-12</l><l>9.6</l><l>-0.33</l><l>2</l><l>21</l></list></block></block></script></block-definition><block-definition s="%&apos;number&apos; is between %&apos;low&apos; %&apos;high&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportAnd"><block s="reportGreaterThan"><block var="number"/><block var="low"/></block><block s="reportLessThan"><block var="number"/><block var="high"/></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;dividend&apos; divisible by %&apos;divisor&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportEquals"><block s="reportModulus"><block var="dividend"/><block var="divisor"/></block><l>0</l></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="is even %&apos;number&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportEquals"><block s="reportModulus"><block var="number"/><l>2</l></block><l>0</l></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="is integer %&apos;number&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportEquals"><block s="reportDifference"><block s="reportRound"><block var="number"/></block><block var="number"/></block><l>0</l></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="is odd %&apos;number&apos;" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportAnd"><custom-block s="is integer %s"><block var="number"/></custom-block><block s="reportNot"><block s="reportEquals"><block s="reportModulus"><block var="number"/><l>2</l></block><l>0</l></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="import words list" type="command" category="variables"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>words list</l><block s="reportURL"><l>bjc.edc.org/bjc-r/prog/2-complexity/word-puzzle-list.txt</l></block></block><block s="doSetVar"><l>words list</l><block s="reportTextSplit"><block var="words list"/><l><option>line</option></l></block></block></script></block-definition><block-definition s="last letters of %&apos;word&apos; are %&apos;letters&apos; ?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input><input type="%txt"></input></inputs><script><block s="doDeclareVariables"><list><l>lastLetters</l><l>numLastLetters</l><l>numFirstLetters</l></list></block><block s="doSetVar"><l>lastLetters</l><l></l></block><block s="doSetVar"><l>numLastLetters</l><block s="reportStringSize"><block var="letters"/></block></block><block s="doSetVar"><l>numFirstLetters</l><block s="reportDifference"><block s="reportStringSize"><block var="word"/></block><block var="numLastLetters"/></block></block><custom-block s="for %upvar = %n to %n %cs"><l>currentLetter</l><l>1</l><block var="numLastLetters"/><script><block s="doSetVar"><l>lastLetters</l><block s="reportJoinWords"><list><block var="lastLetters"/><block s="reportLetter"><block s="reportSum"><block var="numFirstLetters"/><block var="currentLetter"/></block><block var="word"/></block></list></block></block></script></custom-block><block s="doReport"><block s="reportIsIdentical"><block var="lastLetters"/><block var="letters"/></block></block></script></block-definition><block-definition s="does %&apos;word&apos; have %&apos;letter count&apos; letters?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%n"></input></inputs><script><block s="doReport"><block s="reportEquals"><block s="reportStringSize"><block var="word"/></block><block var="letter count"/></block></block></script></block-definition><block-definition s="is letter %&apos;number&apos; of %&apos;word&apos; the letter %&apos;letter&apos; ?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%txt"></input><input type="%txt"></input></inputs><script><block s="doReport"><block s="reportEquals"><block s="reportLetter"><block var="number"/><block var="word"/></block><block var="letter"/></block></block></script></block-definition><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="reportEquals"><block var="Color"/><l>0</l></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="reportProduct"><block s="reportDifference"><block var="j"/><l>1</l></block><block var="step"/></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="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>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>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>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>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>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>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></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><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>7</l><script><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></custom-block></script></block-definition><block-definition s="Escape Maze 3" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="Rotate Left"></custom-block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>3</l><script><custom-block s="Move Forward"></custom-block></script></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>3</l><script><custom-block s="Move Forward"></custom-block></script></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>4</l><script><custom-block s="Move Forward"></custom-block></script></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>4</l><script><custom-block s="Move Forward"></custom-block></script></custom-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 Left"></custom-block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>7</l><script><custom-block s="Move Forward"></custom-block></script></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>3</l><script><custom-block s="Move Forward"></custom-block></script></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>7</l><script><custom-block s="Move Forward"></custom-block></script></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>3</l><script><custom-block s="Move Forward"></custom-block></script></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>7</l><script><custom-block s="Move Forward"></custom-block></script></custom-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><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>7</l><script><custom-block s="Move Forward"></custom-block></script></custom-block><custom-block s="Rotate Right"></custom-block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>7</l><script><custom-block s="Move Forward"></custom-block></script></custom-block></script></block-definition><block-definition s="Escape Maze 4" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><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><custom-block s="for %upvar = %n to %n %cs"><l>j</l><l>2</l><l>3</l><script><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><block var="j"/><script><custom-block s="Move Forward"></custom-block></script></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><block var="j"/><script><custom-block s="Move Forward"></custom-block></script></custom-block><custom-block s="Rotate Right"></custom-block></script></custom-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 Your Maze" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs></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="Escape My Maze" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>3</l><script><custom-block s="Move Forward Two"></custom-block><custom-block s="Rotate Left"></custom-block><custom-block s="Move Forward Two"></custom-block><custom-block s="Rotate Right"></custom-block></script></custom-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="Move Forward Two" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>2</l><script><custom-block s="Move Forward"></custom-block></script></custom-block></script></block-definition><block-definition s="label %&apos;text&apos; of size %&apos;size&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">LABEL will stamp text on the stage at the given font size. The direction of the text is the direction the sprite is facing, and color will match the pen color.</comment><header></header><code></code><translations></translations><inputs><input type="%txt">Hello!</input><input type="%n">12</input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>text</l><l>size</l></list><l>var stage = this.parentThatIsA(StageMorph),&#xD;    context = stage.penTrails().getContext(&apos;2d&apos;),&#xD;    rotation = radians(this.direction() - 90),&#xD;    trans = new Point(&#xD;      this.center().x - stage.left(),&#xD;      this.center().y - stage.top()&#xD;    ),&#xD;    isWarped = this.Warped,&#xD;    len,&#xD;    pos;&#xD;&#xD;if (isWarped) {endWarp(); }&#xD;context.save();&#xD;context.font = size + &apos;px monospace&apos;;&#xD;context.textAlign = &apos;left&apos;;&#xD;context.textBaseline = &apos;alphabetic&apos;;&#xD;context.fillStyle = this.color.toString();&#xD;len = context.measureText(text).width;&#xD;trans = trans.multiplyBy(1 / stage.scale);&#xD;context.translate(trans.x, trans.y);&#xD;context.rotate(rotation);&#xD;context.fillText(text, 0, 0);&#xD;context.translate(-trans.x, -trans.y);&#xD;context.restore();&#xD;pos = new Point(&#xD;  len * Math.sin(radians(this.direction())),&#xD;  len * Math.cos(radians(this.direction())));&#xD;pos = pos.add(new Point(this.xPosition(), this.yPosition()));&#xD;this.gotoXY(pos.x, pos.y, false);&#xD;this.changed();&#xD;if (isWarped) {this.startWarp(); }&#xD;stage.changed();</l></block><list><block var="text"/><block var="size"/></list></block></script></block-definition><block-definition s="map %&apos;function&apos; over %&apos;lists&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%mult%l"></input></inputs><script><block s="doWarp"><script><block s="doDeclareVariables"><list><l>mapone</l><l>mapmany</l></list></block><block s="doSetVar"><l>mapone</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="evaluate"><block var="mapone"/><list><block s="reportCDR"><block var="data"/></block></list></block></block></block></script><list><l>data</l></list></block></block><block s="doSetVar"><l>mapmany</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportListItem"><l>1</l><block var="data lists"/></block></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportListItem"><l>1</l><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></block><block s="evaluate"><block var="mapmany"/><list><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportCDR"><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></list></block></block></block></script><list><l>data lists</l></list></block></block><block s="doIfElse"><custom-block s="empty? %l"><block s="reportCDR"><block var="lists"/></block></custom-block><script><block s="doReport"><block s="evaluate"><block var="mapone"/><list><block s="reportListItem"><l>1</l><block var="lists"/></block></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="mapmany"/><list><block var="lists"/></list></block></block></script></block></script></block></script></block-definition><block-definition s="empty? %&apos;data&apos;" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportEquals"><block var="data"/><block s="reportNewList"><list></list></block></block></block></script></block-definition><block-definition s="keep items such that %&apos;pred&apos; from %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%predRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doIfElse"><block s="evaluate"><block var="pred"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><script><block s="doReport"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></block></script><script><block s="doReport"><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></script></block></script></block></script></block-definition><block-definition s="combine with %&apos;function&apos; items of %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="data"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="data"/></block></block></script></block><block s="doReport"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="combine with %repRing items of %l"><block var="function"/><block s="reportCDR"><block var="data"/></block></custom-block></list></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; then %&apos;true&apos; else %&apos;false&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%b"></input><input type="%anyUE"></input><input type="%anyUE"></input></inputs><script><block s="doIfElse"><block var="test"/><script><block s="doReport"><block s="evaluate"><block var="true"/><list></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="false"/><list></list></block></block></script></block></script></block-definition><block-definition s="for %&apos;i&apos; = %&apos;start&apos; to %&apos;end&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%n">1</input><input type="%n">10</input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>step</l><l>tester</l></list></block><block s="doIfElse"><block s="reportGreaterThan"><block var="start"/><block var="end"/></block><script><block s="doSetVar"><l>step</l><l>-1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportLessThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script><script><block s="doSetVar"><l>step</l><l>1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportGreaterThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script></block><block s="doSetVar"><l>i</l><block var="start"/></block><block s="doUntil"><block s="evaluate"><block var="tester"/><list></list></block><script><block s="doRun"><block var="action"/><list></list></block><block s="doChangeVar"><l>i</l><block var="step"/></block></script></block></script></block-definition><block-definition s="join words %&apos;words&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%mult%txt"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="words"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="words"/></block></block></script></block><block s="doIf"><block s="reportEquals"><l></l><block s="reportListItem"><l>1</l><block var="words"/></block></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></block></script></block><block s="doIf"><block s="reportEquals"><l></l><block s="reportListItem"><l>2</l><block var="words"/></block></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="words"/></block><block s="reportCDR"><block s="reportCDR"><block var="words"/></block></block></block></custom-block></block></script></block><block s="doReport"><block s="reportJoinWords"><list><block s="reportListItem"><l>1</l><block var="words"/></block><l> </l><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></list></block></block></script></block></script><scripts><script x="229.000003" y="196.77778077777774"><block s="reportJoinWords"><list><l></l><l></l></list></block></script></scripts></block-definition><block-definition s="list $arrowRight sentence %&apos;data&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doReport"><custom-block s="join words %mult%txt"><block var="data"/></custom-block></block></script></block></script></block-definition><block-definition s="sentence $arrowRight list %&apos;text&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportTextSplit"><block var="text"/><l><option>whitespace</option></l></block></block></script></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%cs"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doRun"><block var="action"/><list></list></block></script><list><l>cont</l></list></block></block><custom-block s="ignore %s"><l>3</l></custom-block></script></block-definition><block-definition s="throw %&apos;cont&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input></inputs><script><block s="doRun"><block var="cont"/><list></list></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;value&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%anyUE"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doReport"><block s="evaluate"><block var="value"/><list></list></block></block></script><list><l>cont</l></list></block></block></script></block-definition><block-definition s="throw %&apos;tag&apos; %&apos;value&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input><input type="%s"></input></inputs><script><block s="doRun"><block var="tag"/><list><block var="value"/></list></block></script></block-definition><block-definition s="for each %&apos;item&apos; of %&apos;data&apos; %&apos;action&apos;" type="command" category="lists"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%l"></input><input type="%cs"></input></inputs><script><block s="doUntil"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doSetVar"><l>item</l><block s="reportListItem"><l>1</l><block var="data"/></block></block><block s="doRun"><block var="action"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="doSetVar"><l>data</l><block s="reportCDR"><block var="data"/></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; do %&apos;action&apos; and pause all $pause-1-255-220-0" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%boolUE"></input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>breakpoint</l></list></block><block s="doIf"><block s="evaluate"><block var="test"/><list></list></block><script><block s="doSetVar"><l>breakpoint</l><block var="test"/></block><block s="doShowVar"><l>breakpoint</l></block><block s="doRun"><block var="action"/><list></list></block><block s="doPauseAll"></block><block s="doHideVar"><l></l></block></script></block></script></block-definition><block-definition s="word $arrowRight list %&apos;word&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportTextSplit"><block var="word"/><l><option>letter</option></l></block></block></script></block></script></block-definition><block-definition s="ignore %&apos;x&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs></block-definition><block-definition s="tell %&apos;sprite&apos; to %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">Sprite</input><input type="%cs"></input></inputs><script><block s="doRun"><block s="reportAttributeOf"><block var="action"/><block var="sprite"/></block><list></list></block></script></block-definition><block-definition s="ask %&apos;sprite&apos; for %&apos;expression&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">Sprite</input><input type="%repRing"></input></inputs><script><block s="doReport"><block s="evaluate"><block s="reportAttributeOf"><block var="expression"/><block var="sprite"/></block><list></list></block></block></script></block-definition><block-definition s="list $arrowRight word %&apos;list&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportJoinWords"><block var="list"/></block></block></script></block></script></block-definition><block-definition s="nested triangle %&apos;size&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="changePenHSVA"><l><option>hue</option></l><l>10</l></block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>3</l><script><block s="forward"><block var="size"/></block><block s="doIf"><block s="reportGreaterThan"><block s="reportQuotient"><block var="size"/><l>2</l></block><l>10</l></block><script><custom-block s="nested triangle %s"><block s="reportQuotient"><block var="size"/><l>2</l></block></custom-block></script></block><block s="turn"><l>120</l></block></script></custom-block></script></block-definition><block-definition s="nested square %&apos;size&apos;" type="command" category="looks"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>4</l><script><block s="forward"><block var="size"/></block><block s="doIf"><block s="reportGreaterThan"><block s="reportQuotient"><block var="size"/><l>2</l></block><l>10</l></block><script><custom-block s="nested square %s"><block s="reportQuotient"><block var="size"/><l>2</l></block></custom-block></script></block><block s="turn"><l>90</l></block></script></custom-block></script></block-definition><block-definition s="animate nested square %&apos;size&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>3</l><script><block s="forward"><block var="size"/></block><block s="doIf"><block s="reportGreaterThan"><block s="reportQuotient"><block var="size"/><l>2</l></block><l>49</l></block><script><custom-block s="nested square %s"><block s="reportQuotient"><block var="size"/><l>2</l></block></custom-block></script></block><block s="turn"><l>90</l></block></script></custom-block></script></block-definition><block-definition s="animated nested triangle %&apos;size&apos; %&apos;level&apos; %&apos;degrees&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><l>3</l><script><block s="doIf"><block s="reportGreaterThan"><block var="level"/><l>1</l></block><script><block s="turn"><block var="degrees"/></block></script></block><block s="forward"><block var="size"/></block><block s="doIf"><block s="reportGreaterThan"><block s="reportQuotient"><block var="size"/><l>2</l></block><l>49</l></block><script><custom-block s="animated nested triangle %s %s %s"><block s="reportQuotient"><block var="size"/><l>2</l></block><block s="reportSum"><block var="level"/><l>1</l></block><block var="degrees"/></custom-block></script></block><block s="doIf"><block s="reportGreaterThan"><block var="level"/><l>1</l></block><script><block s="turnLeft"><block var="degrees"/></block></script></block><block s="turn"><l>120</l></block></script></custom-block></script><scripts><script x="195.64160356250008" y="283.3333353333334"><block s="reportAnd"><l/><l/></block></script><script x="206.33333433333337" y="263.46666766666675"><block s="turn"><l>15</l></block></script><script x="301.3333333333333" y="243.33333333333334"><block s="doIf"><l/><script></script></block></script></scripts></block-definition><block-definition s="nested square" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"></block><block s="up"></block><block s="gotoXY"><l>-50</l><l>-50</l><comment w="90" collapsed="false">Here is how you draw a &quot;nested&quot; square using recursion</comment></block><block s="setColor"><color>249,4,0,255</color></block><block s="down"></block><custom-block s="nested square %s"><l>100</l></custom-block></script></block-definition><block-definition s="nested triangle" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="clear"><comment w="90" collapsed="false">Here is how you draw a &quot;nested&quot; triangle using recursion.</comment></block><block s="up"></block><block s="gotoXY"><l>0</l><l>-50</l></block><block s="setHeading"><l>0</l></block><block s="setColor"><color>249,4,0,255</color></block><block s="down"></block><custom-block s="nested triangle %s"><l>100</l></custom-block></script></block-definition><block-definition s="build a brick %&apos;length&apos; %&apos;width&apos;" type="command" category="motion"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="down"></block><block s="setColor"><color>145,26,68,1</color></block><block s="setSize"><block var="width"/></block><block s="forward"><block var="length"/></block><block s="up"></block></script></block-definition><block-definition s="build half a brick %&apos;length&apos;" type="command" category="motion"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="down"></block><block s="setColor"><color>145,26,68,1</color></block><block s="setSize"><l>10</l></block><block s="forward"><l>15</l></block><block s="up"></block></script></block-definition><block-definition s="Build Row A %&apos;num&apos; %&apos;length&apos; %&apos;width&apos; %&apos;gap&apos;" type="command" category="motion"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doRepeat"><block var="num"/><script><custom-block s="build a brick %s %s"><block var="length"/><block var="width"/></custom-block><block s="forward"><block var="gap"/></block></script></block></script></block-definition><block-definition s="Build Row B" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs></block-definition><block-definition s="build brick wall size" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs></block-definition><block-definition s="Build Row B %&apos;num&apos; %&apos;length&apos; %&apos;width&apos; %&apos;gap&apos;" type="command" category="motion"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>total a</l><l>total b</l><l>remaining b</l><l>first brick</l></list></block><block s="doSetVar"><l>first brick</l><block s="reportDifference"><block s="reportQuotient"><block var="length"/><l>2</l></block><block s="reportQuotient"><block var="gap"/><l>2</l><comment w="90" collapsed="false">Place middle of gap for row b directly under middle of 1st brick above it</comment></block></block></block><custom-block s="build a brick %s %s"><block var="first brick"/><block var="width"/></custom-block><block s="forward"><block var="gap"/></block><block s="doRepeat"><block s="reportDifference"><block var="num"/><l>1</l></block><script><custom-block s="build a brick %s %s"><block var="length"/><block var="width"/></custom-block><block s="forward"><block var="gap"/></block></script></block><block s="doSetVar"><l>total a</l><block s="reportSum"><block s="reportProduct"><block var="num"/><block var="length"/></block><block s="reportProduct"><block s="reportDifference"><block var="num"/><l>1</l></block><block var="gap"/></block><comment w="90" collapsed="false">determine lngth of final brick</comment></block></block><block s="doSetVar"><l>total b</l><block s="reportSum"><block s="reportSum"><block var="first brick"/><block s="reportProduct"><block s="reportDifference"><block var="num"/><l>1</l></block><block var="length"/></block></block><block s="reportProduct"><block var="num"/><block var="gap"/></block></block></block><block s="doSetVar"><l>remaining b</l><block s="reportDifference"><block var="total a"/><block var="total b"/></block></block><custom-block s="build a brick %s %s"><block var="remaining b"/><block var="width"/></custom-block></script></block-definition><block-definition s="build bricks with %&apos;num&apos; rows" type="command" category="motion"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="gotoXY"><l>-100</l><l>-100</l></block><block s="doRepeat"><block var="num"/><script><custom-block s="Build Row A %s %s %s %s"><block var="num"/><l></l><l></l><l></l></custom-block><block s="changeXPosition"><l></l></block><block s="changeYPosition"><l></l></block><custom-block s="Build Row B %s %s %s %s"><block var="num"/><l></l><l></l><l></l></custom-block><block s="changeXPosition"><l></l></block><block s="changeYPosition"><l></l></block></script></block></script></block-definition><block-definition s="make a wall with %&apos;rows&apos; rows %&apos;cols&apos; columns ; brick size %&apos;length&apos; length %&apos;width&apos; width %&apos;gap&apos; and gap" type="command" category="motion"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="clear"></block><block s="doSetVar"><l>x start</l><block s="xPosition"></block></block><block s="doRepeat"><block s="reportQuotient"><block var="rows"/><l>2</l></block><script><custom-block s="Build Row A %s %s %s %s"><block var="cols"/><block var="length"/><block var="width"/><block var="gap"/></custom-block><block s="setXPosition"><block var="x start"/></block><block s="changeYPosition"><block s="reportProduct"><l>-2</l><block var="width"/></block></block><custom-block s="Build Row B %s %s %s %s"><block var="cols"/><block var="length"/><block var="width"/><block var="gap"/></custom-block><block s="setXPosition"><block var="x start"/></block><block s="changeYPosition"><block s="reportProduct"><l>-2</l><block var="width"/></block></block></script></block><block s="doIf"><block s="reportNot"><block s="reportEquals"><block s="reportModulus"><block var="rows"/><l>2</l></block><l>0</l></block></block><script><custom-block s="Build Row A %s %s %s %s"><block var="cols"/><block var="length"/><block var="width"/><block var="gap"/></custom-block></script></block></script></block-definition><block-definition s="positive negative" type="predicate" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><l></l></block></script></block-definition><block-definition s="positive negative %&apos;a&apos; %&apos;b&apos; %&apos;negative&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportEquals"><block var="negative"/><block s="reportBoolean"><l><bool>true</bool></l></block></block><script><block s="doIf"><block s="reportAnd"><block s="reportLessThan"><block var="a"/><l>0</l></block><block s="reportLessThan"><block var="b"/><l>0</l></block></block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script><script><block s="doIf"><block s="reportOr"><block s="reportAnd"><block s="reportLessThan"><block var="a"/><l>0</l></block><block s="reportGreaterThan"><block var="b"/><l>0</l></block></block><block s="reportAnd"><block s="reportLessThan"><block var="b"/><l>0</l></block><block s="reportGreaterThan"><block var="a"/><l>0</l></block></block></block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script></block-definition><block-definition s="Brick Wall" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="gotoXY"><l>-220</l><l>140</l></block><custom-block s="make a wall with %s rows %s columns ; brick size %s length %s width %s and gap"><l>13</l><l>5</l><l>44</l><l>10</l><l>8</l></custom-block></script></block-definition></blocks><variables><variable name="player list"><l>0</l></variable><variable name="A"><l>0</l></variable></variables></project><media name="Unit 2 Test" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>