<snapdata remixID="8989572"><project name="U3L4-BrickWall" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMPSURBVHhe7dvBq0xhHMfhl4skCwsWlLIjbGxu1uKW7JXyB1iysFSUHeUPUEopZaMoih11lY3NlQ01C0kpsXBvk7kXY4YRs3g7c5pvjefZ6CxOv82n8575HXfdtx8KhKwf/gsRAiRKgEQJkCgBEiVAogRIlACJEiBRAiRKgEQJkCgBEiVAogRIVKP/D/ju+VL51Hk3vJrcrvmDZdueXcOrATPGm7UZjQJ8fO5KeXXn0fBqckevnS/7Ty4MrwbMGG/WZjiCiRIgUf4mhChPQKIESJQAiRIgUa3tAe3A6pkxutcTkCgBEtXat2DfQeuZMbrXIpooRzBRAiRKgEQ1egd8efvhz5fNthw4dfznS+mfzBhv1ma0toiehMVsvVmb4QgmyhFsxj+mOcMekChHMFECJEqARDV6B+y/jP79wbn/Qukjfh0zRve2tge0A6tnxuheRzBRAiTKHpAoT0CiBEiUAIkSIFGt7QEnYS9Wb9ZmeAISJUCiWvsWPAnfRuvN2gyLaKIcwUQJkCgBEtXoHXDcX0j5i7B6ZozubW0RbQlbz4zRvY5gohzBfzGj3iQzft1rD0iUI5goARIlQKIavQP2XzJ9YP+XGfV+zWhtDzgJe7F6szbDEUyUAImyByTKE5AoARIlQKIESFRre0A7sHpmjO71BCRKgExN79ta+dBbHl4NtPYt2HfQev/rjH5qX9dWy6a5Db/vtYgmyhFMlCcgU7W4uFiePVsq84dPlx3bNwqQ6VpZWSkXLr0p9x8cKFu3fm0WoL8SG8+MOh+7a+Xm64Xy5v2hZgFazI5nRr2dZ86Wq49O+BFCxsa5uR+/QBr+CHGsjGdGnc/d1XKrc6S8ejvvRwjT1e2WcvHyl3L33payefOqAJmuJ09flOs3tpeFY7vLvr1dAZLlRwhRAmRq+odtr9cbXg0IkKlZXl4unU5neDXgHZAoT0CiBEiUAIkSIFECJEqARAmQKAESJUCiBEiUAIkSIFECJEqARAmQKAESJUCiBEiUAIkSIFECJEqARAmQKAESJUCiBEhQKd8Bqfz15KSm788AAAAASUVORK5CYII=</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" volume="100" pan="0" lines="flat" ternary="true" codify="false" inheritance="false" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAR9SURBVHhe7d2xkatQEEVBsWEQD/kQC/kQD2nw1xhTVYzQ1r9QdDvveUgX45i8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/sxQ52Ut47TX9RHmbT39TmzVZ6s+W/XZqs9Wr9dPnQDAfyTAABAgwAAQIMAAECDAABAgwAAQIMAAECDAABAgwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcGyo87KWcdrr+rF5W0//v2+ee0e26rNVn636bNV3x63e/WYf5AeAAAEGgAABBoAAAQaAAAEGgAABBoAAAQaAAAEGgAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAY0Odl7WM017XR5i39fQ7sVWfrfps1WerPlv5ID8ARAgwAAQIMAAECDAABAgwAAQIMAAECDAABAgwAAQIMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHBvqvKxlnPa6fmze1tP/75vn3pGt+mzVZ6s+W/Xdcat3v9kH+QEgQIABIECAASBAgAEgQIABIECAASBAgAEgQIABIECAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADg2FDnZS3jtNf1EeZtPf1ObNVnqz5b9dmqz1Y+yA8AEQIMAAECDAABAgwAAQIMAAECDAABAgwAAQIMAAECDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAx4Y6L2sZp72uH5u39fT/++a5d2SrPlv12arPVn133Ordb/ZBfgAIEGAACBBgAAgQYAAIEGAACBBgAAgQYAAIEGAACBBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4NtR5Wcs47XV9hHlbT78TW/XZqs9Wfbbqs5UP8gNAhAADQIAAA0CAAANAgAADQIAAA0CAAANAgAADQIAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAsaHOy1rGaa/rx+ZtPf3/vnnuHdmqz1Z9tuqzVd8dt3r3m32QHwACBBgAAgQYAAIEGAACBBgAAgQYAAIEGAACBBgAAgQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACODXVe1jJOe10fYd7W0+/EVn226rNVn636bOWD/AAQIcAAECDAABAgwAAQIMAAECDAABAgwAAQIMAAECDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMCv1+sfftvorC3iWewAAAAASUVORK5CYII=</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="Maze" idx="2" x="160" y="-80" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="1" color="255,255,255,1" pen="tip" id="8"><costumes><list id="9"><item><costume name="Untitled" center-x="240" center-y="180" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAK1SURBVHhe7cExAQAAAMKg9U9tDB8gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgIsajf4AAXBXLv8AAAAASUVORK5CYII=" id="10"/></item></list></costumes><sounds><list struct="atomic" id="11"></list></sounds><blocks></blocks><variables></variables><scripts></scripts></sprite><sprite name="Robot" idx="1" x="250.1052631578948" y="-75.10526315789468" heading="90" scale="1.4" volume="100" pan="0" rotation="1" draggable="true" costume="1" color="145,26,68,1" pen="middle" id="15"><costumes><list id="16"><item><costume name="arrow" center-x="16" center-y="16" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFMSURBVFhHYwCC/yBigMBA2j0KRsEoQAKxsbH/DQwM/iclJf1fsWIFXfMmI5Rm0NTU/K+urs5w7e56qAgETOjczuDl5QVXR22AYrCa7n+Cvr91mZGqjmGC0mAwtW8PlIUbgBwJw729vRRHF4Zvenp6/s9aWAzlkQZK8+YwpKamkhRCWBUnJyf/P3xqDpRHPmiqXskQERGB10E4JYlJD6SC/o5tDN7e3ih24nUdLRzByWTAwMbGxhAdHc1QUFDAiJII6QH+/PnDwAjMSP+hfqNrFGArU7A6IDEx8f/RM/OgPPJBc80qhvDwcLzRjCFJSTYsy5/LkJKSgtdCdICieOfOnf9zS9ygPMIgM2kCQ2FhIUkWogMUzcTEO7WLYrhhuCyf3LOLwd3dnaqWIgOwwaDq+OrVqwxffp8FC1Lbl6NgFIyCQQ+oXusRDxj+AwB3G207jmiI4wAAAABJRU5ErkJggg==" id="17"/></item></list></costumes><sounds><list struct="atomic" id="18"></list></sounds><blocks></blocks><variables></variables><scripts><script x="195" y="175"><block s="setHeading"><l>90</l></block></script><script x="147" y="43"><block s="receiveKey"><l><option>space</option></l></block><block s="gotoXY"><l>-200</l><l>125</l></block><block s="clear"></block></script><script x="131" y="11"><block s="setColor"><color>145,26,68,1</color></block></script><script x="115" y="203"><block s="down"></block></script><script x="10" y="403"><custom-block s="draw brick wall with %s rows and %s bricks per row, brick length: %s brick width %s gap distance: %s"><l>9</l><l>6</l><l>60</l><l>10</l><l>15</l></custom-block></script></scripts></sprite><watcher var="step" style="normal" x="9.687500000000227" y="9.687500000000007" color="243,118,29" hidden="true"/><watcher var="board matrix" style="normal" x="10" y="10" color="243,118,29" hidden="true"/></sprites></stage><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"><l>140</l><l>-140</l></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="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="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="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 1" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><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></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="Draw YOUR Maze!" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>board matrix</l><block s="reportNewList"><list><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>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>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>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>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>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>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>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>0</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></list></block></block><custom-block s="Draw Board %l"><block var="board matrix"/></custom-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="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>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><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>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><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></script></block-definition><block-definition s="Draw Empty Grid" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><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>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>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>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>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>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>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>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></script></block-definition><block-definition s="draw brick with length: %&apos;length&apos; width: %&apos;width&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="setColor"><color>145,26,68,1</color></block><block s="doSetGlobalFlag"><l><option>flat line ends</option></l><l><bool>true</bool></l></block><block s="setSize"><block var="width"/></block><block s="down"></block><block s="forward"><block var="length"/></block><block s="up"></block></script></block-definition><block-definition s="draw row A bricks per row %&apos;bricks&apos; , brick length: %&apos;length&apos; brick width: %&apos;width&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doRepeat"><block var="bricks"/><script><custom-block s="draw brick with length: %s width: %s"><block var="length"/><block var="width"/></custom-block><block s="forward"><l>10</l></block></script></block></script></block-definition><block-definition s="draw row B bricks per row %&apos;bricks&apos; brick length: %&apos;length&apos; brick width: %&apos;width&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">Nabila/ Theodor </comment><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><custom-block s="draw brick with length: %s width: %s"><block s="reportDifference"><block s="reportQuotient"><block var="length"/><l>2</l></block><l>10</l></block><block var="width"/></custom-block><block s="forward"><l>10</l></block><block s="doRepeat"><block s="reportDifference"><block var="bricks"/><l>1</l></block><script><custom-block s="draw brick with length: %s width: %s"><block var="length"/><block var="width"/></custom-block><block s="forward"><l>10</l></block></script></block><custom-block s="draw brick with length: %s width: %s"><block s="reportDifference"><block s="reportQuotient"><block var="length"/><l>2</l></block><l>10</l></block><block var="width"/></custom-block></script></block-definition><block-definition s="draw brick wall with %&apos;rows&apos; rows and %&apos;bricks&apos; bricks per row, brick length: %&apos;length&apos; brick width %&apos;width&apos; gap distance: %&apos;gap&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">Theodor/Nabila</comment><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="doIfElse"><block s="reportEquals"><block s="reportModulus"><block var="rows"/><l>2</l></block><l>0</l></block><script><block s="doRepeat"><block s="reportQuotient"><block var="rows"/><l>2</l></block><script><block s="doRepeat"><block var="bricks"/><script><custom-block s="draw brick with length: %s width: %s"><block var="length"/><block var="width"/></custom-block><block s="forward"><block var="gap"/></block></script></block><block s="changeXPosition"><block s="reportProduct"><l>-1</l><block s="reportProduct"><block var="bricks"/><block s="reportSum"><block var="length"/><block var="gap"/></block></block></block></block><block s="changeYPosition"><block s="reportProduct"><l>-1</l><block s="reportSum"><block var="width"/><block var="gap"/></block></block></block><custom-block s="draw brick with length: %s width: %s"><block s="reportDifference"><block s="reportQuotient"><block var="length"/><l>2</l></block><block var="gap"/></block><block var="width"/></custom-block><block s="forward"><block var="gap"/></block><block s="doRepeat"><block s="reportDifference"><block var="bricks"/><l>1</l></block><script><custom-block s="draw brick with length: %s width: %s"><block var="length"/><block var="width"/></custom-block><block s="forward"><block var="gap"/></block></script></block><custom-block s="draw brick with length: %s width: %s"><block s="reportQuotient"><block var="length"/><l>2</l></block><block var="width"/></custom-block><block s="forward"><block var="gap"/></block><block s="changeXPosition"><block s="reportProduct"><l>-1</l><block s="reportProduct"><block var="bricks"/><block s="reportSum"><block var="length"/><block var="gap"/></block></block></block></block><block s="changeYPosition"><block s="reportProduct"><l>-1</l><block s="reportSum"><block var="width"/><block var="gap"/></block></block></block></script></block></script><script><block s="doRepeat"><block s="reportQuotient"><block s="reportDifference"><block var="rows"/><l>1</l></block><l>2</l></block><script><block s="doRepeat"><block var="bricks"/><script><custom-block s="draw brick with length: %s width: %s"><block var="length"/><block var="width"/></custom-block><block s="forward"><block var="gap"/></block></script></block><block s="changeXPosition"><block s="reportProduct"><l>-1</l><block s="reportProduct"><block var="bricks"/><block s="reportSum"><block var="length"/><block var="gap"/></block></block></block></block><block s="changeYPosition"><block s="reportProduct"><l>-1</l><block s="reportSum"><block var="width"/><block var="gap"/></block></block></block><custom-block s="draw brick with length: %s width: %s"><block s="reportDifference"><block s="reportQuotient"><block var="length"/><l>2</l></block><block var="gap"/></block><block var="width"/></custom-block><block s="forward"><block var="gap"/></block><block s="doRepeat"><block s="reportDifference"><block var="bricks"/><l>1</l></block><script><custom-block s="draw brick with length: %s width: %s"><block var="length"/><block var="width"/></custom-block><block s="forward"><block var="gap"/></block></script></block><custom-block s="draw brick with length: %s width: %s"><block s="reportQuotient"><block var="length"/><l>2</l></block><block var="width"/></custom-block><block s="forward"><block var="gap"/></block><block s="changeXPosition"><block s="reportProduct"><l>-1</l><block s="reportProduct"><block var="bricks"/><block s="reportSum"><block var="length"/><block var="gap"/></block></block></block></block><block s="changeYPosition"><block s="reportProduct"><l>-1</l><block s="reportSum"><block var="width"/><block var="gap"/></block></block></block></script></block><block s="doRepeat"><block var="bricks"/><script><custom-block s="draw brick with length: %s width: %s"><block var="length"/><block var="width"/></custom-block><block s="forward"><block var="gap"/></block></script></block></script></block></script></block-definition></blocks><variables><variable name="step"><l>40</l></variable><variable name="board matrix"><list id="1216"><item><list struct="atomic" id="1217">1,1,1,1,1,0,0,0</list></item><item><list struct="atomic" id="1218">0,0,0,0,1,1,1,1</list></item><item><list struct="atomic" id="1219">0,0,0,0,0,0,0,1</list></item><item><list struct="atomic" id="1220">0,0,0,0,0,0,0,1</list></item><item><list struct="atomic" id="1221">0,0,0,0,1,1,1,1</list></item><item><list struct="atomic" id="1222">0,0,0,0,1,0,0,0</list></item><item><list struct="atomic" id="1223">0,0,0,0,1,0,0,0</list></item><item><list struct="atomic" id="1224">0,0,0,0,1,1,1,1</list></item></list></variable></variables></project><media name="U3L4-BrickWall" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>