<snapdata remixID="9895290"><project name="U2L4-brickwall" app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAoKADAAQAAAABAAAAeAAAAAAeaS0RAAAEG0lEQVR4Ae3ZsWpVTRSG4Yl6JEUsLCXNuQab4AXYBBtB0CimsFCrFOY6bLRKG6/AxsY6gpdgYaeFCCKIHMUihgMDyZCV5cqs7VfMm+b82Xv+WfjwsvcZsnJ49FP4QUAkcEE0l7EILAUIkBCkAgQo5Wc4AdKAVIAApfwMJ0AakAoQoJSf4QRIA1IBApTyM5wAaUAqQIBSfoYTIA1IBQhQys9wAqQBqQABSvkZToA0IBUgQCk/wwmQBqQCBCjlZzgB0oBUgACl/AwnQBqQChCglJ/hBEgDUgEClPIznABpQCpAgFJ+hhMgDUgFCFDKz3ACpAGpAAFK+RlOgDQgFSBAKT/DCZAGpAIEKOVnOAHSgFSAAKX8DCdAGpAKEKCUn+EESANSAQKU8jOcAGlAKkCAUn6GEyANSAUIUMrPcAKkAakAAUr5GU6ANCAVIEApP8MJkAakAgQo5Wc4AdKAVIAApfwMJ0AakAoQoJSf4QRIA1IBApTyM/wSBH0C75/v/9MGG7vby3WjrfdwVg6PfrxF3LcFXqzftG8eu7Pz+e3yt9HWHyM49T95BZ/KwsX/JcAruFN649nD0A6jrfdweAV7QtyfVIAnYCdve6gY9bBhOXi8PAE9Ied+e6gY9bBhOTh8hUOIJ8T9SQV4BXfyWocK67o1brT11YFXcJXgUyLAE7CTvf3ybW036uHE8qjXeQJWiXN+tl++rW1GPZxYHvU6h5AqwadEgFdwJ/toh4fov9fj5RXsCXF/UgGegJ287SFk1MOG5eDx8gT0hJz77SFk1MOG5eDw8ZcQD4j70wrwCu70tb6UW9etcaOtrw68gqsEnxIBnoCd7O2Xb2u7UQ8nlke9zhOwSpzzs/3ybW0z6uHE8qjX+UtIleBTIsAruJN9tMND9N/r8fIK9oS4P6kAT8BO3vYQMuphw3LweHkCekLO/fYQMuphw3Jw+PhLiAfE/WkFeAV3+lpfyq3r1rjR1lcHXsFVovl8s/eq/Pr+o1y/u1nm83lzl1+zBAjQkFwsFuXlja2y+vVn+fD7W7n1dLt8uXqxPNh5UmazmfF/cTkqQIBniL07OCivb++W9dmVE6s+rv0pW48flU/XLpc79++duMcvMQH+EhLzYnWyAE9AA5RXsAGTfJkADVAOIQZM8mUCTAZlu5gA3wFjXqxOFiDAZFC2iwkQYMyL1ckCBJgMynYxAQKMebE6WYAAk0HZLiZAgDEvVicLEGAyKNvFBAgw5sXqZAECTAZlu5gAAca8WJ0sQIDJoGwXEyDAmBerkwUIMBmU7WICBBjzYnWyAAEmg7JdTIAAY16sThYgwGRQtosJEGDMi9XJAgSYDMp2MQECjHmxOlmAAJNB2S4mQIAxL1YnCxBgMijbxQQIMObF6mQBAkwGZbuYwF/scIeof/eB8AAAAABJRU5ErkJggg==</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" penlog="false" volume="100" pan="0" lines="flat" ternary="true" hyperops="true" codify="false" inheritance="false" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAB4KADAAQAAAABAAABaAAAAAAHwbojAAANXUlEQVR4Ae3dwVECQRAFUDQM4zEfYzEf4zENPXCiYLam5zdjgc+bMr+XfaL/tNWnky8CBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIPDvBV7+vQAAAg8s8Pn2/vMXb//j++vm/w7v5/zb4HP8qXwUn+O7yF99zUeYQIAAAQIECFQFFHBVzHkCBAgQINAgoIAbEI0gQIAAAQJVAQVcFXOeAAECBAg0CCjgBkQjCBAgQIBAVUABV8WcJ0CAAAECDQIKuAHRCAIECBAgUBVQwFUx5wkQIECAQIOAAm5ANIIAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAgY0CN1eKbby+SxEgEAhU1/89yhq46n0FhBdRPhccV988q8/ovq4Amn/gMaRmUOMIECBAgMCMgAKeUXKGAAECBAg0CyjgZlDjCBAgQIDAjIACnlFyhgABAgQINAso4GZQ4wgQIECAwIyAAp5RcoYAAQIECDQLKOBmUOMIECBAgMCMgAKeUXKGAAECBAg0CyjgZlDjCBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBC4s4B1hHcGNp7APQWs7TvrjtbJ8eEz8/c3+vzMZJMzHkNK9GQJECBAgMCigAJehBMjQIAAAQKJgAJO9GQJECBAgMCigAJehBMjQIAAAQKJgAJO9GQJECBAgMCigAJehBMjQIAAAQKJgAJO9GQJECBAgMCigAJehBMjQIAAAQKJgAJO9GQJECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIENgvYB3hfnNXJNAmUF23N1q7Vp3TdQPez7Eknz0+I+fjq+evegwpNzSBAAECBAiUBRRwmUyAAAECBAjkAgo4NzSBAAECBAiUBRRwmUyAAAECBAjkAgo4NzSBAAECBAiUBRRwmUyAAAECBAjkAgo4NzSBAAECBAiUBRRwmUyAAAECBAjkAgo4NzSBAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAIGdAtYR7tR2LQLNAtYInkFH6+T48Jn5kxt9fmayyRmPISV6sgQIECBAYFFAAS/CiREgQIAAgURAASd6sgQIECBAYFFAAS/CiREgQIAAgURAASd6sgQIECBAYFFAAS/CiREgQIAAgURAASd6sgQIECBAYFFAAS/CiREgQIAAgURAASd6sgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQI7BewjnC/uSsSaBOortsbrV2rzum6Ae/nWJLPHp+R8/HV81c9hpQbmkCAAAECBMoCCrhMJkCAAAECBHIBBZwbmkCAAAECBMoCCrhMJkCAAAECBHIBBZwbmkCAAAECBMoCCrhMJkCAAAECBHIBBZwbmkCAAAECBMoCCrhMJkCAAAECBHIBBZwbmkCAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBJ5C4BfNs5xzFpQGUgAAAABJRU5ErkJggg==</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="-90" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="145,26,68,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><script x="16" y="10"><block s="gotoXY"><l>0</l><l>0</l></block><block s="clear"></block></script><script x="83" y="49.66666666666666"><custom-block s="draw brick wall with %s rows"><l>6</l></custom-block></script></scripts></sprite></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="set flag %&apos;which&apos; to %&apos;tf&apos;" type="command" category="sensing"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>Presentation mode&#xD;Retina display support&#xD;Long form input dialog&#xD;Plain prototype labels&#xD;Input sliders&#xD;Execute on slider change&#xD;Clicking sound&#xD;Turbo mode&#xD;Flat design&#xD;Keyboard editing&#xD;Table support&#xD;Table lines&#xD;Visible stepping&#xD;Thread safe scripts&#xD;Prefer smooth animations&#xD;Flat line ends&#xD;Codification support&#xD;Inheritance support</options></input><input type="%b"></input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>which</l><l>tf</l></list><l>var   stage = this.parentThatIsA(StageMorph),&#xD;        ide = stage.parentThatIsA(IDE_Morph),&#xD;        world = stage.parentThatIsA(WorldMorph);&#xD;&#xD;if (tf != !!tf) return;&#xD;&#xD;try{&#xD;ide.savingPreferences = false;&#xD;&#xD;switch (which) {&#xD;    case &apos;Presentation mode&apos;:&#xD;        if (tf != ide.isAppMode) ide.toggleAppMode();&#xD;        break;&#xD;    case &apos;Retina display support&apos;:&#xD;        if (tf != isRetinaEnabled()) ide.toggleRetina();&#xD;        break;&#xD;    case &apos;Long form input dialog&apos;:&#xD;        if (tf != InputSlotDialogMorph.prototype.isLaunchingExpanded)&#xD;            ide.toggleLongFormInputDialog();&#xD;        break;&#xD;    case &apos;Plain prototype labels&apos;:&#xD;        if (tf != BlockLabelPlaceHolderMorph.prototype.plainLabel)&#xD;            ide.togglePlainPrototypeLabels();&#xD;        break;&#xD;    case &apos;Input sliders&apos;:&#xD;        MorphicPreferences.useSliderForInput = tf;&#xD;        break;&#xD;    case &apos;Execute on slider change&apos;:&#xD;        ArgMorph.prototype.executeOnSliderEdit = tf;&#xD;        break;&#xD;    case &apos;Clicking sound&apos;:&#xD;        if (tf != !!BlockMorph.prototype.snapSound)&#xD;            BlockMorph.prototype.toggleSnapSound();&#xD;        break;&#xD;    case &apos;Turbo mode&apos;:&#xD;        if (tf != stage.isFastTracked)&#xD;            ide.toggleFastTracking();&#xD;        break;&#xD;    case &apos;Flat design&apos;:&#xD;        if (tf == MorphicPreferences.isFlat) break;&#xD;        if (tf)&#xD;            ide.flatDesign();&#xD;        else&#xD;            ide.defaultDesign();&#xD;        break;&#xD;    case &apos;Keyboard editing&apos;:&#xD;            ScriptsMorph.prototype.enableKeyboard = tf;&#xD;        break;&#xD;    case &apos;Table support&apos;:&#xD;            List.prototype.enableTables = tf;&#xD;        break;&#xD;    case &apos;Table lines&apos;:&#xD;                TableMorph.prototype.highContrast = tf;&#xD;        break;&#xD;    case &apos;Visible stepping&apos;:&#xD;        if (tf != Process.prototype.enableSingleStepping)&#xD;            ide.toggleSingleStepping();&#xD;        break;&#xD;    case &apos;Thread safe scripts&apos;:&#xD;        stage.isThreadSafe = tf;&#xD;        break;&#xD;    case &apos;Prefer smooth animations&apos;:&#xD;        if (tf != (StageMorph.prototype.frameRate &gt; 0))&#xD;            ide.toggleVariableFrameRate();&#xD;        break;&#xD;    case &apos;Flat line ends&apos;:&#xD;        SpriteMorph.prototype.useFlatLineEnds = tf;&#xD;        break;&#xD;    case &apos;Codification support&apos;:&#xD;        if (tf != StageMorph.prototype.enableCodeMapping) {&#xD;            StageMorph.prototype.enableCodeMapping = tf;&#xD;            ide.currentSprite.blocksCache.variables = null;&#xD;            ide.currentSprite.paletteCache.variables = null;&#xD;            ide.refreshPalette();&#xD;        }&#xD;        break;&#xD;    case &apos;Inheritance support&apos;:&#xD;        if (tf != StageMorph.prototype.enableInheritance) {&#xD;            StageMorph.prototype.enableInheritance = tf;&#xD;            ide.currentSprite.blocksCache.variables = null;&#xD;            ide.currentSprite.paletteCache.variables = null;&#xD;            ide.refreshPalette();&#xD;        }&#xD;        break;&#xD;};&#xD;}&#xD;finally {&#xD;ide.savingPreferences = false;&#xD;};&#xD;</l></block><list><block var="which"/><block var="tf"/></list></block></script></block-definition><block-definition s="draw brick, length: %&apos;length&apos; width: %&apos;width&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></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="set flat line ends to %&apos;flag&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%b"></input></inputs><script><custom-block s="set flag %s to %b"><l>Flat line ends</l><block var="flag"/></custom-block></script></block-definition><block-definition s="row a" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRepeat"><l>6</l><script><custom-block s="draw brick, length: %n width: %n"><l>30</l><l>10</l></custom-block><block s="forward"><l>6</l></block></script></block></script></block-definition><block-definition s="row b" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><block s="forward"><l>6</l></block><custom-block s="draw brick, length: %n width: %n"><l>12</l><l>10</l></custom-block><block s="forward"><l>6</l></block><block s="doRepeat"><l>5</l><script><custom-block s="draw brick, length: %n width: %n"><l>30</l><l>10</l></custom-block><block s="forward"><l>6</l></block></script></block><custom-block s="draw brick, length: %n width: %n"><l>12</l><l>10</l></custom-block></script></block-definition><block-definition s="even? %&apos;number&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="doReport"><block s="reportEquals"><block s="reportModulus"><block var="number"/><l>2</l></block><l>0</l></block></block></script></block-definition><block-definition s="draw brick wall with %&apos;rows&apos; rows" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doFor"><l>i</l><l>1</l><block var="rows"/><script><block s="doIfElse"><custom-block s="even? %n"><block var="i"/></custom-block><script><custom-block s="row b"></custom-block><block s="turnLeft"><l>180</l></block><block s="changeYPosition"><l>-15</l></block></script><script><custom-block s="row a"></custom-block><block s="turnLeft"><l>180</l></block><block s="changeYPosition"><l>-15</l></block></script></block></script></block></script></block-definition></blocks><variables></variables></project><media name="U2L4-brickwall" app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>