<snapdata remixID="13072375"><project name="[Lubabah Naqi] - U3L3 - Brick Wall" app="Snap! 9.0, https://snap.berkeley.edu" version="2"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAoKADAAQAAAABAAAAeAAAAAAeaS0RAAAPXUlEQVR4Ae1deWyUxxX/rXfX3jVeDLaxjY25TQBhwBwF0gBxmoAirkqpkqoKaZUQoSZqrqpVSCKBEpFWURMl7R9tkUoUGkLakBJIUxBXgIRAI45yJ5j78IHX2Pj2eu3te7OHj10b6AvwdfXGsr9j5s03329+fjPvN+O1LUAJmhSBO4RAwh16rj5WETAIKAGVCHcUASXgHYVfH+6IBcHVq1XYv38ffD4fEhKuz1EbVWLliSS/x6VLlzBkyBDYbDZwe11uNxwOB6ZOnWqOsXDQe7ceAVvXIOTq1avYvHkLJk2aSE/nruID0SvEsHayhc7CN+hoC9ioGBc0FxEbUw3lReoJ25i6gz+oIXwCLhZ8Fp8EU5LTjh0rlsJfcZryQg0JZ/ZwHDfrEfSZOBdtbQH6ZWrCjn+twyRXOfov+DWam5upqjYUF5/C7NmzYbfbe6hJs24VAlEE/PTTTzF8+HDjKfih3FGffPIJRo8ejTEFBWFKRtrDdPBWVOCLL76kswBycnLM98CBeTh06DDGjRsXomQA+/btJ2JPiti2n4RI236j09nxPVsxdv9vkN3rJkniTkXDU9vAv1ScamuuwbZhCQY98yG8lZXmHpOwsvIqpk+fbq71x+1FIGoIbmioh9/vD7aChqslS17Cyy+/hG3btmHQoEF47733zLDFnqOy0ovFixfD5UpCkisRVTR087C2YsUKTJw40ZwzmVeuXIm7774b69evJxLUwu6w4/Tp0xh510g0NjXi22+/xWMLF2Llu++icEIhmpuaceLECVM3N6SluQnJzuipQOLsXwGtLWjZtQIBX0M0cn4feb82tPD7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Gn1kIElIBCANVchsB/AYXB7fuXmbKyAAAAAElFTkSuQmCC</thumbnail><scenes select="1"><scene name="[Lubabah Naqi] - U3L3 - Brick Wall"><notes></notes><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><block s="reportBoolean"><l><bool>true</bool></l></block></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="Draw 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>5</l></block></script></block><block s="forward"><l>-5</l></block></script></block-definition><block-definition s="Draw Row B" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="draw brick, length: %n width: %n"><l>12.5</l><l>10</l></custom-block><block s="forward"><l>5</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>5</l></block></script></block><custom-block s="draw brick, length: %n width: %n"><l>12.5</l><l>10</l></custom-block></script></block-definition><block-definition s="Draw Brick Wall with %&apos;number&apos; rows" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doIfElse"><block s="reportVariadicEquals"><list><block s="reportModulus"><block var="number"/><l>2</l></block><l>0</l></list></block><script><block s="doRepeat"><block s="reportQuotient"><block var="number"/><l>2</l></block><script><custom-block s="Draw Row A"></custom-block><custom-block s="Next Row"></custom-block><custom-block s="Draw Row B"></custom-block><custom-block s="Next Row"></custom-block></script></block></script><script><block s="doRepeat"><block s="reportQuotient"><block var="number"/><l>2</l></block><script><custom-block s="Draw Row A"></custom-block><custom-block s="Next Row"></custom-block><custom-block s="Draw Row B"></custom-block><custom-block s="Next Row"></custom-block></script></block><custom-block s="Draw Row A"></custom-block></script></block></script></block-definition><block-definition s="Next Row" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="forward"><l>-205</l></block><block s="turn"><l>90</l></block><block s="forward"><l>20</l></block><block s="turnLeft"><l>90</l></block></script></block-definition><block-definition s="Draw Row A, bricks: %&apos;Number of Bricks Per Row&apos; length: %&apos;Length of Brick&apos; width: %&apos;Width of Brick&apos; gap: %&apos;Gap Thickness&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input><input type="%n"></input><input type="%n"></input></inputs><script><block s="doRepeat"><block var="Number of Bricks Per Row"/><script><custom-block s="draw brick, length: %n width: %n"><block var="Length of Brick"/><block var="Width of Brick"/></custom-block><block s="forward"><block var="Gap Thickness"/></block></script></block></script></block-definition><block-definition s="Draw Row B, bricks: %&apos;Number of Bricks Per Row&apos; length: %&apos;Length of Brick&apos; width: %&apos;Width of Brick&apos; gap: %&apos;Gap Thickness&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input><input type="%n"></input><input type="%n"></input></inputs><script><custom-block s="draw brick, length: %n width: %n"><block s="reportDifference"><block s="reportQuotient"><block var="Length of Brick"/><l>2</l></block><block s="reportQuotient"><block var="Gap Thickness"/><l>2</l></block></block><block var="Width of Brick"/></custom-block><block s="forward"><block var="Gap Thickness"/></block><block s="doRepeat"><block s="reportDifference"><block var="Number of Bricks Per Row"/><l>1</l></block><script><custom-block s="draw brick, length: %n width: %n"><block var="Length of Brick"/><block var="Width of Brick"/></custom-block><block s="forward"><block var="Gap Thickness"/></block></script></block><custom-block s="draw brick, length: %n width: %n"><block s="reportDifference"><block s="reportQuotient"><block var="Length of Brick"/><l>2</l></block><block s="reportQuotient"><block var="Gap Thickness"/><l>2</l></block></block><block var="Width of Brick"/></custom-block><block s="forward"><block var="Gap Thickness"/></block></script></block-definition><block-definition s="Draw a Brick Wall with %&apos;Number&apos; Rows with Bricks per Row: %&apos;Number of Bricks Per Row&apos; of Brick Length: %&apos;Length&apos; Width: %&apos;Width&apos; Gap Thickness: %&apos;Gap Thickness Number&apos;" type="command" category="pen"><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="doSetVar"><l>Number of Bricks</l><block var="Number of Bricks Per Row"/></block><block s="doSetVar"><l>Brick Length</l><block var="Length"/></block><block s="doSetVar"><l>Brick Width</l><block var="Width"/></block><block s="doSetVar"><l>Gap Thickness</l><block var="Gap Thickness Number"/></block><block s="doFor"><l>i</l><l>1</l><block var="Number"/><script><block s="doIfElse"><block s="reportVariadicEquals"><list><block s="reportModulus"><block var="i"/><l>2</l></block><l>1</l></list></block><script><custom-block s="Draw Row A, bricks: %n length: %n width: %n gap: %n"><block var="Number of Bricks Per Row"/><block var="Length"/><block var="Width"/><block var="Gap Thickness Number"/></custom-block></script><script><custom-block s="Draw Row B, bricks: %n length: %n width: %n gap: %n"><block var="Number of Bricks Per Row"/><block var="Length"/><block var="Width"/><block var="Gap Thickness Number"/></custom-block></script></block><block s="changeYPosition"><l>-20</l></block><block s="changeXPosition"><block s="reportDifference"><l></l><block s="reportVariadicSum"><list><block s="reportVariadicProduct"><list><block var="Brick Length"/><block var="Number of Bricks"/></list></block><block s="reportVariadicProduct"><list><block var="Number of Bricks"/><block var="Gap Thickness"/></list></block></list></block></block></block></script></block></script></block-definition><block-definition s="Draw Mortar Color" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><block s="up"></block><block s="setSize"><l>20</l></block><block s="setColor"><color>25,0,199,1</color></block><block s="down"></block><block s="forward"><block var="Number of Bricks"/></block><block s="up"></block><block s="setSize"><l>20</l></block><block s="setColor"><color>25,0,199,1</color></block><block s="down"></block><block s="forward"><block var="Number of Bricks"/></block><block s="up"></block></script></block-definition></blocks><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" id="258"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAB4KADAAQAAAABAAABaAAAAAAHwbojAAAL30lEQVR4Ae3QMQEAAADCoPVPbQwfiEBhwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAw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GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGPgMDI3+AAEeFvcCAAAAAElFTkSuQmCC</pentrails><costumes><list struct="atomic" id="259"></list></costumes><sounds><list struct="atomic" id="260"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="1"><watcher var="Number of Bricks" style="normal" x="11.707317073170579" y="11.707317073170747" color="243,118,29"/><watcher var="Brick Length" style="normal" x="11.707317073170579" y="36.292685268292644" color="243,118,29"/><watcher var="Brick Width" style="normal" x="11.707317073170579" y="60.87805346341464" color="243,118,29"/><watcher var="Gap Thickness" style="normal" x="12.307692307692358" y="12.307692307692301" color="243,118,29"/><sprite name="Sprite" idx="1" x="0" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="145,26,68,1" pen="tip" id="269"><costumes><list struct="atomic" id="270"></list></costumes><sounds><list struct="atomic" id="271"></list></sounds><blocks></blocks><variables></variables><scripts><script x="14" y="10"><custom-block s="draw brick, length: %n width: %n"><l>30</l><l>10</l></custom-block></script><script x="15.666666666666686" y="67.66666666666657"><custom-block s="Draw Row A"></custom-block></script><script x="16.666666666666686" y="117.49999999999994"><custom-block s="Draw Row B"></custom-block></script><script x="12" y="164.00000000000006"><block s="clear"></block><block s="gotoXY"><l>0</l><l>0</l></block></script><script x="10" y="239.33333333333331"><custom-block s="Draw Brick Wall with %s rows"><l>4</l></custom-block></script><script x="16" y="297.3333333333333"><custom-block s="Draw Row A, bricks: %n length: %n width: %n gap: %n"><l>10</l><l>20</l><l>10</l><l>4</l></custom-block></script><script x="16" y="353.6666666666667"><custom-block s="Draw Row B, bricks: %n length: %n width: %n gap: %n"><l>15</l><l>50</l><l>25</l><l>6</l></custom-block></script><script x="18" y="403.6666666666667"><custom-block s="Draw a Brick Wall with %s Rows with Bricks per Row: %s of Brick Length: %s Width: %s Gap Thickness: %s"><l>3</l><l>5</l><l>10</l><l>5</l><l>5</l></custom-block></script><script x="166" y="153.00000000000006"><block s="gotoXY"><l>0</l><l>0</l></block></script><script x="24.379785156250023" y="485.81666666666683"><block s="doIfElse"><block s="reportVariadicEquals"><list><block s="reportModulus"><block var="Number"/><l>2</l></block><l>0</l></list></block><script><block s="doRepeat"><block s="reportQuotient"><block var="Number"/><l>2</l></block><script><custom-block s="Draw Row A, bricks: %n length: %n width: %n gap: %n"><block var="Number of Bricks Per Row"/><block var="Length"/><block var="Width"/><block var="Gap Thickness Number"/></custom-block><custom-block s="Next Row"></custom-block><custom-block s="Draw Row B, bricks: %n length: %n width: %n gap: %n"><block var="Number of Bricks Per Row"/><block var="Length"/><block var="Width"/><block var="Gap Thickness Number"/></custom-block><custom-block s="Next Row"></custom-block></script></block></script><script><block s="doRepeat"><block s="reportQuotient"><block var="Number"/><l>2</l></block><script><custom-block s="Draw Row A, bricks: %n length: %n width: %n gap: %n"><block var="Number of Bricks Per Row"/><block var="Length"/><block var="Width"/><block var="Gap Thickness Number"/></custom-block><custom-block s="Next Row"></custom-block><custom-block s="Draw Row B, bricks: %n length: %n width: %n gap: %n"><block var="Number of Bricks Per Row"/><block var="Length"/><block var="Width"/><block var="Gap Thickness Number"/></custom-block><custom-block s="Next Row"></custom-block></script></block><custom-block s="Draw Row A"></custom-block></script></block></script></scripts></sprite></sprites></stage><variables><variable name="Number of Bricks"><l>5</l></variable><variable name="Brick Length"><l>10</l></variable><variable name="Brick Width"><l>5</l></variable><variable name="Gap Thickness"><l>5</l></variable></variables></scene></scenes></project><media name="[Lubabah Naqi] - U3L3 - Brick Wall" app="Snap! 9.0, https://snap.berkeley.edu" version="2"></media></snapdata>