<snapdata remixID="14032502"><project name="[Khalil]-U3L3-BrickWall" app="Snap! 10.1-dev, https://snap.berkeley.edu" version="2"><notes></notes><thumbnail>data:image/png;base64,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</thumbnail><scenes select="1"><scene name="[Khalil]-U3L3-BrickWall"><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><custom-block s="set pen to crayon %s"><block s="getLastAnswer"></block></custom-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><scripts><script x="161" y="132.83333333333337"><block s="setColor"><color>145,26,68,1</color></block></script></scripts></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></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, rows %&apos;rows&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input></inputs><script><block s="doIf"><custom-block s="even %s"><block var="rows"/></custom-block><script><block s="doRepeat"><block s="reportQuotient"><block var="rows"/><l>2</l></block><script><custom-block s="draw row A"></custom-block><block s="changeYPosition"><l>-15</l></block><block s="setXPosition"><l>-100</l></block><custom-block s="draw row B"></custom-block><block s="changeYPosition"><l>-15</l></block><block s="setXPosition"><l>-100</l></block></script></block></script><list><custom-block s="odd %s"><block var="rows"/></custom-block><script><block s="doRepeat"><block s="reportQuotient"><block s="reportDifference"><block var="rows"/><l>1</l></block><l>2</l></block><script><custom-block s="draw row A"></custom-block><block s="changeYPosition"><l>-15</l></block><block s="setXPosition"><l>-100</l></block><custom-block s="draw row B"></custom-block><block s="changeYPosition"><l>-15</l></block><block s="setXPosition"><l>-100</l></block></script></block><custom-block s="draw row A"></custom-block></script></list></block></script></block-definition><block-definition s="even %&apos;1&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input></inputs><script><block s="doIf"><custom-block s="is %s divisible by %s"><block var="1"/><l>2</l></custom-block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><list><l><bool>true</bool></l><script><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></list></block></script></block-definition><block-definition s="is %&apos;1&apos; divisible by %&apos;2&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input><input type="%s" initial="1"></input></inputs><script><block s="doIf"><block s="reportVariadicEquals"><list><block s="reportModulus"><block var="1"/><block var="2"/></block><l>0</l></list></block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><list><l><bool>true</bool></l><script><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></list></block></script></block-definition><block-definition s="odd %&apos;1&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input></inputs><script><block s="doIf"><block s="reportVariadicEquals"><list><block s="reportModulus"><block var="1"/><l>2</l></block><l>1</l></list></block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><list><l><bool>true</bool></l><script><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></list></block></script></block-definition><block-definition s="draw row A, bricks: %&apos;bricks&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="%s" initial="1"></input><input type="%s" initial="1"></input><input type="%s" initial="1"></input><input type="%s" initial="1"></input></inputs><script><block s="doFor"><l>i</l><l>1</l><block s="reportDifference"><block var="bricks"/><l>1</l></block><script><block s="doIfElse"><custom-block s="even %s"><block var="i"/></custom-block><script><custom-block s="draw brick, length: %n width: %n"><block var="length"/><block var="width"/></custom-block></script><script><custom-block s="draw brick, length: %n width: %n"><block var="length"/><block var="width"/></custom-block></script></block><block s="forward"><block var="gap"/></block></script></block><custom-block s="draw brick, length: %n width: %n"><block var="length"/><block var="width"/></custom-block></script></block-definition><block-definition s="draw row B, bricks: %&apos;bricks&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="%s" initial="1"></input><input type="%s" initial="1"></input><input type="%s" initial="1"></input><input type="%s" initial="1"></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 s="reportDifference"><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="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></block-definition><block-definition s="Brick wall with %&apos;rows&apos; rows with bricks per row: %&apos;bricks&apos; of brick length: %&apos;length&apos; width: %&apos;width&apos; gap thickness %&apos;gap&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input><input type="%s" initial="1"></input><input type="%s" initial="1"></input><input type="%s" initial="1"></input><input type="%s" initial="1"></input></inputs><script><block s="doFor"><l>i</l><l>1</l><block var="rows"/><script><block s="doIfElse"><custom-block s="even %s"><block var="i"/></custom-block><script><custom-block s="draw row A, bricks: %s length: %s width: %s gap: %s"><block var="bricks"/><block var="length"/><block var="width"/><block var="gap"/></custom-block><block s="turn"><l>90</l></block><block s="forward"><l>20</l></block><block s="turn"><l>90</l></block></script><script><custom-block s="draw row B, bricks: %s length: %s width: %s gap: %s"><block var="bricks"/><block var="length"/><block var="width"/><block var="gap"/></custom-block><block s="turnLeft"><l>90</l></block><block s="forward"><l>20</l></block><block s="turnLeft"><l>90</l></block></script></block></script></block></script></block-definition><block-definition s="set pen to crayon %&apos;which&apos;" type="command" category="pen"><comment x="0" y="0" w="297.3333333333333" collapsed="false">Sets the pen color &#xD;to one of 100 preselected colors, like a box of 100 crayons.&#xD;The colors have names that are meant to be evocative.&#xD;They are organized in families, more or less corresponding&#xD;to spectral (rainbow) colors; the input slot has a two-level menu&#xD;in which you can hover over a family name to see the colors&#xD;of that family, each including a crayon number and an RGB value. &#xD;See Appendix A of the Snap! Reference Manual for more details.</comment><header></header><code></code><translations>ca:fixa el llapis de color _&#xD;pl:ustaw pisak na kredkę _&#xD;</translations><inputs><input type="%s"><options>grays={&#xD;0 black #000000=0&#xD;1 gray7 #121212=1&#xD;2 gray14 #242424=2&#xD;3 gray21 #363636=3&#xD;4 gray28 #484848=4&#xD;5 gray36 #5c5c5c=5&#xD;6 gray43 #6d6d6d=6&#xD;7 gray50 #7f7f7f=7&#xD;8 gray57 #919191=8&#xD;9 gray64 #a3a3a3=9&#xD;10 gray71 #b5b5b5=10&#xD;11 gray78 #c8c8c8=11&#xD;12 gray85 #dadada=12&#xD;13 gray92 #ececec=13&#xD;14 white #ffffff=14&#xD;}&#xD;pinks={&#xD;15 deep pink #ff1493=15&#xD;16 hot pink #ff69b4=16&#xD;17 bright pink #ff007f=17&#xD;18 raspberry #e30b5d=18&#xD;19 amaranth #e52b50=19&#xD;}&#xD;reds={&#xD;20 red #ff0000=20&#xD;21 burgundy #900020=21&#xD;22 cherry #990000=22&#xD;23 dark candy apple red #a40000=23&#xD;24 sanguine #c00000=24&#xD;25 maroon #800000=25&#xD;26 crimson #c90016=26&#xD;27 Lists #d94d11=27&#xD;28 candy apple red #ff0800=28&#xD;29 coquelicot #ff3800=29&#xD;}&#xD;browns={&#xD;30 saddle brown #8b4513=30&#xD;31 chocolate #7b3f00=31&#xD;32 kobicha #6b4423=32&#xD;33 sepia #704214=33&#xD;34 chestnut #954535=34&#xD;35 dark brown #654321=35&#xD;36 brown #964b00=36&#xD;37 golden brown #996515=37&#xD;38 cinnamon #b87333=38&#xD;39 copper #d2691e=39&#xD;}&#xD;oranges={&#xD;40 orange #ff7f00=40&#xD;41 Pantone orange #ff5800=41&#xD;42 pumpkin #ff7518=42&#xD;43 Variables #f3761d=43&#xD;44 Spanish orange #e86100=44&#xD;45 burnt orange #cc5500=45&#xD;46 sinopia #cb410b=46&#xD;47 ochre #cc7722=47&#xD;48 carrot #ed9121=48&#xD;49 tangerine #f28500=49&#xD;}&#xD;yellows={&#xD;50 yellow #ffff00=50&#xD;51 Control #e6a822=51&#xD;52 dark goldenrod #b8860b=52&#xD;53 goldenrod #daa520=53&#xD;54 saffron #f4c430=54&#xD;55 sandstorm #ecd540=55&#xD;56 mustard #ffdb58=56&#xD;57 gold #ffd700=57&#xD;58 egg yolk #fee33e=58&#xD;59 rubber duck #fbe108=59&#xD;}&#xD;greens={&#xD;60 lime #00ff00=60&#xD;61 apple green #8db600=61&#xD;62 Operators #62c213=62&#xD;63 forest green #228b22=63&#xD;64 green #008000=64&#xD;65 dark green #006400=65&#xD;66 dark pastel green #03c03c=66&#xD;67 emerald #50c878=67&#xD;68 mint #3eb489=68&#xD;69 Pen #00a178=69&#xD;}&#xD;cyans={&#xD;70 aqua (cyan) #00ffff=70&#xD;71 dark cyan #008b8b=71&#xD;72 cerulean #007ba7=72&#xD;73 iceberg #71a6d2=73&#xD;74 Sensing #0494dc=74&#xD;75 teal #008080=75&#xD;76 light sky blue #87cefa=76&#xD;77 deep sky blue #00bfff=77&#xD;78 dodger blue #1e90ff=78&#xD;79 azure #007fff=79&#xD;}&#xD;blues={&#xD;80 blue #0000ff=80&#xD;81 midnight blue #191970=81&#xD;82 dark powder blue #003399=82&#xD;83 cobalt #0047ab=83&#xD;84 denim #1560bd=84&#xD;85 navy blue #000080=85&#xD;86 steel blue #4682b4=86&#xD;87 Motion #4a6cd4=87&#xD;88 cornflower #6495ed=88&#xD;89 slate blue #6a5acd=89&#xD;}&#xD;purples={&#xD;90 violet #8000ff=90&#xD;91 Looks #8f56e3=91&#xD;92 grape #6f2da8=92&#xD;93 indigo #4b0082=93&#xD;94 x11 purple #a020f0=94&#xD;95 magenta (fuchia) #ff00ff=95&#xD;96 dark orchid #9932cc=96&#xD;97 Sound #cf4ad9=97&#xD;98 purple #7f007f=98&#xD;99 dark magenta #8b008b=99&#xD;}</options></input></inputs><script><block s="doDeclareVariables"><list><l>color</l></list></block><custom-block s="✐ initialize variables"></custom-block><block s="doIfElse"><block s="reportIsA"><block var="which"/><l><option>text</option></l></block><script><block s="doSetVar"><l>color</l><block s="reportFindFirst"><block s="reifyPredicate"><autolambda><block s="reportVariadicEquals"><list><block s="reportListItem"><l>4</l><l/></block><block var="which"/></list></block></autolambda><list></list></block><block var="✐ crayon colors"/></block></block><block s="doIfElse"><block s="reportVariadicNotEquals"><list><block var="color"/><l></l></list></block><script><block s="doSetVar"><l>✐ last crayon</l><block s="reportListItem"><l>5</l><block var="color"/></block></block></script><script><custom-block s="error %txt"><block s="reportJoinWords"><list><l>No such crayon: </l><block var="which"/></list></block></custom-block></script></block></script><script><block s="doSetVar"><l>color</l><block s="reportListItem"><block s="reportVariadicSum"><list><block s="reportModulus"><block var="which"/><l>100</l></block><l>1</l></list></block><block var="✐ crayon colors"/></block></block><block s="doSetVar"><l>✐ last crayon</l><block s="reportModulus"><block var="which"/><l>100</l></block></block></script></block><custom-block s="set pen color to r: %n g: %n b: %n"><block s="reportListItem"><l>1</l><block var="color"/></block><block s="reportListItem"><l>2</l><block var="color"/></block><block s="reportListItem"><l>3</l><block var="color"/></block></custom-block></script></block-definition><block-definition s="error %&apos;msg&apos;" type="command" category="control" helper="true"><header></header><code></code><translations>pt:lança o erro _&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doApplyExtension"><l>err_error(msg)</l><list><block var="msg"/></list></block></script></block-definition><block-definition s="set pen color to r: %&apos;r&apos; g: %&apos;g&apos; b: %&apos;b&apos;" type="command" category="pen" helper="true"><comment x="0" y="0" w="220.66666666666666" collapsed="false">Takes three inputs for red, green, and blue&#xD;values, each between 0 and 255.  0,0,0 is black; 255,255,255 is white.  255,255,0 is yellow, and so on.&#xD;&#xD;The SET PEN block in this library lets you set individual red, green, or blue without changing the others, lets you provide a list of three RGB color components, and lets you provide a six-digit hexadecimal number, the form in which RGB color values are usually found online.&#xD;&#xD;See Appendix A of the Snap! Reference Manual for details.</comment><header></header><code></code><translations>pt:altera a cor da tua caneta para vermelho _ , verde _ e azul _ (0 a 255)&#xD;</translations><inputs><input type="%n">255</input><input type="%n">0</input><input type="%n">0</input></inputs><script><block s="doApplyExtension"><l>clr_setpen(clr)</l><list><block s="reportApplyExtension"><l>clr_rgba(r, g, b, a)</l><list><block var="r"/><block var="g"/><block var="b"/><block s="reportApplyExtension"><l>clr_channel(clr, rgba)</l><list><block s="reportApplyExtension"><l>clr_pen</l><list></list></block><l>a</l></list></block></list></block></list></block></script></block-definition><block-definition s="✐ initialize variables" type="command" category="pen" helper="true"><comment x="0" y="0" w="180" collapsed="false">Creates a bunch of global variables.&#xD;For internal use by Color library.</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><custom-block s="does var %s exist?"><l>✐ last crayon</l></custom-block><script><block s="doStopThis"><l><option>this block</option></l></block></script><list></list></block><custom-block s="create %s var %mult%txt"><l>global</l><list><l>✐ last crayon</l><l>✐ crayon colors</l></list></custom-block><block s="doIf"><block s="reportNot"><block s="reportIsA"><block var="✐ crayon colors"/><l><option>list</option></l></block></block><script><block s="doSetVar"><l>✐ crayon colors</l><block s="reportTextSplit"><custom-block s="multiline %mlt"><l>0,0,0,black,0&#xD;18,18,18,gray7,1&#xD;36,36,36,gray14,2&#xD;54,54,54,gray21,3&#xD;72,72,72,gray28,4&#xD;92,92,92,gray36,5&#xD;109,109,109,gray43,6&#xD;127,127,127,gray50,7&#xD;145,145,145,gray57,8&#xD;163,163,163,gray64,9&#xD;181,181,181,gray71,10&#xD;200,200,200,gray78,11&#xD;218,218,218,gray85,12&#xD;236,236,236,gray92,13&#xD;255,255,255,white,14&#xD;255,20,147,deep pink,15&#xD;255,105,180,hot pink,16&#xD;255,0,127,bright pink,17&#xD;227,11,93,raspberry,18&#xD;229,43,80,amaranth,19&#xD;255,0,0,red,20&#xD;144,0,32,burgundy,21&#xD;153,0,0,cherry,22&#xD;164,0,0,dark candy apple red,23&#xD;192,0,0,sanguine,24&#xD;128,0,0,maroon,25&#xD;201,0,22,crimson,26&#xD;217,77,17,Lists,27&#xD;255,8,0,candy apple red,28&#xD;255,56,0,coquelicot,29&#xD;139,69,19,saddle brown,30&#xD;123,63,0,chocolate,31&#xD;107,68,35,kobicha,32&#xD;112,66,20,sepia,33&#xD;149,69,53,chestnut,34&#xD;101,67,33,dark brown,35&#xD;150,75,0,brown,36&#xD;153,101,21,golden brown,37&#xD;184,115,51,cinnamon,38&#xD;210,105,30,copper,39&#xD;255,127,0,orange,40&#xD;255,88,0,Pantone orange,41&#xD;255,117,24,pumpkin,42&#xD;243,118,29,Variables,43&#xD;232,97,0,Spanish orange,44&#xD;204,85,0,burnt orange,45&#xD;203,65,11,sinopia,46&#xD;204,119,34,ochre,47&#xD;237,145,33,carrot,48&#xD;242,133,0,tangerine,49&#xD;255,255,0,yellow,50&#xD;230,168,34,Control,51&#xD;184,134,11,dark goldenrod,52&#xD;218,165,32,goldenrod,53&#xD;244,196,48,saffron,54&#xD;236,213,64,sandstorm,55&#xD;255,219,88,mustard,56&#xD;255,215,0,gold,57&#xD;254,227,62,egg yolk,58&#xD;251,225,8,rubber duck,59&#xD;0,255,0,lime,60&#xD;141,182,0,apple green,61&#xD;98,194,19,Operators,62&#xD;34,139,34,forest green,63&#xD;0,128,0,green,64&#xD;0,100,0,dark green,65&#xD;3,192,60,dark pastel green,66&#xD;80,200,120,emerald,67&#xD;62,180,137,mint,68&#xD;0,161,120,Pen,69&#xD;0,255,255,aqua,70&#xD;0,139,139,dark cyan,71&#xD;0,123,167,cerulean,72&#xD;113,166,210,iceberg,73&#xD;4,148,220,Sensing,74&#xD;0,128,128,teal,75&#xD;135,206,250,light sky blue,76&#xD;0,191,255,deep sky blue,77&#xD;30,144,255,dodger blue,78&#xD;0,127,255,azure,79&#xD;0,0,255,blue,80&#xD;25,25,112,midnight blue,81&#xD;0,51,153,dark powder blue,82&#xD;0,71,171,cobalt,83&#xD;21,96,189,denim,84&#xD;0,0,128,navy blue,85&#xD;70,130,180,steel blue,86&#xD;74,108,212,Motion,87&#xD;100,149,237,cornflower,88&#xD;106,90,205,slate blue,89&#xD;128,0,255,violet,90&#xD;143,86,227,Looks,91&#xD;111,45,168,grape,92&#xD;75,0,130,indigo,93&#xD;160,32,240,x11 purple,94&#xD;255,0,255,magenta,95&#xD;153,50,204,dark orchid,96&#xD;207,74,217,Sound,97&#xD;127,0,127,purple,98&#xD;139,0,139,dark magenta,99&#xD;0,255,255,cyan,100&#xD;255,0,255,fuchia,101&#xD;18,18,18,grey7,102&#xD;36,36,36,grey14,103&#xD;54,54,54,grey21,104&#xD;72,72,72,grey28,105&#xD;92,92,92,grey36,106&#xD;109,109,109,grey43,107&#xD;127,127,127,grey50,108&#xD;145,145,145,grey57,109&#xD;163,163,163,grey64,110&#xD;181,181,181,grey71,111&#xD;200,200,200,grey78,112&#xD;218,218,218,grey85,113&#xD;236,236,236,grey92,114</l></custom-block><l><option>csv</option></l></block></block></script><list></list></block></script></block-definition><block-definition s="does var %&apos;_name&apos; exist?" type="predicate" category="variables" helper="true"><comment x="0" y="0" w="146" collapsed="false">This block reports &quot;true&quot; if there is a variable with this given name (input slot) in that context.&#xD;&#xD;It can be a global, sprite or script variable.&#xD;&#xD;Otherwise it reports &quot;false&quot;.</comment><header></header><code></code><translations>pt:a variável _ existe&#xD;ca:existeix la variable _ ?&#xD;es:existe la variable _ ?&#xD;de:existiert var _ ?&#xD;</translations><inputs><input type="%s"></input></inputs><script><block s="doApplyExtension"><l>err_try(cmd, catch, err)</l><list><block s="reifyScript"><script><block s="doApplyExtension"><l>err_ignore</l><list><block s="reportApplyExtension"><l>var_get(name)</l><list><block var="_name"/></list></block></list></block><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><list></list></block><block s="reifyScript"><script><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script><list></list></block><l></l></list></block><block s="doApplyExtension"><l>err_reset</l><list></list></block></script></block-definition><block-definition s="multiline %&apos;text&apos;" type="reporter" category="operators" helper="true"><header></header><code></code><translations>pt:o texto multilinha _&#xD;</translations><inputs><input type="%mlt"></input></inputs><script><block s="doReport"><block var="text"/></block></script></block-definition><block-definition s="create %&apos;_scope&apos; var %&apos;_names&apos;" type="command" category="variables" helper="true"><comment x="0" y="0" w="146" collapsed="false">This block creates  new variables on the selected scope: global (for all sprites), sprite (for this sprite only) or script (only for that blocks stack) with the names given (in &apos;names&apos; list).&#xD;&#xD;If there is already a variable with that name in that scope, it does nothing: no errors and no overwrites.</comment><header></header><code></code><translations>pt:cria as variáveis _ _&#xD;ca:crea les _ variables _&#xD;es:crear las _ variables _&#xD;de:erstellen _ var _&#xD;</translations><inputs><input type="%s" readonly="true">global<options>global&#xD;sprite&#xD;script</options></input><input type="%mult%txt"></input></inputs><script><block s="doWarp"><script><block s="doForEach"><l>_item</l><block var="_names"/><script><block s="doApplyExtension"><l>var_declare(scope, name)</l><list><block var="_scope"/><block var="_item"/></list></block></script></block></script></block></script></block-definition></blocks><primitives></primitives><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="532"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAADoVJREFUeF7t1cEJAAAIxDDdf2m3sJ+4wEEQuuMIECBAgACBd4F9XzRIgAABAgQIjAB7AgIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+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+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECByxcQFpoRMBzwAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="533"></list></costumes><sounds><list struct="atomic" id="534"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="1"><watcher var="Color List" style="normal" x="10" y="10" color="243,118,29" extX="80" extY="70"/><sprite name="Sprite" idx="1" x="-100" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="255,0,0,1" pen="tip" id="540"><costumes><list struct="atomic" id="541"></list></costumes><sounds><list struct="atomic" id="542"></list></sounds><blocks></blocks><variables></variables><scripts><script x="252.72356770833323" y="19.1666666666668"><custom-block s="draw row A"></custom-block></script><script x="338.890234375" y="23.499999999999943"><custom-block s="draw row B"></custom-block></script><script x="31.22356770833329" y="10"><custom-block s="draw brick, length: %n width: %n"><l>30</l><l>10</l></custom-block></script><script x="59.556901041666606" y="383.66666666666663"><custom-block s="draw row A, bricks: %s length: %s width: %s gap: %s"><l>4</l><l>20</l><l>10</l><l>5</l></custom-block></script><script x="58.556901041666606" y="448.6666666666665"><custom-block s="draw row B, bricks: %s length: %s width: %s gap: %s"><l></l><l></l><l></l><l></l></custom-block></script><script x="426.890234375" y="106.33333333333331"><block s="gotoXY"><l>-100</l><l>0</l></block></script><script x="30" y="503.4500000000003"><block s="doIf"><custom-block s="even %s"><block var="rows"/></custom-block><script><block s="doRepeat"><block s="reportQuotient"><block var="rows"/><l>2</l></block><script><custom-block s="draw row A, bricks: %s length: %s width: %s gap: %s"><block var="bricks"/><block var="length"/><block var="width"/><block var="gap"/></custom-block><block s="changeYPosition"><l>-15</l></block><block s="setXPosition"><l>-100</l></block><custom-block s="draw row B, bricks: %s length: %s width: %s gap: %s"><block var="bricks"/><block var="length"/><block var="width"/><block var="gap"/></custom-block><block s="changeYPosition"><l>-15</l></block><block s="setXPosition"><l>-100</l></block></script></block></script><list><custom-block s="odd %s"><block var="rows"/></custom-block><script><block s="doRepeat"><block s="reportQuotient"><block s="reportDifference"><block var="rows"/><l>1</l></block><l>2</l></block><script><custom-block s="draw row A, bricks: %s length: %s width: %s gap: %s"><block var="bricks"/><block var="length"/><block var="width"/><block var="gap"/></custom-block><block s="changeYPosition"><l>-15</l></block><block s="setXPosition"><l>-100</l></block><custom-block s="draw row B, bricks: %s length: %s width: %s gap: %s"><block var="bricks"/><block var="length"/><block var="width"/><block var="gap"/></custom-block><block s="changeYPosition"><l>-15</l></block><block s="setXPosition"><l>-100</l></block></script></block><custom-block s="draw row A, bricks: %s length: %s width: %s gap: %s"><block var="bricks"/><block var="length"/><block var="width"/><block var="gap"/></custom-block></script></list></block></script><script x="154.89023437499998" y="97.66666666666669"><block s="receiveGo"></block><block s="clear"></block><block s="gotoXY"><l>-100</l><l>0</l></block><custom-block s="draw brick wall, rows %s"><l>0</l></custom-block></script><script x="72.22356770833323" y="273"><custom-block s="Brick wall with %s rows with bricks per row: %s of brick length: %s width: %s gap thickness %s"><l>8</l><l>4</l><l>40</l><l>10</l><l>5</l></custom-block></script><script x="648.890234375" y="199"><block s="receiveGo"></block><block s="doSetVar"><l>Color List</l><block s="reportNewList"><list><l>Blue</l><l>Orange</l><l>Red</l></list></block></block></script><script x="794.890234375" y="333.3333333333333"><block s="receiveGo"></block><block s="doDeclareVariables"><list><l>colorHolder</l></list></block><block s="doUntil"><block s="reportListContainsItem"><block var="Color List"/><block var="colorHolder"/></block><script><block s="doAsk"><l>What color do you want?</l></block><block s="doSetVar"><l>colorHolder</l><block s="getLastAnswer"></block></block></script></block><block s="doIf"><block s="reportVariadicEquals"><list><block s="getLastAnswer"></block><l>Blue</l></list></block><script><custom-block s="set pen to crayon %s"><l>80</l></custom-block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><block s="getLastAnswer"></block><l>Orange</l></list></block><script><custom-block s="set pen to crayon %s"><l>40</l></custom-block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><block s="getLastAnswer"></block><l>Red</l></list></block><script><custom-block s="set pen to crayon %s"><l>20</l></custom-block></script><list></list></block></script></scripts></sprite></sprites></stage><variables><variable name="✐ last crayon"><l>20</l></variable><variable name="✐ crayon colors"><list id="719"><item><list struct="atomic" id="720">0,0,0,black,0</list></item><item><list struct="atomic" id="721">18,18,18,gray7,1</list></item><item><list struct="atomic" id="722">36,36,36,gray14,2</list></item><item><list struct="atomic" id="723">54,54,54,gray21,3</list></item><item><list struct="atomic" id="724">72,72,72,gray28,4</list></item><item><list struct="atomic" id="725">92,92,92,gray36,5</list></item><item><list struct="atomic" id="726">109,109,109,gray43,6</list></item><item><list struct="atomic" id="727">127,127,127,gray50,7</list></item><item><list struct="atomic" id="728">145,145,145,gray57,8</list></item><item><list struct="atomic" id="729">163,163,163,gray64,9</list></item><item><list struct="atomic" id="730">181,181,181,gray71,10</list></item><item><list struct="atomic" id="731">200,200,200,gray78,11</list></item><item><list struct="atomic" id="732">218,218,218,gray85,12</list></item><item><list struct="atomic" id="733">236,236,236,gray92,13</list></item><item><list struct="atomic" id="734">255,255,255,white,14</list></item><item><list struct="atomic" id="735">255,20,147,deep pink,15</list></item><item><list struct="atomic" id="736">255,105,180,hot pink,16</list></item><item><list struct="atomic" id="737">255,0,127,bright pink,17</list></item><item><list struct="atomic" id="738">227,11,93,raspberry,18</list></item><item><list struct="atomic" id="739">229,43,80,amaranth,19</list></item><item><list struct="atomic" id="740">255,0,0,red,20</list></item><item><list struct="atomic" id="741">144,0,32,burgundy,21</list></item><item><list struct="atomic" id="742">153,0,0,cherry,22</list></item><item><list struct="atomic" id="743">164,0,0,dark candy apple red,23</list></item><item><list struct="atomic" id="744">192,0,0,sanguine,24</list></item><item><list struct="atomic" id="745">128,0,0,maroon,25</list></item><item><list struct="atomic" id="746">201,0,22,crimson,26</list></item><item><list struct="atomic" id="747">217,77,17,Lists,27</list></item><item><list struct="atomic" id="748">255,8,0,candy apple red,28</list></item><item><list struct="atomic" id="749">255,56,0,coquelicot,29</list></item><item><list struct="atomic" id="750">139,69,19,saddle brown,30</list></item><item><list struct="atomic" id="751">123,63,0,chocolate,31</list></item><item><list struct="atomic" id="752">107,68,35,kobicha,32</list></item><item><list struct="atomic" id="753">112,66,20,sepia,33</list></item><item><list struct="atomic" id="754">149,69,53,chestnut,34</list></item><item><list struct="atomic" id="755">101,67,33,dark brown,35</list></item><item><list struct="atomic" id="756">150,75,0,brown,36</list></item><item><list struct="atomic" id="757">153,101,21,golden brown,37</list></item><item><list struct="atomic" id="758">184,115,51,cinnamon,38</list></item><item><list struct="atomic" id="759">210,105,30,copper,39</list></item><item><list struct="atomic" id="760">255,127,0,orange,40</list></item><item><list struct="atomic" id="761">255,88,0,Pantone orange,41</list></item><item><list struct="atomic" id="762">255,117,24,pumpkin,42</list></item><item><list struct="atomic" id="763">243,118,29,Variables,43</list></item><item><list struct="atomic" id="764">232,97,0,Spanish orange,44</list></item><item><list struct="atomic" id="765">204,85,0,burnt orange,45</list></item><item><list struct="atomic" id="766">203,65,11,sinopia,46</list></item><item><list struct="atomic" id="767">204,119,34,ochre,47</list></item><item><list struct="atomic" id="768">237,145,33,carrot,48</list></item><item><list struct="atomic" id="769">242,133,0,tangerine,49</list></item><item><list struct="atomic" id="770">255,255,0,yellow,50</list></item><item><list struct="atomic" id="771">230,168,34,Control,51</list></item><item><list struct="atomic" id="772">184,134,11,dark goldenrod,52</list></item><item><list struct="atomic" id="773">218,165,32,goldenrod,53</list></item><item><list struct="atomic" id="774">244,196,48,saffron,54</list></item><item><list struct="atomic" id="775">236,213,64,sandstorm,55</list></item><item><list struct="atomic" id="776">255,219,88,mustard,56</list></item><item><list struct="atomic" id="777">255,215,0,gold,57</list></item><item><list struct="atomic" id="778">254,227,62,egg yolk,58</list></item><item><list struct="atomic" id="779">251,225,8,rubber duck,59</list></item><item><list struct="atomic" id="780">0,255,0,lime,60</list></item><item><list struct="atomic" id="781">141,182,0,apple green,61</list></item><item><list struct="atomic" id="782">98,194,19,Operators,62</list></item><item><list struct="atomic" id="783">34,139,34,forest green,63</list></item><item><list struct="atomic" id="784">0,128,0,green,64</list></item><item><list struct="atomic" id="785">0,100,0,dark green,65</list></item><item><list struct="atomic" id="786">3,192,60,dark pastel green,66</list></item><item><list struct="atomic" id="787">80,200,120,emerald,67</list></item><item><list struct="atomic" id="788">62,180,137,mint,68</list></item><item><list struct="atomic" id="789">0,161,120,Pen,69</list></item><item><list struct="atomic" id="790">0,255,255,aqua,70</list></item><item><list struct="atomic" id="791">0,139,139,dark cyan,71</list></item><item><list struct="atomic" id="792">0,123,167,cerulean,72</list></item><item><list struct="atomic" id="793">113,166,210,iceberg,73</list></item><item><list struct="atomic" id="794">4,148,220,Sensing,74</list></item><item><list struct="atomic" id="795">0,128,128,teal,75</list></item><item><list struct="atomic" id="796">135,206,250,light sky blue,76</list></item><item><list struct="atomic" id="797">0,191,255,deep sky blue,77</list></item><item><list struct="atomic" id="798">30,144,255,dodger blue,78</list></item><item><list struct="atomic" id="799">0,127,255,azure,79</list></item><item><list struct="atomic" id="800">0,0,255,blue,80</list></item><item><list struct="atomic" id="801">25,25,112,midnight blue,81</list></item><item><list struct="atomic" id="802">0,51,153,dark powder blue,82</list></item><item><list struct="atomic" id="803">0,71,171,cobalt,83</list></item><item><list struct="atomic" id="804">21,96,189,denim,84</list></item><item><list struct="atomic" id="805">0,0,128,navy blue,85</list></item><item><list struct="atomic" id="806">70,130,180,steel blue,86</list></item><item><list struct="atomic" id="807">74,108,212,Motion,87</list></item><item><list struct="atomic" id="808">100,149,237,cornflower,88</list></item><item><list struct="atomic" id="809">106,90,205,slate blue,89</list></item><item><list struct="atomic" id="810">128,0,255,violet,90</list></item><item><list struct="atomic" id="811">143,86,227,Looks,91</list></item><item><list struct="atomic" id="812">111,45,168,grape,92</list></item><item><list struct="atomic" id="813">75,0,130,indigo,93</list></item><item><list struct="atomic" id="814">160,32,240,x11 purple,94</list></item><item><list struct="atomic" id="815">255,0,255,magenta,95</list></item><item><list struct="atomic" id="816">153,50,204,dark orchid,96</list></item><item><list struct="atomic" id="817">207,74,217,Sound,97</list></item><item><list struct="atomic" id="818">127,0,127,purple,98</list></item><item><list struct="atomic" id="819">139,0,139,dark magenta,99</list></item><item><list struct="atomic" id="820">0,255,255,cyan,100</list></item><item><list struct="atomic" id="821">255,0,255,fuchia,101</list></item><item><list struct="atomic" id="822">18,18,18,grey7,102</list></item><item><list struct="atomic" id="823">36,36,36,grey14,103</list></item><item><list struct="atomic" id="824">54,54,54,grey21,104</list></item><item><list struct="atomic" id="825">72,72,72,grey28,105</list></item><item><list struct="atomic" id="826">92,92,92,grey36,106</list></item><item><list struct="atomic" id="827">109,109,109,grey43,107</list></item><item><list struct="atomic" id="828">127,127,127,grey50,108</list></item><item><list struct="atomic" id="829">145,145,145,grey57,109</list></item><item><list struct="atomic" id="830">163,163,163,grey64,110</list></item><item><list struct="atomic" id="831">181,181,181,grey71,111</list></item><item><list struct="atomic" id="832">200,200,200,grey78,112</list></item><item><list struct="atomic" id="833">218,218,218,grey85,113</list></item><item><list struct="atomic" id="834">236,236,236,grey92,114</list></item></list></variable><variable name="Color List"><list struct="atomic" id="835">Blue,Orange,Red</list></variable></variables></scene></scenes></project><media name="[Khalil]-U3L3-BrickWall" app="Snap! 10.1-dev, https://snap.berkeley.edu" version="2"></media></snapdata>