<snapdata remixID="10060783"><project name="u2l12 ryan f" app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAACHUlEQVR4nO3XMWpUURiG4exBUEhpSkFtLGxsnEKwsRLMXgKCYJ/NBGYts4TsIScLCIhwZnjv4T4P3PKDv3iLc68GhK7qA9g3AZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSWjrA++vDf33FZma3JwIUYEqAAkwtHSDrEyApAZISIKmlA9zCT8M5NnsmwMmdAOcIcHInwDlLB8j6BEhKgKSWDrB6s13yTbk3AhRgSoACTAlQgKmlA2R9AiQlQFJLB7iFN9s5NnsmwMmdAOcIcHInwDlLB8j6BEhKgKQESGrpAKufhkv+1OyNAAWYEqAAU0sHyPoESEqApJYOcAtvtnNs9kyAkzsBzhHg5E6AcwQ4uRPgnKUDZH0CJLXJAP+8PYxfr9+Ph4eH+hQubJMBjvHynfTt5uN4fHysz+LMNhvgGP9+4H/59Lk+jzPYbIC3bz68iO7nq3fjeDzWp3FGmwzw9vuPcX99GHc3X8ffu9/j6empPokL2VyAp9NJcDuyuQDZFwGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSegaoBoA9KXnAIQAAAABJRU5ErkJggg==</thumbnail><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" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAEGklEQVR4nO3csW0DURBDQdXhetygK7ZbUGDcUuQM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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4J/8Ab5sBeXPLK69AAAAAElFTkSuQmCC</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><watcher var="VARIABLE" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><sprite name="Sprite" idx="1" x="-100" y="-20" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="145,26,68,1" pen="tip" id="9"><costumes><list struct="atomic" id="10"></list></costumes><sounds><list struct="atomic" id="11"></list></sounds><blocks></blocks><variables></variables><scripts><script x="160" y="378.6666666666665"><block s="receiveGo"></block><custom-block s="draw brick wall with %s bricks per row %s rows %s brick length %s width %s gap thickness"><l>4</l><l>6</l><l>30</l><l>10</l><l>20</l></custom-block></script></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"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input></inputs><script><block s="setColor"><color>145,26,68,1</color></block><block s="doSetGlobalFlag"><l><option>flat line ends</option></l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="setSize"><block var="width"/></block><block s="down"></block><block s="forward"><block var="length"/></block><block s="up"></block></script></block-definition><block-definition s="set flat line ends to %&apos;flag&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%b"></input></inputs><script><custom-block s="set flag %s to %b"><l>Flat line ends</l><block var="flag"/></custom-block></script></block-definition><block-definition s="rowa %&apos;amount&apos; %&apos;brick length&apos; %&apos;width&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doRepeat"><block var="amount"/><script><custom-block s="draw brick, length: %n width: %n"><block var="brick length"/><block var="width"/></custom-block><block s="changeXPosition"><block s="reportQuotient"><block var="brick length"/><l>3</l></block></block></script></block></script></block-definition><block-definition s="rowb %&apos;amount&apos; %&apos;brick length&apos; %&apos;width&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><custom-block s="draw brick, length: %n width: %n"><block s="reportQuotient"><block var="brick length"/><l>3</l></block><block var="width"/></custom-block><block s="changeXPosition"><block s="reportQuotient"><block var="brick length"/><l>3</l></block></block><custom-block s="rowa %s %s %s"><block s="reportDifference"><block var="amount"/><l>2</l></block><block var="brick length"/><block var="width"/></custom-block><custom-block s="draw brick, length: %n width: %n"><block s="reportQuotient"><block var="brick length"/><l>3</l></block><block var="width"/></custom-block><block s="changeXPosition"><block s="reportQuotient"><block var="brick length"/><l>3</l></block></block></script></block-definition><block-definition s="draw brick wall with %&apos;length&apos; bricks per row %&apos;rows&apos; rows %&apos;brick length&apos; brick length %&apos;width&apos; width %&apos;gap thickness&apos; gap thickness" 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="clear"></block><block s="gotoXY"><l>-100</l><l>100</l></block><block s="doSetVar"><l>VARIABLE</l><l>0</l></block><block s="doForever"><script><block s="doIf"><block s="reportEquals"><block s="reportModulus"><block var="VARIABLE"/><l>2</l></block><l>0</l></block><script><custom-block s="rowa %s %s %s"><block var="length"/><block var="brick length"/><block var="width"/></custom-block><block s="doChangeVar"><l>VARIABLE</l><l>1</l></block><block s="changeYPosition"><block s="reportProduct"><block var="gap thickness"/><l>-1</l></block></block><block s="setXPosition"><l>-100</l></block><block s="doIf"><block s="reportEquals"><block var="VARIABLE"/><block var="rows"/></block><script><block s="doStopThis"><l><option>all</option></l></block></script></block></script></block><block s="doIf"><block s="reportEquals"><block s="reportModulus"><block var="VARIABLE"/><l>2</l></block><l>1</l></block><script><custom-block s="rowb %s %s %s"><block s="reportSum"><block var="length"/><l>1</l></block><block var="brick length"/><block var="width"/></custom-block><block s="doChangeVar"><l>VARIABLE</l><l>1</l></block><block s="changeYPosition"><block s="reportProduct"><block var="gap thickness"/><l>-1</l></block></block><block s="setXPosition"><l>-100</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="VARIABLE"/><block var="rows"/></block><script><block s="doStopThis"><l><option>all</option></l></block></script></block></script></block></script></block-definition></blocks><variables><variable name="VARIABLE"><l>6</l></variable></variables></project><media name="u2l12 ryan f" app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>