<snapdata remixID="8698174"><project name="U2L4-xbrickwall" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAACC0lEQVR4nO3XrW5UQRiA4V4GLAkhKQoHaZBVWwECDBdQg0AACZLQAK6mYi2elhAcgnATOEyRewkr1u2gCdAm5edNt8+THHXmZCaTV3xnY0Booz4AF5sASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQVBbgbDL958//3IezEaAAUwIUYEqAAkz5CSElQFICPMGrrfvj4WRrHL09rI+yts7NDHiWb/50bvy4uzdeXt7+4f2Da7fGt+Pj8fnJvhnwLxDgKft8Pfo0Dq7u/HLtwfU74+6N22O5XFbXeO4J8JR9Hm/f+2nN7qWb4/3hu/HlzYcxu7JTXeFaMAOeYP/Z8zGbTMfrzel48ejpWK1W9ZHWjgB/Yz6fj8ViUR9j7QmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJCZCUAEkJkJQASQmQlABJfQf/mxTGNJ4DhwAAAABJRU5ErkJggg==</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAADmUlEQVR4nO3cwUlEQRAE0A1D1mRENxAzWjQBQ9XLCF4GhAGrWt6Dug/Fp+v2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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPwbX1/Yb0nKpfj8AAAAAElFTkSuQmCC</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="2.25" y="-20" 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="68.66666666666663" y="63.33333333333334"><custom-block s="draw brick, length: %n width: %n"><l>30</l><l>10</l></custom-block></script><script x="91" y="210"><block s="clear"></block><custom-block s="rowA, number of blocks: %n length %n width %n gap %n"><l>6</l><l></l><l></l><l></l></custom-block><custom-block s="rowB, number of blocks: %n length %n width %n gap %n"><l>6</l><l></l><l></l><l></l></custom-block></script><script x="242" y="383"><custom-block s="draw brick wall with %n rows with %n bricks per row of length %n width %n and gap %n"><l>5</l><l></l><l></l><l></l><l></l></custom-block></script><script x="78" y="512"><custom-block s="draw brick wall with %n rows with %n bricks per row of length %n width %n and gap %n"><l>8</l><l>9</l><l>30</l><l>10</l><l>3</l></custom-block></script><script x="188" y="114"><block s="gotoXY"><l>-150</l><l>0</l></block><block s="clear"></block><custom-block s="rowA, number of blocks: %n length %n width %n gap %n"><l>2</l><l>75</l><l>10</l><l>3</l></custom-block><block s="gotoXY"><l>-150</l><l>-20</l></block><custom-block s="rowB, number of blocks: %n length %n width %n gap %n"><l>2</l><l>75</l><l>10</l><l>3</l></custom-block></script></scripts></sprite><watcher var="i" style="normal" x="10" y="10" color="243,118,29" hidden="true"/></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="rowA, number of blocks: %&apos;blocks&apos; length %&apos;length&apos; width %&apos;width&apos; gap %&apos;gap&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%n">6</input><input type="%n">30</input><input type="%n">10</input><input type="%n">3</input></inputs><script><block s="doRepeat"><block var="blocks"/><script><custom-block s="draw brick, length: %n width: %n"><block var="length"/><block var="width"/></custom-block><block s="forward"><block var="gap"/></block></script></block></script></block-definition><block-definition s="rowB, number of blocks: %&apos;blocks&apos; length %&apos;length&apos; width %&apos;width&apos; gap %&apos;gap&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%n">6</input><input type="%n">30</input><input type="%n">10</input><input type="%n">3</input></inputs><script><custom-block s="draw brick, length: %n width: %n"><block s="reportProduct"><block var="length"/><l>.475</l></block><block var="width"/></custom-block><block s="forward"><block var="gap"/></block><block s="doRepeat"><block s="reportDifference"><block var="blocks"/><l>1</l></block><script><custom-block s="draw brick, length: %n width: %n"><block var="length"/><block var="width"/></custom-block><block s="forward"><block var="gap"/></block></script></block><custom-block s="draw brick, length: %n width: %n"><block s="reportProduct"><block var="length"/><l>.475</l></block><block var="width"/></custom-block></script><scripts><script x="230.000002" y="120.00000300000005"><block s="reportQuotient"><l></l><l>2</l></block></script><script x="330.0000009999999" y="172.00000100000005"><block s="reportDifference"><l></l><l>3</l></block></script></scripts></block-definition><block-definition s="draw brick wall with %&apos;rows&apos; rows with %&apos;number&apos; bricks per row of length %&apos;length&apos; width %&apos;width&apos; and gap %&apos;gap&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%n">5</input><input type="%n">6</input><input type="%n">30</input><input type="%n">10</input><input type="%n">3</input></inputs><script><block s="clear"></block><block s="doSetVar"><l>i</l><l>100</l></block><block s="doRepeat"><block var="rows"/><script><block s="gotoXY"><l>-100</l><block var="i"/></block><block s="doIfElse"><block s="reportEquals"><custom-block s="is %n even ?"><block var="i"/></custom-block><block s="reportBoolean"><l><bool>true</bool></l></block></block><script><custom-block s="rowA, number of blocks: %n length %n width %n gap %n"><block var="number"/><block var="length"/><block var="width"/><block var="gap"/></custom-block></script><script><custom-block s="rowB, number of blocks: %n length %n width %n gap %n"><block var="number"/><block var="length"/><block var="width"/><block var="gap"/></custom-block></script></block><block s="doChangeVar"><l>i</l><l>-15</l></block></script></block></script></block-definition><block-definition s="%&apos;imput&apos; between %&apos;small&apos; and %&apos;big&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input><input type="%n"></input></inputs><script><block s="doIfElse"><block s="reportAnd"><block s="reportLessThan"><block var="small"/><block var="imput"/></block><block s="reportGreaterThan"><block var="big"/><block var="imput"/></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;number&apos; devisable by %&apos;divisor&apos; ?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input></inputs><script><block s="doIfElse"><block s="reportEquals"><l>0</l><block s="reportModulus"><block var="number"/><block var="divisor"/></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="is %&apos;number&apos; even ?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="doIfElse"><block s="reportEquals"><custom-block s="%n devisable by %n ?"><block var="number"/><l>2</l></custom-block><block s="reportBoolean"><l><bool>true</bool></l></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="intiger %&apos;number&apos; ?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="doIfElse"><block s="reportEquals"><block var="number"/><block s="reportRound"><block var="number"/></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></blocks><variables><variable name="i"><l>-20</l></variable></variables></project><media name="U2L4-xbrickwall" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>