<snapdata remixID="8829144"><project name="U2L4-brickwall" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAADN0lEQVR4Xu2cPYpUYRQFv0YQNzCRGogb6EX4g0sTRIcZDdyEE4mZCDO5LkA0cQUGKoN0SwuaaH6pmnobuOecKh685G32+/1+9bTA0AKbBBxavrO/F0jARBhdIAFH5+94AubA6AIJODp/xxMwB0YXSMDR+TuegDkwukACjs7f8QTMgdEFEnB0/o4nYA6MLpCAo/N3PAFzYHSBBBydv+MJmAOjCyTg6PwdT8AcGF0gAUfn73gC5sDoAgk4On/HEzAHRhdIwNH5O56AOTC6QAKOzt/xBMyB0QUScHT+jidgDowukICj83ccJ+DhZ16bzSZykgVwAp7cebTW5c/1+uvH9fj8bG23WwmKq1kDJ+AB08nN+//Qenv0bZ29v+jtCPMYKeDzJ0/X7tmb/0796fqPdfz5HIbh6sbFCbjf7dbp7Yd/iV3euLa+3Lu7jl++uLoUwc1RAh4+QE5vPVjvjr6vVx8uwLMX/c8CKAHD5lsgAX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNEhCFyxc2AX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNEhCFyxc2AX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNEhCFyxc2AX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNEhCFyxc2AX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNEhCFyxc2AX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNEhCFyxc2AX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNEhCFyxc2AX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNEhCFyxc2AX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNEhCFyxc2AX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNEhCFyxc2AX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNEhCFyxc2AX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNEhCFyxc2AX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNEhCFyxc2AX1MUY0SEIXLFzYBfUxRjRIQhcsXNgF9TFGNfgGcOga3gXnt9wAAAABJRU5ErkJggg==</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAOhUlEQVR4Xu3VwQkAAAjEMN1/abewn7jAQRC64wgQIECAAIF3gX1fNEiAAAECBAiMAHsCAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQIHLFxAWmhEwHPAAAAAElFTkSuQmCC</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="-80" y="80" 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="14" y="10"><block s="receiveKey"><l><option>space</option></l></block><block s="gotoXY"><l>-160</l><l>150</l></block><block s="setHeading"><l>90</l></block><block s="clear"></block></script><comment x="14" y="122" w="218" collapsed="false">.Name: Herschel, Edwin&#xD;Duration: 120 minutes&#xD;Project description: Creating a command that creates a brick wall by using different commands for the task. &#xD;Honot Code: We received help from our teacher</comment><script x="19" y="267"><block s="receiveGo"></block><block s="gotoXY"><l>-80</l><l>80</l></block><block s="doSayFor"><l>U2L4-Brickwall</l><l>2</l></block><block s="doSayFor"><l>Row A</l><l>2</l></block><custom-block s="Row A"></custom-block><block s="doWait"><l>2</l></block><block s="clear"></block><block s="gotoXY"><l>-80</l><l>80</l></block><block s="doSayFor"><l>Row A: Bricks per Row</l><l>2</l></block><custom-block s="Row A: Bricks per row %n"><l>8</l></custom-block><block s="doWait"><l>2</l></block><block s="gotoXY"><l>-80</l><l>80</l></block><block s="clear"></block><block s="doSayFor"><l>Row A: Bricks per row, Length &amp; Width</l><l>2</l></block><custom-block s="Row A: Bricks per row %n Length %n Width %n"><l>7</l><l>25</l><l>10</l></custom-block><block s="doWait"><l>2</l></block><block s="gotoXY"><l>-80</l><l>80</l></block><block s="clear"></block><block s="doSayFor"><l>Row A: Bricks per row, Length, Width, and Gap Thickness</l><l>2</l></block><custom-block s="Row A: Bricks per row %n length %n width %n gap thickness %n"><l>4</l><l>45</l><l>20</l><l>10</l></custom-block><block s="doWait"><l>2</l></block><block s="gotoXY"><l>-80</l><l>80</l></block><block s="clear"></block><block s="doSayFor"><l>Row B</l><l>2</l></block><custom-block s="Row B"></custom-block><block s="doWait"><l>2</l></block><block s="gotoXY"><l>-80</l><l>80</l></block><block s="clear"></block><block s="doSayFor"><l>Row B: Bricks per row</l><l>2</l></block><custom-block s="Row B: Bricks per row %n"><l>10</l></custom-block><block s="doWait"><l>2</l></block><block s="gotoXY"><l>-80</l><l>80</l></block><block s="clear"></block><block s="doSayFor"><l>Row B: Bricks per row, length and width</l><l>2</l></block><custom-block s="Row B: Bricks per row %n length %n width %n"><l>3</l><l>25</l><l>15</l></custom-block><block s="doWait"><l>2</l></block><block s="gotoXY"><l>-80</l><l>80</l></block><block s="clear"></block><block s="doSayFor"><l>Row B: Bricks per row, length, width, and gap width</l><l>2</l></block><custom-block s="Row B: Bricks per row %n length %n width %n gap width %n"><l>4</l><l>15</l><l>5</l><l>5</l></custom-block><block s="doWait"><l>2</l></block><block s="gotoXY"><l>-80</l><l>80</l></block><block s="clear"></block><block s="doSayFor"><l>Draw Brick Wall with number of rows</l><l>2</l></block><custom-block s="draw brick wall with %n rows"><l>10</l></custom-block><block s="doWait"><l>2</l></block><block s="gotoXY"><l>-80</l><l>80</l></block><block s="clear"></block><block s="doSayFor"><l>Draw Brick Wall with number of rows and bricks per row</l><l>2</l></block><custom-block s="draw brick wall with %n rows Bricks per Row %n"><l>3</l><l>6</l></custom-block><block s="doWait"><l>2</l></block><block s="gotoXY"><l>-80</l><l>80</l></block><block s="clear"></block><block s="doSayFor"><l>Draw Brick Wall with number of rows, bricks per row, length and width</l><l>2</l></block><custom-block s="Draw brick wall with %n rows Bricks Per Row %n Length %n Width %n"><l>7</l><l>5</l><l>30</l><l>10</l></custom-block><block s="doWait"><l>2</l></block><block s="gotoXY"><l>-80</l><l>80</l></block><block s="clear"></block><block s="doSayFor"><l>Draw Brick Wall with bricks per row, number of bricks per row, length, width and gap thickness</l><l>2</l></block><custom-block s="Draw brick wall with %n rows Bricks per row %n Length %n Width %n Gap thickness %n"><l>4</l><l>6</l><l>30</l><l>10</l><l>5</l></custom-block><block s="doWait"><l>2</l></block><block s="gotoXY"><l>-80</l><l>80</l></block><block s="clear"></block></script></scripts></sprite><watcher var="# of bricks per row" style="normal" x="3.354340277777851" y="3.354340277777787" 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="Row A" type="command" category="pen"><comment x="0" y="0" w="303" collapsed="false">This command is where the first row of bricks were made. Having six bricks within and the command and the bricks being drawn out.</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="forward"><l>6</l></block></script></block></script></block-definition><block-definition s="Row B" type="command" category="pen"><comment x="0" y="0" w="215" collapsed="false">This command is where the row B is made. IThe ocmmand starts off with half of the brick starts off both in the beginning and in the end.</comment><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"><comment x="0" y="0" w="90" collapsed="false">This block is where the draw brick wall is created consisting the number of rows for the uiser to input.</comment><header></header><code></code><translations></translations><inputs><input type="%n"></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><block-definition s="draw a Brick Wall with %&apos;number of rows&apos; Rows with Bricks per row %&apos;Brick per row&apos; of Brick Length %&apos;Brick Length&apos; Width %&apos;Width&apos; Gap Thickness %&apos;Gap thickness&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="doFor"><l>i</l><l>1</l><block var="Brick per row"/><script><block s="doIfElse"><custom-block s="even? %n"><block var="i"/></custom-block><script></script><script></script></block></script></block></script></block-definition><block-definition s="Row A: Bricks per row %&apos;# Bricks per row&apos;" type="command" category="pen"><comment x="0" y="0" w="200" collapsed="false">This command is where the number of bricks per row are within. Using a variable, I was able to input it into the repeat blcok for it to act out as the number of bricks per row.</comment><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="doRepeat"><block var="# Bricks per row"/><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 A: Bricks per row %&apos;Bricks per row&apos; Length %&apos;Length&apos; Width %&apos;Width&apos;" type="command" category="pen"><comment x="0" y="0" w="291" collapsed="false">This command is where the brick wall consists of the number of bricks per row, length of the bricka and the width of the brick. Variables act out in the commands for this command to work.</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 var="Bricks per row"/><script><custom-block s="draw brick, length: %n width: %n"><block var="Length"/><block var="Width"/></custom-block><block s="forward"><l>6</l></block></script></block></script></block-definition><block-definition s="Row A: Bricks per row %&apos;# of bricks per row&apos; length %&apos;length&apos; width %&apos;width&apos; gap thickness %&apos;gap thickness&apos;" type="command" category="pen"><comment x="0" y="0" w="192" collapsed="false">This command is where the row A consists of the options of the number of bricks per row, the length, the width and rthe gap thickness. This will allow the user to add his/her options in the command.</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 var="# of bricks per row"/><script><custom-block s="draw brick, length: %n width: %n"><block var="length"/><block var="width"/></custom-block><block s="forward"><block var="gap thickness"/></block></script></block></script></block-definition><block-definition s="Row B: Bricks per row %&apos;# of bricks per row&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">This command is where the Row B block consists of the number of bricks per row in the block.</comment><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><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"><block s="reportDifference"><block var="# of bricks per row"/><l>1</l></block><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="Row B: Bricks per row %&apos;# of bricks per row&apos; length %&apos;length&apos; width %&apos;width&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">This command is where the row B blcok has the inputs of the number of bricks per row, lenght, and width. This blcok consists of variables that are inside the block for it to work.</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"><l>12</l><block var="width"/></custom-block><block s="forward"><l>6</l></block><block s="doRepeat"><block s="reportDifference"><block var="# of bricks per row"/><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"><l>6</l></block></script></block><custom-block s="draw brick, length: %n width: %n"><l>12</l><block var="width"/></custom-block></script></block-definition><block-definition s="Row B: Bricks per row %&apos;# of bricks per row&apos; length %&apos;length&apos; width %&apos;width&apos; gap width %&apos;gap width&apos;" type="command" category="pen"><comment x="0" y="0" w="161" collapsed="false">This command is where the Riow B block consists of the options of the number of bricks per row, the length, the width, and the gap width.</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"><l>12</l><block var="width"/></custom-block><block s="forward"><block var="gap width"/></block><block s="doRepeat"><block s="reportDifference"><block var="# of bricks per row"/><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 width"/></block></script></block><custom-block s="draw brick, length: %n width: %n"><l>12</l><block var="width"/></custom-block></script></block-definition><block-definition s="draw brick wall with %&apos;# of rows&apos; rows Bricks per Row %&apos;# of bricks per row&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">This command is where the draw brick wall with # of rows, rows comes with # of bricks per row. This includes using the row A: Bricks per row block and the Row B, Bricks per row block. They should both be connected in the block for the command to function.</comment><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input></inputs><script><block s="doFor"><l>i</l><l>1</l><block var="# of rows"/><script><block s="doIfElse"><custom-block s="even? %n"><block var="i"/></custom-block><script><custom-block s="Row A: Bricks per row %n"><block var="# of bricks per row"/></custom-block><block s="turnLeft"><l>180</l></block><block s="forward"><l>6</l></block><block s="changeYPosition"><l>-15</l></block></script><script><custom-block s="Row B: Bricks per row %n"><block var="# of bricks per row"/></custom-block><block s="turnLeft"><l>180</l></block><block s="changeYPosition"><l>-15</l></block></script></block></script></block></script></block-definition><block-definition s="Row A (2)" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRepeat"><block var="# of bricks per row"/><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 (2)" 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"><block var="# of bricks per row"/><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="Draw brick wall with %&apos;number of rows&apos; rows Bricks Per Row %&apos;# of bricks per row&apos; Length %&apos;Brick Length&apos; Width %&apos;Brick Width&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">This command is where the draw brick block consists of the number of rows, the number of bricks per row, brick length and brick width. Using the row A and B blocks that consists the same elements, I was able to figure out </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="doFor"><l>i</l><l>1</l><block var="number of rows"/><script><block s="doIfElse"><custom-block s="even? %n"><block var="i"/></custom-block><script><custom-block s="Row A: Bricks per row %n Length %n Width %n"><block var="# of bricks per row"/><block var="Brick Length"/><block var="Brick Width"/></custom-block><block s="turnLeft"><l>180</l></block><block s="forward"><l>6</l></block><block s="changeYPosition"><l>-15</l></block></script><script><custom-block s="Row B: Bricks per row %n length %n width %n"><block var="# of bricks per row"/><block var="Brick Length"/><block var="Brick Width"/></custom-block><block s="turnLeft"><l>180</l></block><block s="changeYPosition"><l>-15</l></block></script></block></script></block></script></block-definition><block-definition s="Draw brick wall with %&apos;number of rows&apos; rows Bricks per row %&apos;# of bricks per row&apos; Length %&apos;Brick length&apos; Width %&apos;Brick Width&apos; Gap thickness %&apos;Gap Thickness&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">This block was created using Row A and B of the bricks per row, length, width and gap thickness. I inculded these blocks since it would connect with the block I am making. The variables would connect with the blocks because the blocks have similarities that would make the brick wall.</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="doFor"><l>i</l><l>1</l><block var="number of rows"/><script><block s="doIfElse"><custom-block s="even? %n"><block var="i"/></custom-block><script><custom-block s="Row A: Bricks per row %n length %n width %n gap thickness %n"><block var="# of bricks per row"/><block var="Brick length"/><block var="Brick Width"/><block var="Gap Thickness"/></custom-block><block s="turnLeft"><l>180</l></block><block s="forward"><l>6</l></block><block s="changeYPosition"><l>-15</l></block></script><script><custom-block s="Row B: Bricks per row %n length %n width %n gap width %n"><block var="# of bricks per row"/><block var="Brick length"/><block var="Brick Width"/><block var="Gap Thickness"/></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><variable name="# of bricks per row"><l>0</l></variable></variables></project><media name="U2L4-brickwall" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>