<snapdata remixID="8981240"><project name="Disease Simulation" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAANXUlEQVR4Xu2be3CN1xrGn71z2blKkIhLgkjcidup1K3qoIqSOsrUcdo/ippe9JRplepQRo9bz9HQqnaiM6FqHKOtlhzjVsaISJEiLqGSJpFEgrhlZydy2WeelexI9pYISS1N3zVjbHuvbz3f93y/713vu9bHYLVarZAmDmhywGAPoNlsxqVLl3Dz5k2Ulpaq0yKjBoOh2lO83++Vx7D1tXHPcWv6fK/f+Z2npydatWqFxo0b13humnwV2Vo6UAFgcXEx4uPjcfnyZQQFBcHX1xdOTk61HKb6boTFZHKF0Vj3scx5eTAYjQpYPihpaWnqHJ966ikFpLQ/ngMKQEa6HTt2ICAgAE2aNKnXq2ja2BcX927EyUN7Ycn5rSLaPYxIq5at8NeZkbhSeBdmi8WC8+fP49lnnxUIH8ZUzccoAE+dOoUrV66oKa2+mzXjFA7+ZzqeCXaHr7uxTsOrJCBkILKeXlBlnPz8fGRlZWHUqFF1Gl8OfvQOKAA3btyIXr16Vcn1bHkZp7qkpCT06dOnytlVzvuq+8wDzu+IQqfkzQhsVB61nFxg9GmO0txLgLMrjP7tYL1+CdaC22XjG51h9A+BNe8qrOZrDo4UewUgc3y0w/cnTpzApEmTHr2DolgnBxSA33zzDbp161ZlIEaUVatWYebMmaooad++PQoLC3Ht2jU1Vd+4cQNt27ZFbm4uMjIy1PHp6ekwmUzw8fGBm5ubGu+X/67EM+bd8HI1Ai5uMD03H8agHrCs+RtMzy+GAVYYGgfBsu4loLQYrqPmKUANPi1QED0FVsvNKudV7BmAtOfXOVx0dnY2hg8fXicz5OBH70BFBOzSpUsV9f3792PLli344IMP8MUXX6Bnz564desWgoOD4eXlpfpWV6HahUp2LPuKKz4V1TRXf/i97W/73yuPUqlP5f619Ks20fpelXxtjrOdQn31dXZ2VpV9p06d0K5du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MCoFb7RVwAFAa0OiAAarVfxAVAYUCrAwKgVvtFXAAUBrQ6IABqtV/EBUBhQKsDAqBW+0VcABQGtDogAGq1X8QFQGFAqwMCoFb7RVwAFAa0OiAAarVfxAVAYUCrAwKgVvtFXAAUBrQ6IABqtV/EBUBhQKsDAqBW+0VcABQGtDogAGq1X8QFQGFAqwMCoFb7RVwAFAa0OiAAarVfxAVAYUCrAwKgVvtFXAAUBrQ6IABqtV/EBUBhQKsDAqBW+0VcABQGtDogAGq1X8QFQGFAqwMCoFb7RVwAFAa0OiAAarVfxAVAYUCrAwKgVvtFXAAUBrQ6IABqtV/ECeCHYoM4oMuB/wMHdFSDxANa0wAAAABJRU5ErkJggg==</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" volume="100" pan="0" lines="round" ternary="true" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAOhUlEQVR4Xu3VwQkAAAjEMN1/abewn7jAQRC64wgQIECAAIF3gX1fNEiAAAECBAiMAHsCAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gm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AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+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="Person" idx="1" x="-74.49286373990645" y="146.93664559979018" heading="52" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="1" color="80,80,80,1" pen="tip" id="8"><costumes><list id="9"><item><costume name="healthy" center-x="8" center-y="9" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAABGUlEQVQ4T+2UIU/DUBCAv1ugXUJQEIIgQWFY+w9ICAbUsKhhh0JNYFAIECgUs0xhccwMEn7BWkCgSBDLgiWhD7IjLVt5zYDQap57d/d9ebm8O2HsaMnhdkvQFWBxmH5U5MZQOQcZ2IjYF5dgF9gHZsfFSeQZOIjwT0b5VOAQnAnUfgAzYYWWwd+Og4nAJTgF6n+BrZpmhL8jLmEV9CInPCyXTXEJroDVYgKuY4EWhBPsX/DZAwNMFmzkm5TpHiqyV0Qg6JFMcz9jeL8D5nJK+g4Ty6OvvA5c5hRsRPjtdJjKhGsKTdCl30XyIFB/xeukw/QFJLugIQxqIF5WpKFSahkqx/ZOyOwDG5ginDfoQhxzkKcXvN53L/sABJxNPpw+6pgAAAAASUVORK5CYII=" id="10"/></item><item><costume name="sick" center-x="9" center-y="9" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAkElEQVQ4T2NkwAr+M71hkPiLTUqE4QUzAwPjP3Q5RnSBNwzi/7EbjioqwvASRS8Kh1hDYEYiGwY3iFRD0A0DG0SuIciGUc8gSl0DcxXjqEEE0yj1Yo2q6YiX4brwfQaHNwTdj0WBIsMBkc8Mmm+pm0VgFpGaprBmWoSrcZdFiLyFWSZhlEfIwYDuQvQyCFktACGSOB34Az5xAAAAAElFTkSuQmCC" id="11"/></item><item><costume name="immune" center-x="9" center-y="9" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAj0lEQVQ4T2NkwAr+MzHs9P6LVcp9KzMDA+M/dDlGDMU7vf5jNxxN1H0bil5Ug4g1BGYmkmEIg0g1BM0wiEHkGoJkGBUNotQ1UFcxUuytkWDQ4It+BgYGXobrwp93Fr8hKo+hKeJ17xX5zKD5lspZBGYLqYkTa6aFOxlPWQTPW5hlEmZ5hBwG6C5EK4OQlQIAcwY5HaHJnWsAAAAASUVORK5CYII=" id="12"/></item></list></costumes><sounds><list struct="atomic" id="13"></list></sounds><blocks></blocks><variables><variable name="myspeed"><l>15</l></variable></variables><scripts><script x="17.48936070212767" y="10"><block s="receiveGo"></block><block s="doStopThis"><l><option>all but this script</option></l></block><block s="gotoXY"><l>0</l><l>0</l></block><block s="doWait"><l>.1</l></block><block s="doHideVar"><l>timer</l></block><block s="show"></block><custom-block s="set variables for simulation"></custom-block><custom-block s="initialize sim"></custom-block><block s="doBroadcast"><l>start</l></block><block s="doShowVar"><l>timer</l></block><block s="doForever"><script><custom-block s="update timer"></custom-block><custom-block s="Stop everything if everyone is infected"></custom-block></script></block></script><script x="10" y="307.6205683758865"><block s="receiveMessage"><l>start</l></block><block s="doForever"><script><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>1</l></block><custom-block s="touching infected?"></custom-block></block><script><block s="doIf"><custom-block s="%s &lt;= %s"><block s="reportRandom"><l>1</l><l>100</l></block><block var="percent infection rate"/></custom-block><script><block s="doSwitchToCostume"><l>sick</l></block><block s="doSetVar"><l>myspeed</l><block s="reportQuotient"><block var="myspeed"/><block var="speedReductionFactor"/></block></block></script></block></script></block><block s="doIf"><block var="healingProb?"/><script><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><custom-block s="%s &lt;= %s"><block s="reportRandom"><l>1</l><l>100</l></block><block var="healing probability"/></custom-block></block><script><block s="doIf"><block var="healingImmunity?"/><script><block s="doSwitchToCostume"><l>immune</l></block><block s="doStopThis"><l><option>this script</option></l></block></script></block><block s="doSwitchToCostume"><l>healthy</l></block></script></block></script></block><block s="doIf"><block var="healingTime?"/><script><block s="doIf"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><script><block s="doWait"><block var="healing time"/></block><block s="doIf"><block var="healingImmunity?"/><script><block s="doSwitchToCostume"><l>immune</l></block><block s="doStopThis"><l><option>this script</option></l></block></script></block><block s="doSwitchToCostume"><l>healthy</l></block></script></block></script></block></script></block></script><script x="218.56737488652482" y="10.964539007092128"><block s="receiveMessage"><l>start</l></block><block s="setHeading"><block s="reportRandom"><l>0</l><l>360</l></block></block><block s="doForever"><script><block s="forward"><block s="reportQuotient"><block var="myspeed"/><l>5</l></block></block><block s="bounceOffEdge"></block></script></block></script><script x="553.5248216950355" y="202.46099290780137"><block s="receiveGo"></block><block s="removeClone"></block></script></scripts></sprite><watcher scope="Person" s="xPosition" style="normal" x="3.5024305555557476" y="3.5024305555555557" color="74,108,212" hidden="true"/><watcher scope="Person" s="yPosition" style="normal" x="3.5024305555557476" y="10.85753542270831" color="74,108,212" hidden="true"/><watcher scope="Stage" s="reportMouseX" style="normal" x="2.101458333333312" y="14.009726425138851" color="4,148,220" hidden="true"/><watcher scope="Stage" s="reportMouseY" style="normal" x="2.8019444444441888" y="22.065317403402773" color="4,148,220" hidden="true"/><watcher scope="Stage" s="getTimer" style="normal" x="0.7004861111109904" y="1.751218780208312" color="4,148,220" hidden="true"/><watcher var="timer" style="normal" x="1.4009722222220944" y="2.4517048913194373" color="243,118,29"/><watcher scope="Person" var="myspeed" style="normal" x="5.4583333333332575" y="16.920834424999995" color="243,118,29" hidden="true"/><watcher var="healingImmunity?" style="normal" x="11.748878923766824" y="11.748878923766824" color="243,118,29"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="label %&apos;text&apos; of size %&apos;size&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">LABEL will stamp text on the stage at the given font size. The direction of the text is the direction the sprite is facing, and color will match the pen color.</comment><header></header><code></code><translations></translations><inputs><input type="%txt">Hello!</input><input type="%n">12</input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>text</l><l>size</l></list><l>var stage = this.parentThatIsA(StageMorph),&#xD;    context = stage.penTrails().getContext(&apos;2d&apos;),&#xD;    rotation = radians(this.direction() - 90),&#xD;    trans = new Point(&#xD;      this.center().x - stage.left(),&#xD;      this.center().y - stage.top()&#xD;    ),&#xD;    isWarped = this.Warped,&#xD;    len,&#xD;    pos;&#xD;&#xD;if (isWarped) {endWarp(); }&#xD;context.save();&#xD;context.font = size + &apos;px monospace&apos;;&#xD;context.textAlign = &apos;left&apos;;&#xD;context.textBaseline = &apos;alphabetic&apos;;&#xD;context.fillStyle = this.color.toString();&#xD;len = context.measureText(text).width;&#xD;trans = trans.multiplyBy(1 / stage.scale);&#xD;context.translate(trans.x, trans.y);&#xD;context.rotate(rotation);&#xD;context.fillText(text, 0, 0);&#xD;context.translate(-trans.x, -trans.y);&#xD;context.restore();&#xD;pos = new Point(&#xD;  len * Math.sin(radians(this.direction())),&#xD;  len * Math.cos(radians(this.direction())));&#xD;pos = pos.add(new Point(this.xPosition(), this.yPosition()));&#xD;this.gotoXY(pos.x, pos.y, false);&#xD;this.changed();&#xD;if (isWarped) {this.startWarp(); }&#xD;stage.changed();</l></block><list><block var="text"/><block var="size"/></list></block></script></block-definition><block-definition s="empty? %&apos;data&apos;" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportEquals"><block var="data"/><block s="reportNewList"><list></list></block></block></block></script></block-definition><block-definition s="keep items such that %&apos;pred&apos; from %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%predRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doIfElse"><block s="evaluate"><block var="pred"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><script><block s="doReport"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></block></script><script><block s="doReport"><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></script></block></script></block></script></block-definition><block-definition s="combine with %&apos;function&apos; items of %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="data"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="data"/></block></block></script></block><block s="doReport"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="combine with %repRing items of %l"><block var="function"/><block s="reportCDR"><block var="data"/></block></custom-block></list></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; then %&apos;true&apos; else %&apos;false&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%b"></input><input type="%anyUE"></input><input type="%anyUE"></input></inputs><script><block s="doIfElse"><block var="test"/><script><block s="doReport"><block s="evaluate"><block var="true"/><list></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="false"/><list></list></block></block></script></block></script></block-definition><block-definition s="for %&apos;i&apos; = %&apos;start&apos; to %&apos;end&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%n">1</input><input type="%n">10</input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>step</l><l>tester</l></list></block><block s="doIfElse"><block s="reportGreaterThan"><block var="start"/><block var="end"/></block><script><block s="doSetVar"><l>step</l><l>-1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportLessThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script><script><block s="doSetVar"><l>step</l><l>1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportGreaterThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script></block><block s="doSetVar"><l>i</l><block var="start"/></block><block s="doUntil"><block s="evaluate"><block var="tester"/><list></list></block><script><block s="doRun"><block var="action"/><list></list></block><block s="doChangeVar"><l>i</l><block var="step"/></block></script></block></script></block-definition><block-definition s="join words %&apos;words&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%mult%txt"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="words"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="words"/></block></block></script></block><block s="doIf"><block s="reportEquals"><l></l><block s="reportListItem"><l>1</l><block var="words"/></block></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></block></script></block><block s="doIf"><block s="reportEquals"><l></l><block s="reportListItem"><l>2</l><block var="words"/></block></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="words"/></block><block s="reportCDR"><block s="reportCDR"><block var="words"/></block></block></block></custom-block></block></script></block><block s="doReport"><block s="reportJoinWords"><list><block s="reportListItem"><l>1</l><block var="words"/></block><l> </l><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></list></block></block></script></block></script><scripts><script x="229.000003" y="196.77778077777774"><block s="reportJoinWords"><list><l></l><l></l></list></block></script></scripts></block-definition><block-definition s="list $arrowRight sentence %&apos;data&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doReport"><custom-block s="join words %mult%txt"><block var="data"/></custom-block></block></script></block></script></block-definition><block-definition s="sentence $arrowRight list %&apos;text&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportTextSplit"><block var="text"/><l><option>whitespace</option></l></block></block></script></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%cs"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doRun"><block var="action"/><list></list></block></script><list><l>cont</l></list></block></block><custom-block s="ignore %s"><l>3</l></custom-block></script></block-definition><block-definition s="throw %&apos;cont&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input></inputs><script><block s="doRun"><block var="cont"/><list></list></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;value&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%anyUE"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doReport"><block s="evaluate"><block var="value"/><list></list></block></block></script><list><l>cont</l></list></block></block></script></block-definition><block-definition s="throw %&apos;tag&apos; %&apos;value&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input><input type="%s"></input></inputs><script><block s="doRun"><block var="tag"/><list><block var="value"/></list></block></script></block-definition><block-definition s="for each %&apos;item&apos; of %&apos;data&apos; %&apos;action&apos;" type="command" category="lists"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%l"></input><input type="%cs"></input></inputs><script><block s="doUntil"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doSetVar"><l>item</l><block s="reportListItem"><l>1</l><block var="data"/></block></block><block s="doRun"><block var="action"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="doSetVar"><l>data</l><block s="reportCDR"><block var="data"/></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; do %&apos;action&apos; and pause all $pause-1-255-220-0" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%boolUE"></input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>breakpoint</l></list></block><block s="doIf"><block s="evaluate"><block var="test"/><list></list></block><script><block s="doSetVar"><l>breakpoint</l><block var="test"/></block><block s="doShowVar"><l>breakpoint</l></block><block s="doRun"><block var="action"/><list></list></block><block s="doPauseAll"></block><block s="doHideVar"><l></l></block></script></block></script></block-definition><block-definition s="word $arrowRight list %&apos;word&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportTextSplit"><block var="word"/><l><option>letter</option></l></block></block></script></block></script></block-definition><block-definition s="ignore %&apos;x&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs></block-definition><block-definition s="list $arrowRight word %&apos;list&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportJoinWords"><block var="list"/></block></block></script></block></script></block-definition><block-definition s="%&apos;x&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block var="x"/></block></script></block-definition><block-definition s="numbers from %&apos;from&apos; to %&apos;to&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%n">1</input><input type="%n">10</input></inputs><script><block s="doIf"><block s="reportGreaterThan"><block var="from"/><block var="to"/></block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block var="from"/><custom-block s="numbers from %n to %n"><block s="reportSum"><block var="from"/><l>1</l></block><block var="to"/></custom-block></block></block></script></block-definition><block-definition s="map %&apos;func&apos; over %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%l"></input></inputs><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block var="data"/></block></script></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="func"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><custom-block s="map %repRing over %l"><block var="func"/><block s="reportCDR"><block var="data"/></block></custom-block></block></block></script></block-definition><block-definition s="random x position" type="reporter" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportRandom"><l>-230</l><l>230</l></block></block></script></block-definition><block-definition s="random y position" type="reporter" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportRandom"><l>-170</l><l>170</l></block></block></script></block-definition><block-definition s="touching infected?" type="predicate" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="for each %upvar of %l %cs"><l>item</l><block s="reportGet"><l><option>neighbors</option></l></block><script><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="reportAttributeOf"><l><option>costume #</option></l><block var="item"/></block><l>2</l></block><block s="reportLessThan"><block s="reportRelationTo"><l><option>distance</option></l><block var="item"/></block><l>15</l></block></block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script></custom-block><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block-definition><block-definition s="update timer" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>timer</l><block s="getTimer"></block></block></script></block-definition><block-definition s="set population size" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>population size</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="population size"/></custom-block><custom-block s="%s &lt;= %s"><block var="population size"/><l>200</l></custom-block></block><script><block s="doAsk"><l>Population Size? (Enter a number between 1 and 200)</l></block><block s="doSetVar"><l>population size</l><block s="getLastAnswer"></block></block></script></block><block s="doSetVar"><l>population size</l><block s="reportMonadic"><l><option>floor</option></l><block var="population size"/></block></block></script></block-definition><block-definition s="%&apos;a&apos; &lt;= %&apos;b&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportOr"><block s="reportLessThan"><block var="a"/><block var="b"/></block><block s="reportEquals"><block var="a"/><block var="b"/></block></block></block></script></block-definition><block-definition s="Set percent infected" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>percent infected</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="percent infected"/></custom-block><custom-block s="%s &lt;= %s"><block var="percent infected"/><l>100</l></custom-block></block><script><block s="doAsk"><l>Initial Percent Infected (Enter a number between 1 and 100)</l></block><block s="doSetVar"><l>percent infected</l><block s="getLastAnswer"></block></block></script></block><block s="doSetVar"><l>percent infected</l><block s="reportMonadic"><l><option>floor</option></l><block var="percent infected"/></block></block></script></block-definition><block-definition s="Set speed" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>speed</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="speed"/></custom-block><custom-block s="%s &lt;= %s"><block var="speed"/><l>20</l></custom-block></block><script><block s="doAsk"><l>Speed that people will move around? (Enter a number between 1 and 10)</l></block><block s="doSetVar"><l>speed</l><block s="getLastAnswer"></block></block></script></block><block s="doSetVar"><l>speed</l><block s="reportMonadic"><l><option>floor</option></l><block var="speed"/></block></block></script></block-definition><block-definition s="initialize sim" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>initial infected</l><l>infected count</l></list></block><block s="doSetVar"><l>infected count</l><l>0</l></block><block s="doSetVar"><l>initial infected</l><block s="reportRound"><block s="reportProduct"><block s="reportQuotient"><block var="percent infected"/><l>100</l></block><block var="population size"/></block></block></block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><block var="population size"/><script><block s="doIfElse"><block s="reportLessThan"><block var="infected count"/><block var="initial infected"/></block><script><block s="doSwitchToCostume"><l>sick</l></block><block s="doChangeVar"><l>infected count</l><l>1</l></block><block s="doSetVar"><l>myspeed</l><block s="reportQuotient"><block var="speed"/><block var="speedReductionFactor"/></block></block></script><script><block s="doSwitchToCostume"><l>healthy</l></block><block s="doSetVar"><l>myspeed</l><block var="speed"/></block></script></block><block s="gotoXY"><custom-block s="random x position"></custom-block><custom-block s="random y position"></custom-block></block><block s="createClone"><l><option>myself</option></l></block></script></custom-block><block s="hide"></block><block s="doResetTimer"></block></script></block-definition><block-definition s="Stop everything if everyone is infected" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportNot"><block s="reportListContainsItem"><custom-block s="map %repRing over %l"><block s="reifyReporter"><autolambda><block s="reportAttributeOf"><l><option>costume #</option></l><l></l></block></autolambda><list></list></block><block s="reportGet"><l><option>clones</option></l></block></custom-block><l>1</l></block></block><script><block s="doStopThis"><l><option>all but this script</option></l></block><block s="doStopThis"><l><option>this script</option></l></block></script></block></script></block-definition><block-definition s="set variables for simulation" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="set population size"></custom-block><custom-block s="Set percent infected"></custom-block><custom-block s="Set speed"></custom-block><custom-block s="Set speed reduction"></custom-block><custom-block s="Set infection rate"></custom-block><custom-block s="Set healing"></custom-block></script></block-definition><block-definition s="Set infection rate" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>percent infection rate</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="percent infection rate"/></custom-block><custom-block s="%s &lt;= %s"><block var="percent infection rate"/><l>100</l></custom-block></block><script><block s="doAsk"><l>Percent Infection Rate (Enter a number between 1 and 100)</l></block><block s="doSetVar"><l>percent infection rate</l><block s="getLastAnswer"></block></block></script></block><block s="doSetVar"><l>percent infection rate</l><block s="reportMonadic"><l><option>floor</option></l><block var="percent infection rate"/></block></block></script></block-definition><block-definition s="Set speed reduction" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>speedReductionFactor</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="speedReductionFactor"/></custom-block><custom-block s="%s &lt;= %s"><block var="speedReductionFactor"/><l>7</l></custom-block></block><script><block s="doAsk"><l>Infected Speed Reduction Factor (Enter a number between 1 and 7)</l></block><block s="doSetVar"><l>speedReductionFactor</l><block s="getLastAnswer"></block></block></script></block><block s="doSetVar"><l>speedReductionFactor</l><block s="reportMonadic"><l><option>floor</option></l><block var="speedReductionFactor"/></block></block></script></block-definition><block-definition s="Set healing" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>answer</l><l>answer2</l></list></block><block s="doSetVar"><l>healingProb?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doSetVar"><l>healingTime?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doSetVar"><l>healingImmunity?</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doSetVar"><l>healing probability</l><l>0</l></block><block s="doSetVar"><l>healing time</l><l>0</l></block><block s="doUntil"><block s="reportOr"><block s="reportEquals"><block var="answer"/><l>YES</l></block><block s="reportEquals"><block var="answer"/><l>NO</l></block></block><script><block s="doAsk"><l>Do you want passive healing? (Type YES or NO)</l></block><block s="doSetVar"><l>answer</l><block s="getLastAnswer"></block></block></script></block><block s="doIf"><block s="reportEquals"><block var="answer"/><l>YES</l></block><script><block s="doUntil"><block s="reportOr"><block s="reportEquals"><block var="answer"/><l>PROB</l></block><block s="reportEquals"><block var="answer"/><l>TIME</l></block></block><script><block s="doAsk"><l>Heal by probability or time? (Type PROB or TIME)</l></block><block s="doSetVar"><l>answer</l><block s="getLastAnswer"></block></block></script></block><block s="doIf"><block s="reportEquals"><block var="answer"/><l>PROB</l></block><script><block s="doSetVar"><l>healingProb?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="healing probability"/></custom-block><custom-block s="%s &lt;= %s"><block var="healing probability"/><l>100</l></custom-block></block><script><block s="doAsk"><l>Probability of Healing (Between 1 and 100)</l></block><block s="doSetVar"><l>healing probability</l><block s="getLastAnswer"></block></block></script></block></script></block><block s="doIf"><block s="reportEquals"><block var="answer"/><l>TIME</l></block><script><block s="doSetVar"><l>healingTime?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="healing time"/></custom-block><custom-block s="%s &lt;= %s"><block var="healing time"/><l>10</l></custom-block></block><script><block s="doAsk"><l>Time for Healing (1 to 10 seconds)</l></block><block s="doSetVar"><l>healing time</l><block s="getLastAnswer"></block></block></script></block></script></block><block s="doUntil"><block s="reportOr"><block s="reportEquals"><block var="answer2"/><l>YES</l></block><block s="reportEquals"><block var="answer2"/><l>NO</l></block></block><script><block s="doAsk"><l>Do immunity after healed? (Type YES or NO)</l></block><block s="doSetVar"><l>answer2</l><block s="getLastAnswer"></block></block></script></block><block s="doIf"><block s="reportEquals"><block var="answer2"/><l>YES</l></block><script><block s="doSetVar"><l>healingImmunity?</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script></block></script></block-definition></blocks><variables><variable name="population size"><l>100</l></variable><variable name="percent infected"><l>20</l></variable><variable name="speed"><l>15</l></variable><variable name="timer"><l>19.9</l></variable><variable name="percent infection rate"><l>100</l></variable><variable name="speedReductionFactor"><l>3</l></variable><variable name="healing probability"><l>0</l></variable><variable name="healingTime?"><bool>true</bool></variable><variable name="healingProb?"><bool>false</bool></variable><variable name="healing time"><l>3</l></variable><variable name="healingImmunity?"><bool>true</bool></variable></variables></project><media name="Disease Simulation" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>