<snapdata remixID="9063542"><project name="U2L4-brickwall2.4.3" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAABF5JREFUeAHt3D9rFFEYhfF3JYIWETQIaixsYyNWQcEmXawkqEnAP6hoISFobCz9AloIVnaKjbVgI4hEhQg2sRAbQQtbsZDYaMymCGzCmWRuds4duE8qzTt7z85vDjNzLewsr/wEPwhkEtiRKZdYBFYFKCBFyCpAAbPyE04B6UBWAQqYlZ9wCkgHsgpQwKz8hFNAOpBVgAJm5SecAtKBrAIUMCs/4RSQDmQVoIBZ+QmngHQgqwAFzMpPOAWkA1kFKGBWfsIpIB3IKkABs/ITTgHpQFYBCpiVn3AKSAeyClDArPyEU0A6kFVgICV94f6TWHjwdNOPjs5djNE7lzY9jgPKFeAOWO61b8WZU8BWXIZyv0TSI3j45LEY3YJZ9zh+EKgS6PCfE1XxMGtaIOkOyCak6ctSzvq8A5ZzrVt5phSwlZelnC+V9AhmE1JOQZo+UzYhTQuzfqVA0h2QTUilKcMaArwD1sDi0P4LUMD+m7JiDYGkRzCbkBrCHFopwCakkodh0wJJd0A2IU1flnLW5x2wnGvdyjOlgK28LOV8qaRHMJuQcgrS9JmyCWlamPUrBZLugGxCKk0Z1hDgHbAGFof2X4AC9t+UFWsIJD2C2YTUEObQSgE2IZU8DJsWSLoDsglp+rKUsz7vgOVc61aeKQVs5WUp50slPYLZhJRTkKbPlE1I08KsXymQdAdkE1JpyrCGAO+ANbA4tP8CFLD/pqxYQ6DnEbzyHxVFp9PZ9ONsQjYl4oAtCvRsQt6/mY9H07Nx89ZsfN8bMX39yhaX4TAE0gR6Cthd4uv8x3gxdXd1tX+xHD8O7YrTkxOxdPRgjJ8eT0vhUwgIgQ0F7B73+Pa9WHr+bsNHfv79E/vGjsfwmVMxcf7chjm/QKCuQM87YPfDnxYX4/Ozl3Fk5561tb4M/I4LMzfi21Anpq5eXvs9f0BguwI9BexuQj7MPYzu1vjw5Fj82r87zs5ci8HBwdWcE9tN4/MIrBPoeQS/ffU6hoYPxMjIyLrD+CsCzQj0FLCZCFZFQAvwD9HaholBgAIakInQAhRQ2zAxCFBAAzIRWoACahsmBgEKaEAmQgtQQG3DxCBAAQ3IRGgBCqhtmBgEKKABmQgtQAG1DRODAAU0IBOhBSigtmFiEKCABmQitAAF1DZMDAIU0IBMhBaggNqGiUGAAhqQidACFFDbMDEIUEADMhFagAJqGyYGAQpoQCZCC1BAbcPEIEABDchEaAEKqG2YGAQooAGZCC1AAbUNE4MABTQgE6EFKKC2YWIQoIAGZCK0AAXUNkwMAhTQgEyEFqCA2oaJQYACGpCJ0AIUUNswMQhQQAMyEVqAAmobJgYBCmhAJkILUEBtw8QgQAENyERoAQqobZgYBCigAZkILUABtQ0TgwAFNCAToQUooLZhYhCggAZkIrQABdQ2TAwCFNCATIQWoIDaholBgAIakInQAhRQ2zAxCFBAAzIRWoACahsmBgEKaEAmQgv8B5JjlY2DWDGsAAAAAElFTkSuQmCC</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAADUVJREFUeAHt3bGRAjEMBdC7K4N66Ida6Id6aIPLmCHYQKDBsvQu4hjjtd4PfrTjnx9/BAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIEDgqwK/X33aGw+7ns6PN3728U8u91t5m4+HtAEBAgQILBP4W/ZkDyZAgAABAoMFFPDg8I1OgAABAusEFPA6e08mQIAAgcECCnhw+EYnQIAAgXUCCnidvScTIECAwGABBTw4fKMTIECAwDoBBbzO3pMJECBAYLCAAh4cvtEJECBAYJ2AAl5n78kECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECLwjUP7KPdcRvhOr3xAgQIBAdQGvIVVPyPkIECBAoKWAAm4Zq6EIECBAoLqAAq6ekPMRIECAQEsBBdwyVkMRIECAQHUBBVw9IecjQIAAgZYCCrhlrIYiQIAAgeoCCrh6Qs5HgAABAi0FFHDLWA1FgAABAtUFFHD1hJyPAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAIFXAdcRvno8/7vcb+Vtnof1gQABAgS2E/Aa0naROTABAgQIdBBQwB1SNAMBAgQIbCeggLeLzIEJECBAoIOAAu6QohkIECBAYDsBBbxdZA5MgAABAh0EFHCHFM1AgAABAtsJKODtInNgAgQIEOggoIA7pGgGAgQIENhOQAFvF5kDEyBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIEBguUP7Kvevp/FiRkesIV6h7JgECBOYIeA1pTtYmJUCAAIFCAgq4UBiOQoAAAQJzBBTwnKxNSoAAAQKFBBRwoTAchQABAgTmCCjgOVmblAABAgQKCSjgQmE4CgECBAjMEVDAc7I2KQECBAgUElDAhcJwFAIECBCYI6CA52RtUgIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQI9BFxHeJCj6wgPYHxNgAABAikCXkNKYbQJAQIECBCICSjgmJfVBAgQIEAgRUABpzDahAABAgQIxAQUcMzLagIECBAgkCKggFMYbUKAAAECBGICCjjmZTUBAgQIEEgRUMApjDYhQIAAAQIxAQUc87KaAAECBAikCCjgFEabECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECDwNQHXER5Qu47wAMbXBAgQIJAi4DWkFEabECBAgACBmIACjnlZTYAAAQIEUgQUcAqjTQgQIECAQExAAce8rCZAgAABAikCCjiF0SYECBAgQCAmoIBjXlYTIECAAIEUAQWcwmgTAgQIECAQE1DAMS+rCRAgQIBAioACTmG0CQECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECXxNwHeEBtesID2B8TYAAAQIpAl5DSmG0CQECBAgQiAko4JiX1QQIECBAIEVAAacw2oQAAQIECMQEFHDMy2oCBAgQIJAioIBTGG1CgAABAgRiAgo45mU1AQIECBBIEVDAKYw2IUCAAAECMQEFHPOymgABAgQIpAgo4BRGmxAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIEC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AgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQJbCPwDKdUchpzmn50AAAAASUVORK5CYII=</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="-200" y="-5" 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="10" y="56.33333333333334"><custom-block s="draw brick, length: %n width: %n"><l>30</l><l>10</l></custom-block></script><script x="215.33333333333334" y="171"><block s="receiveGo"></block><custom-block s="Draw brick wall with %n rows"><l>7</l></custom-block></script><script x="110.33333333333334" y="230"><block s="clear"></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><custom-block s="set flat line ends to %b"><block s="reportBoolean"><l><bool>true</bool></l></block></custom-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="Wall %&apos;rows&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs></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="%n"></input></inputs><script><block s="gotoXY"><l>-200</l><l>100</l></block><block s="setHeading"><l>90</l></block><block s="doFor"><l>i</l><l>1</l><block var="rows"/><script><block s="doIfElse"><custom-block s="Even? %s"><block var="i"/></custom-block><script><block s="down"></block><custom-block s="RowB"></custom-block><block s="setXPosition"><l>-200</l></block><block s="changeYPosition"><l>-15</l></block><block s="up"></block></script><script><block s="down"></block><custom-block s="RowA"></custom-block><block s="setXPosition"><l>-200</l></block><block s="changeYPosition"><l>-15</l></block><block s="up"></block></script></block></script></block></script></block-definition><block-definition s="Even? %&apos;imputvalue&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><custom-block s="is %s divisible by %s"><block var="imputvalue"/><l>2</l></custom-block></block></script></block-definition><block-definition s="is %&apos;firstvalue&apos; divisible by %&apos;secondvalue&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="firstvalue"/><block var="secondvalue"/></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="RowB" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="draw brick, length: %n width: %n"><l>30</l><l>10</l></custom-block></script></block-definition><block-definition s="RowA" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRepeat"><l>1</l><script><custom-block s="draw brick, length: %n width: %n"><l>30</l><l>10</l></custom-block></script></block></script></block-definition></blocks><variables></variables></project><media name="U2L4-brickwall2.4.3" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>