<snapdata remixID="8861322"><project name="U2L4-BrickWall" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAABJ9JREFUeAHt2zFrFEEYxvE5tTAIgq0JiJWFnEEsggZBEEtbG1HQj6BfQgQt1EaiBjVgVJRUSSEKEgyksjOlXUTEFKZQUNC7Cxwxz5DN7uw9Qzb/C4TjvZl5s7887Gbncq2/nUfggUAmgV2Z+tIWgZ4AASQIWQUIYFZ+mhNAMpBVgABm5ac5ASQDWQUIYFZ+mhNAMpBVgABm5ac5ASQDWQUIYFZ+mhNAMpBVgABm5ac5ASQDWQUIYFZ+mhNAMpBVgABm5ac5ASQDWQUIYFZ+mhNAMpBVgABm5ac5ASQDWQUIYFZ+mhNAMlBZ4NnEZFi4ORkuHjweFt7PV1qnxQfTK7ntyElzs3Nh6NOXMPv8dRhe/hVana/u4/z0jXD49IlKJnsqzWLSjhF4/eJlWJ6ZD9/ffQwHdu/tHfdI7/ta+IYujFcOX3cZzoA9TL4VCUw/ehwOrYQwdfd+OPJnX3/4598/wtW3D0K73e7XyjwhgGW0GNsTWF1dDa/uPQz7v/0MH6ZmwtFj7XDlzURotdbOimWYCGAZLcZGBZaWlsLK8tcwfvZM9PXNigRwMx1eG7gANyGJxIu3nkRXGD41GkZOjvZfa8q4/gHV9IQAJkIu3n4aXWGsU/0vgA0ZFz3YhCIb0Ql4TE0XIIDphqyQIMBNSAIeU9MFOAOmG7JCggABTMBjaroAd8GJht3tlaZuucSOLZFLphNAISlX6G7DNHXLJXZs5XSKR3MJLjZixAAFOAMm4o5du9S7BK9fpluLPbqX6vWP7TBu48+8/uev4znbMHUoskZlAS7BlemYWIcAAaxDkTUqC/A3YGW6tYl3hs9FV+j+fTd2/XL/taaM6x9QTU84A9YEyTLVBAhgNTdm1STAJTgRcjtspcQOceP2ylaPI7ZWSo1tmBQ95iYLcAlOJmSBFAEuwSl6nbmxN+yb8vmP2LElcsl0Aigk5QqxN+yb9DmRjf9oUU6neDSX4GIjRgxQgAAOEJeliwW4Cy42YsQABTgDDhCXpYsFCGCxESMGKMBdcCJuk7ZcYhQbP+8SG5NSI4Apep25TdpyiVGwDRNTodYYAc6Aib/Krb6J35RxiVwynW0YIaHgFOAu2KlNLxEggEJCwSlAAJ3a9BIBAigkFJwCBNCpTS8RIIBCQsEpQACd2vQSAQIoJBScAgTQqU0vESCAQkLBKUAAndr0EgECKCQUnAIE0KlNLxEggEJCwSlAAJ3a9BIBAigkFJwCBNCpTS8RIIBCQsEpQACd2vQSAQIoJBScAgTQqU0vESCAQkLBKUAAndr0EgECKCQUnAIE0KlNLxEggEJCwSlAAJ3a9BIBAigkFJwCBNCpTS8RIIBCQsEpQACd2vQSAQIoJBScAgTQqU0vESCAQkLBKUAAndr0EgECKCQUnAIE0KlNLxEggEJCwSlAAJ3a9BIBAigkFJwCBNCpTS8RIIBCQsEpQACd2vQSAQIoJBScAgTQqU0vESCAQkLBKUAAndr0EgECKCQUnAIE0KlNLxEggEJCwSlAAJ3a9BIBAigkFJwCBNCpTS8RIIBCQsEpQACd2vQSAQIoJBScAgTQqU0vEfgHSBAlfYlFK+wAAAAASUVORK5CYII=</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAADRZJREFUeAHt3MFtgwAQBEBIGdRDP9RCP9RDG+SPkMDCie5Wkx+OgbtZ2/tjGPwRIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIPBHAuMfXddlCRD4B4F1mo9v3mbZt0e/Ce77Tp3zO7+Us39SFrEHAQIECBDoJKCAO6VlVgIECBCIEVDAMVFahAABAgQ6CSjgTmmZlQABAgRiBBRwTJQWIUCAAIFOAgq4U1pmJUCAAIEYAQUcE6VFCBAgQKCTgALulJZZCRAgQCBGQAHHRGkRAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgMCdwHj3Bv8nQKCuwDrNx3m6Zd8efa+vzj1f65Nj973W4jwMTz8b14K5r3oWdG62NiNAgACBwgIKuHA4RiNAgACBXAEFnJutzQgQIECgsIACLhyO0QgQIEAgV0AB52ZrMwIECBAoLKCAC4djNAIECBDIFVDAudnajAABAgQKCyjgwuEYjQABAgRyBRRwbrY2I0CAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAicBMbTsUMCBBoJrNN8fHPcZd8e/Sa47zt1zu/8Us72LOiUJO1BgAABAq0EFHCruAxLgAABAikCCjglSXsQIECAQCsBBdwqLsMSIECAQIqAAk5J0h4ECBAg0EpAAbeKy7AECBAgkCKggFOStAcBAgQItBJQwK3iMiwBAgQIpAgo4JQk7UGAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQuBUYb9/hDQQIlBVYp/k4D7fs26Pv9dW552t9cuy+11qch+HpZ+NaMPdVz4LOzdZmBAgQIFBYQAEXDsdoBAgQIJAroIBzs7UZAQIECBQWUMCFwzEaAQIECOQKKODcbG1GgAABAoUFFHDhcIxGgAABArkCCjg3W5sRIECAQGEBBVw4HKMRIECAQK6AAs7N1mYECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAgZPAeDp2SIBAI4F1mo9vjrvs26PfBPd9p875nV/K2Z4FnZKkPQgQIECglYACbhWXYQkQIEAgRUABpyRpDwIECBBoJaCAW8VlWAIECBBIEVDAKUnagwABAgRaCSjgVnEZlgABAgRSBBRwSpL2IECAAIFWAgq4VVyGJUCAAIEUAQWckqQ9CBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAg0EvgF/2QgGDn2vG3AAAAAElFTkSuQmCC</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="170" y="100" heading="270" 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="20" y="10"><custom-block s="draw brick, length: %n width: %n"><l>12.5</l><l>10</l><comment w="222" collapsed="false">draws width and length of the bricks that will be made within &quot;Brick Wall&quot;</comment></custom-block></script><script x="20" y="79"><custom-block s="rowA"><comment w="189" collapsed="false">makes a row of bricks with all even bricks</comment></custom-block></script><script x="20" y="136"><custom-block s="rowB"><comment w="260" collapsed="false">makes a row of bricks with all even and odd brick lengths</comment></custom-block></script><script x="20" y="193"><custom-block s="rowA: bricks %n"><l>5</l><comment w="199" collapsed="false">simple code, makes 5 bricks </comment></custom-block></script><script x="20" y="250"><custom-block s="rowB: bricks %n"><l>5</l><comment w="215" collapsed="false">simple code, makes 5 bricks</comment></custom-block></script><script x="20" y="307"><custom-block s="rowA: bricks %n length %n width %n"><l>5</l><l>20</l><l>10</l><comment w="230" collapsed="false">uses inputs to insert number of bricks, length and width of bricks </comment></custom-block></script><script x="20" y="376"><custom-block s="rowB: bricks %n length %n width %n"><l>5</l><l>20</l><l>10</l><comment w="226" collapsed="false">uses inputs to insert number of bricks, length and width of bricks</comment></custom-block></script><script x="20" y="444.99999999999994"><custom-block s="BrickWall: row %n"><l>5</l><comment w="302" collapsed="false">makes brick wall using inputs such as row</comment></custom-block></script><script x="20" y="501.99999999999994"><custom-block s="BrickWall: row %n bricks %n"><l>5</l><l>5</l><comment w="268" collapsed="false">makes brick wall using inputs such as row and number of bricks</comment></custom-block></script><script x="20" y="571"><custom-block s="BrickWall: row %n bricks %n length %n width %n"><l>5</l><l>5</l><l>20</l><l>10</l><comment w="254" collapsed="false">makes brick wall using inputs such as row, number of bricks, width and length</comment></custom-block></script><script x="20" y="640.0000000000001"><block s="receiveGo"><comment w="321" collapsed="false">when green flag is clicked, makes brick wall using inputs such as row, number of bricks, width, length and length of gap</comment></block><block s="clear"></block><block s="gotoXY"><l>0</l><l>0</l></block><custom-block s="BrickWall: row %n bricks %n length %n width %n gap %n"><l>5</l><l>5</l><l>20</l><l>10</l><l>10</l></custom-block></script><comment x="20" y="753.0000000000002" w="229" collapsed="false">Name: Ashley Ortiz&#xD;Partner Name: Blessing Yakubu&#xD;Duration: 00:120:00&#xD;Project Description: A brick wall is made from brickA and B.&#xD;Honor Code: I recieved help from  Saanavi on this project</comment></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"><comment x="0" y="0" w="180" collapsed="false">distingishes the width and length of the bricks </comment><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" type="command" category="pen"><comment x="0" y="0" w="189" collapsed="false">makes a row of bricks with all even bricks</comment><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="up"></block><block s="forward"><l>5</l></block></script></block></script></block-definition><block-definition s="rowB (empty)" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs></block-definition><block-definition s="rowA (empty)" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs></block-definition><block-definition s="rowB" type="command" category="pen"><comment x="0" y="0" w="260" collapsed="false">makes a row of bricks with all even and odd brick lengths</comment><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="up"></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="even? %&apos;input&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="doIfElse"><custom-block s="%n divisible %n by?"><block var="input"/><l>2</l></custom-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="rowA: bricks %&apos;bricks&apos;" type="command" category="pen"><comment x="0" y="0" w="199" collapsed="false">simple code, makes 5 bricks </comment><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="doRepeat"><block s="reportSum"><block var="bricks"/><l>1</l></block><script><custom-block s="draw brick, length: %n width: %n"><l>30</l><l>10</l></custom-block><block s="up"></block><block s="forward"><l>5</l></block></script></block></script></block-definition><block-definition s="rowB: bricks %&apos;bricks&apos;" type="command" category="pen"><comment x="0" y="0" w="215" collapsed="false">simple code, makes 5 bricks</comment><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><custom-block s="draw brick, length: %n width: %n"><block s="reportQuotient"><l>30</l><l>2</l></block><l>10</l></custom-block><block s="forward"><l>5</l></block><block s="doRepeat"><block var="bricks"/><script><custom-block s="draw brick, length: %n width: %n"><l>30</l><l>10</l></custom-block><block s="up"></block><block s="forward"><l>5</l></block></script></block><custom-block s="draw brick, length: %n width: %n"><block s="reportQuotient"><l>30</l><l>2</l></block><l>10</l></custom-block></script></block-definition><block-definition s="rowB: bricks %&apos;bricks&apos; length %&apos;length&apos; width %&apos;width&apos;" type="command" category="pen"><comment x="0" y="0" w="226" collapsed="false">uses inputs to insert number of bricks, length and width of bricks</comment><header></header><code></code><translations></translations><inputs><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"/><l>2</l></block><l>5</l></block><block var="width"/></custom-block><block s="forward"><l>10</l></block><block s="doRepeat"><block var="bricks"/><script><custom-block s="draw brick, length: %n width: %n"><block var="length"/><block var="width"/></custom-block><block s="up"></block><block s="forward"><l>10</l></block></script></block><custom-block s="draw brick, length: %n width: %n"><block s="reportDifference"><block s="reportQuotient"><block var="length"/><l>2</l></block><l>5</l></block><block var="width"/></custom-block></script></block-definition><block-definition s="rowA: bricks %&apos;bricks&apos; length %&apos;length&apos; width %&apos;width&apos;" type="command" category="pen"><comment x="0" y="0" w="230" collapsed="false">uses inputs to insert number of bricks, length and width of bricks </comment><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input><input type="%n"></input></inputs><script><block s="doRepeat"><block s="reportSum"><block var="bricks"/><l>1</l></block><script><custom-block s="draw brick, length: %n width: %n"><block var="length"/><block var="width"/></custom-block><block s="up"></block><block s="forward"><l>5</l></block></script></block></script></block-definition><block-definition s="rowB: bricks %&apos;bricks&apos; length %&apos;length&apos; width %&apos;width&apos; gap %&apos;gap&apos;" type="command" category="pen"><comment x="0" y="0" w="151" collapsed="false">uses inputs to insert number of bricks, length and width of bricks, and length of gap</comment><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"/><l>2</l></block><block s="reportQuotient"><block var="gap"/><l>2</l></block></block><block var="width"/></custom-block><block s="forward"><block var="gap"/></block><block s="doRepeat"><block var="bricks"/><script><custom-block s="draw brick, length: %n width: %n"><block var="length"/><block var="width"/></custom-block><block s="up"></block><block s="forward"><block var="gap"/></block></script></block><custom-block s="draw brick, length: %n width: %n"><block s="reportDifference"><block s="reportQuotient"><block var="length"/><l>2</l></block><block s="reportQuotient"><block var="gap"/><l>2</l></block></block><block var="width"/></custom-block></script><scripts><script x="511.90234475" y="113.000001"><block var="length"/></script></scripts></block-definition><block-definition s="rowA: bricks %&apos;bricks&apos; length %&apos;length&apos; width %&apos;width&apos; gap %&apos;gap&apos;" type="command" category="pen"><comment x="0" y="0" w="151" collapsed="false">uses inputs to insert number of bricks, length and width of bricks, and length of gap</comment><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 s="reportSum"><block var="bricks"/><l>1</l></block><script><custom-block s="draw brick, length: %n width: %n"><block var="length"/><block var="width"/></custom-block><block s="up"></block><block s="forward"><block var="gap"/></block></script></block></script></block-definition><block-definition s="%&apos;divident&apos; divisible %&apos;divisor&apos; by?" 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"><block s="reportModulus"><block var="divident"/><block var="divisor"/></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="BrickWall: row %&apos;row&apos; bricks %&apos;bricks&apos;" type="command" category="pen"><comment w="268" collapsed="false">makes brick wall using inputs such as row and number of bricks</comment><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input></inputs><script><block s="clear"></block><block s="doFor"><l>i</l><l>1</l><block var="row"/><script><block s="doIfElse"><custom-block s="even? %n"><block var="i"/></custom-block><script><custom-block s="rowB: bricks %n length %n width %n gap %n"><block var="bricks"/><l>20</l><l>10</l><l>10</l></custom-block></script><script><custom-block s="rowA: bricks %n length %n width %n gap %n"><block var="bricks"/><l>20</l><l>10</l><l>10</l></custom-block><block s="forward"><l>-10</l></block></script></block><block s="changeYPosition"><block s="reportSum"><l>10</l><l>10</l></block></block><block s="setHeading"><block s="reportProduct"><block s="direction"></block><l>-1</l></block></block></script></block></script></block-definition><block-definition s="BrickWall: row %&apos;row&apos; bricks %&apos;bricks&apos; length %&apos;length&apos; width %&apos;width&apos; gap %&apos;gap&apos;" type="command" category="pen"><comment w="321" collapsed="false">when green flag is clicked, makes brick wall using inputs such as row, number of bricks, width, length and length of gap</comment><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input><input type="%n"></input><input type="%n"></input><input type="%n"></input></inputs><script><block s="clear"></block><block s="doFor"><l>i</l><l>1</l><block var="row"/><script><block s="doIfElse"><custom-block s="even? %n"><block var="i"/></custom-block><script><custom-block s="rowB: bricks %n length %n width %n gap %n"><block var="bricks"/><block var="length"/><block var="width"/><block var="gap"/></custom-block></script><script><custom-block s="rowA: bricks %n length %n width %n gap %n"><block var="bricks"/><block var="length"/><block var="width"/><block var="gap"/></custom-block><block s="forward"><l>-10</l></block></script></block><block s="changeYPosition"><block s="reportSum"><block var="width"/><l>10</l></block></block><block s="setHeading"><block s="reportProduct"><block s="direction"></block><l>-1</l></block></block></script></block></script></block-definition><block-definition s="BrickWall: row %&apos;row&apos;" type="command" category="pen"><comment w="302" collapsed="false">makes brick wall using inputs such as row</comment><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="clear"></block><block s="doFor"><l>i</l><l>1</l><block var="row"/><script><block s="doIfElse"><custom-block s="even? %n"><block var="i"/></custom-block><script><custom-block s="rowB: bricks %n length %n width %n gap %n"><l>5</l><l>20</l><l>10</l><l>10</l></custom-block></script><script><custom-block s="rowA: bricks %n length %n width %n gap %n"><l>5</l><l>20</l><l>10</l><l>10</l></custom-block><block s="forward"><l>-10</l></block></script></block><block s="changeYPosition"><block s="reportSum"><l>10</l><l>10</l></block></block><block s="setHeading"><block s="reportProduct"><block s="direction"></block><l>-1</l></block></block></script></block></script></block-definition><block-definition s="BrickWall: row %&apos;row&apos; bricks %&apos;bricks&apos; length %&apos;length&apos; width %&apos;width&apos;" type="command" category="pen"><comment w="254" collapsed="false">makes brick wall using inputs such as row, number of bricks, width and length</comment><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="clear"></block><block s="doFor"><l>i</l><l>1</l><block var="row"/><script><block s="doIfElse"><custom-block s="even? %n"><block var="i"/></custom-block><script><custom-block s="rowB: bricks %n length %n width %n gap %n"><block var="bricks"/><block var="length"/><block var="width"/><l>10</l></custom-block></script><script><custom-block s="rowA: bricks %n length %n width %n gap %n"><block var="bricks"/><block var="length"/><block var="width"/><l>10</l></custom-block><block s="forward"><l>-10</l></block></script></block><block s="changeYPosition"><block s="reportSum"><block var="width"/><l>10</l></block></block><block s="setHeading"><block s="reportProduct"><block s="direction"></block><l>-1</l></block></block></script></block></script></block-definition></blocks><variables></variables></project><media name="U2L4-BrickWall" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>