<snapdata remixID="8975839"><project name="Disease Simulation" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAEb0lEQVR4Xu2Yz0uTcRzHP7MfhozcORIikSyQ4c1gSFh4kE7SzsOTiVcPXbyZEJ0GQeA9+hM8DYQFMi8LwkCQMJAOg0GQJ0MXzxNbST80UHyv9+u5iLHn8f36vl7oVqbVarWCixM4pxPIEOA5nTw/Nj2BIwHW6/VYW1s7k6PJ5/MxMTFxJs/mod17Ap0AV1dXY2hoKJK/yJlM5tivuQv78epxIbKXe/5Kf7WvN+6/fBfNZjMODg5ieHi4e0+L5ad+AmmAtVotstlsGl77aof4p+9rT8ajeLvvx6Dk3uTtZPvrT1Ozzz7G5ub79PnVajVmZ2dPHYQHducJpAEuLi7G9PR0GsjS0lIUi8XY3t6O5N+Ta319PUqlUoyMjMTU1FSMjo7Gh6eTMXnzSoe653o+Lt66F60vjfi68frIaSQB1utv0+fv7e1FoVDoztNi9amfQBpguVyOsbGxNJCdnZ1I3q8lv6n6+/sjl8vF1tZWzM/Px8zMTMzNzaWv233+8EiAl+6WoufanWh9/hT7lfIvAdZqG9/v291NY+fiBDofQhqNRhrZv1zNF4/iwY3eE92S/AasVt+kr03+3C8sLJzoPl70/59A50PIyspKDA4OpsTtDyFt/N99n3xgGRgYOPaEDg8P00/WyXvKSqUSy8vLx97DC3xOgP8H9HEtSUqAklp8RhGgj2tJUgKU1OIzigB9XEuSEqCkFp9RBOjjWpKUACW1+IwiQB/XkqQEKKnFZxQB+riWJCVASS0+owjQx7UkKQFKavEZRYA+riVJCVBSi88oAvRxLUlKgJJafEYRoI9rSVIClNTiM4oAfVxLkhKgpBafUQTo41qSlAAltfiMIkAf15KkBCipxWcUAfq4liQlQEktPqMI0Me1JCkBSmrxGUWAPq4lSQlQUovPKAL0cS1JSoCSWnxGEaCPa0lSApTU4jOKAH1cS5ISoKQWn1EE6ONakpQAJbX4jCJAH9eSpAQoqcVnFAH6uJYkJUBJLT6jCNDHtSQpAUpq8RlFgD6uJUkJUFKLzygC9HEtSUqAklp8RhGgj2tJUgKU1OIzigB9XEuSEqCkFp9RBOjjWpKUACW1+IwiQB/XkqQEKKnFZxQB+riWJCVASS0+owjQx7UkKQFKavEZRYA+riVJCVBSi88oAvRxLUlKgJJafEYRoI9rSVIClNTiM4oAfVxLkhKgpBafUQTo41qSlAAltfiMIkAf15KkBCipxWcUAfq4liQlQEktPqMI0Me1JCkBSmrxGUWAPq4lSQlQUovPKAL0cS1JSoCSWnxGEaCPa0lSApTU4jOKAH1cS5ISoKQWn1EE6ONakpQAJbX4jCJAH9eSpAQoqcVnFAH6uJYkJUBJLT6jCNDHtSQpAUpq8RlFgD6uJUkJUFKLzygC9HEtSUqAklp8RhGgj2tJUgKU1OIzigB9XEuSEqCkFp9RBOjjWpKUACW1+IwiQB/XkqQEKKnFZxQB+riWJCVASS0+owjQx7UkKQFKavEZRYA+riVJvwEnAXa3eHiDFwAAAABJRU5ErkJggg==</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+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQIHLFxAWmhEwHPAAAAAElFTkSuQmCC</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><watcher scope="Person" s="xPosition" style="normal" x="10" y="10" color="74,108,212" hidden="true"/><watcher scope="Person" s="yPosition" style="normal" x="10" y="31.000001999999995" color="74,108,212" hidden="true"/><watcher var="population size" style="normal" x="10" y="52.000003999999976" color="243,118,29" hidden="true"/><watcher var="percent infected" style="normal" x="10" y="73.00000599999998" color="243,118,29" hidden="true"/><watcher var="speed" style="normal" x="10" y="94.00000799999998" color="243,118,29" hidden="true"/><watcher scope="Stage" s="reportMouseX" style="normal" x="6" y="40.00001199999997" color="4,148,220" hidden="true"/><watcher scope="Stage" s="reportMouseY" style="normal" x="8" y="63.000013999999965" color="4,148,220" hidden="true"/><watcher scope="Stage" s="getTimer" style="normal" x="2" y="5.000009999999975" color="4,148,220" hidden="true"/><watcher var="timer" style="normal" x="4" y="7.000009999999975" color="243,118,29"/><watcher var="infect chance" style="normal" x="10" y="115.00000999999997" color="243,118,29" hidden="true"/><watcher var="infected slow" style="normal" x="10" y="136.00001199999997" color="243,118,29" hidden="true"/><watcher var="heal chance" style="normal" x="10" y="157.00001399999994" color="243,118,29" hidden="true"/><watcher var="resickability" style="normal" x="10" y="178.00001599999993" color="243,118,29" hidden="true"/><watcher var="heal time" style="normal" x="10" y="199.00001799999993" color="243,118,29" hidden="true"/><watcher var="game end" style="normal" x="10" y="220.00001999999995" color="243,118,29" hidden="true"/><watcher var="vaccine" style="normal" x="10" y="241.00002199999994" color="243,118,29" hidden="true"/><sprite name="Person" idx="1" x="-181.78101356660477" y="-97.05155114369234" heading="22" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="4" color="80,80,80,1" pen="tip" id="24"><costumes><list id="25"><item><costume name="healthy" center-x="8" center-y="9" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAABGElEQVQ4T+2UMS8EURCAv9mwe4moiCgkqmvs7T+QiIaKVnXaU6mu0KgUFCqVa12l1dEg8QvsHoVKohDRSuwjO7Lrbr3NIXZrr3sz8315mbwZYeio49JbE3QemO2n7xW5MvjHIImNiH3xCDeBbWByWJxFnoGdmOBgkM8FLuGRQPMHsBBW6BqC9TSYCTzCQ6D1F9iq6cQEG+IRrYCelIT75bIqHuEFsFBNwGUq0Ipwhv0LPntggNGKjXyTGte7imxVEQi6J+PcThjeb4CpkpInl5G5wVdeAk5LCpZjgrN8mGpEiwod0PrvIrkTaL3SOM+H6QvIdkFbSJogjaJII8XpGvx9eycU9oENjNGbNiQzaczFeXjBf/zuZR8EpE0+Uy9SPgAAAABJRU5ErkJggg==" id="26"/></item><item><costume name="sick" center-x="9" center-y="9" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAkElEQVQ4T2NkwAr+M71hkPiLTUqE4QUzAwPjP3Q5RnSBNwzi/7EbjioqwvASRS8Kh1hDYEYiGwY3iFRD0A0DG0SuIciGUc8gSl0DcxXjqEEE0yj1Yo2q6YiX4brwfQaHNwTdj0WBIsMBkc8Mmm+pm0VgFpGaprBmWoSrcZdFiLyFWSZhlEfIwYDuQvQyCFktACGSOB34Az5xAAAAAElFTkSuQmCC" id="27"/></item><item><costume name="Immune:3" center-x="12" center-y="12" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAADi0lEQVRIS72WTW8TRxjHf8/srmMbYjepkvASRwgiIYRMpYaqBaqWqoJTrz310K/CV+mBU689taraogKtSiqBhRBSQCjhLUFNsANex7s7TzW74yQOIY0qtdbePM/8Z57/yzPCfn+qMrRURPdTOly0syLf9FsDxw3UDYR+farQtvDQwpeWPcB2B8g3/jmAYyGkJeiWwYxAFBZnSFKwG1DtQdiHRylczHYDehNA1cBCBK8qMDoK8VhIOKb06xCWC4C0J5TaKekaVNZgfR0OxjCbIGK3N2IYIN/8UQk6NYgmQ3RaYUbgiMK7QNUXdwX+UngqsJgijyFZgVoHjvW3g2wB6BUDX0UgddDpgPSkoKcEOaHoEeAd0JECQDaAl4I8VfSBIvcywvvkQNqGqwlyJb9JAZD3fD6EyiiEjYC0KcgccNqgDUXGgAqIKQDUFceCrllkCbir6HxG2IJ0CeJ1mEsdJwMAA3cqUJkKsE3BngPOGjgBjANlkGDzQKCgGdADVi08AG4p5maGaUG8DGdi1yoP8FMIk7WIcBb0vGI/MdAEmQJ1fXcn3ykI5wML0gVdttASzDWQGwnpAqx0kM9SKdqz4KQ4ERC9J/C5wAXXe9A64KX5VlulIO2CC64r/JiR3IbqC5jtCzm5X5ShejRAPwS5ZOAjQadBKruc/A07gsaKPLbwG+gPGfI7dJ/Adz0P8GkVJmcC5DzIZYN+IOhhkNI+AfqKPLPIH6DfZ+gNWFmEX7r/F8B/2qIByUwEJJ5k/bggmdr+SKbjDfdrQXJ0G/Ak575xMj1Uj7CzCheAgUwntwy2I65xcV0YDnTFyRS4JnA9wSzA83Yh08LJ3mjmUEBwRuAc6FmDOV4YTZ3RDLh1eQDYYnPxRrMPQW4p3MzI7oB9vsNog6g4UAPr1NQUeB/ktIGGos7NLocir9EE2BDEuXgJ9K7CnxnaArMIrzvDUZHfwvnh61Jhrn4jgJMCpwTdHnbOF+4G8VbYiTPYvQzuQ2nJmQ6+6Q+H3cA6m3Gd1SCZCtCGwcwo9qhixsEeLJaaV4JdFcwTi13M8sCLliHYI66HQNzAiatwYDSiN64wrtg6GD8PbFcwbYHVhPIqvF6HSvefB84miGvX4QCaIUz5kSkjMOI52EhA/chc7kMrhWfZoC1vn2jb/1GXnvnDwcC8H/ovvIombDH055xMnZrct+srY+9XxRDgv3u2/A1cFa4q5CWLbAAAAABJRU5ErkJggg==" id="28"/></item><item><costume name="Doctor owo" center-x="12" center-y="12.5" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAaCAYAAACtv5zzAAAEm0lEQVRIS52WT2xUVRTGf+e+NzOdmUI7/UNpaAEJCKJBQRFQSVs2mHQ93bnFlSYm7hn2Jia6kq27zrqJbmgbVMAqKFEEIQi0pJT+p52Zzsx795g7MwxtaYNylzP3vu+c833fOUd44VFR4FwGWX31bAat/lD5e9Oz5tHqW4rKQBqTBo8uvFgEPyEYdyev2GKZgAnCLISDWaxsArQBgEo6jTm5Hb+lhVh8kaQ20uhZkp4l4gBCQzk05GSZ5UITubk5ihcfEWSz2PUZrQNQGUxj5l8nlsqx1Y/QBnQKdBhoxZKoZGnIW5hVmAImgzIz80mepP6kOLAOZA3AYFq9pl00LHq0+j47sewTZR9CF0IbWgMQ8igzKBMq3MZwOwh40BQyu3iflYGshE/LXQfIZNQcXCQWTdAWKntR3hQ4ZGCvQgewBYjWHpaAJYEpC3cUriP87gl3SnlmbjRRzGTEViRQfaDyzRn8VCvNPuwFjgocAw4KdKr7uBLRGsmiWISywJLCJHBD4QowFsCd+VkWPj5P4PioALjoTywTXzF0hYZ3EHoE3kbZiVQid+RWFLTquAjLKEsIDxR+RRn1LL80WCYuNVJwWVQAhjPqLy/RrD4HQqFPhV6UgyKkUKLIWg/UQRRFKKkyj3BDlBFPGZaAm41bWOjLSCCuPIMZItEyHWI5apXTKryPsEuqpK6PfL2prFZJvy/Kj0b4Xg1jpQhTAxnK4gyV/YwGv4lur8QHVul3HAAdAhGt87SxWV2E6kpVleyYEYbCKD8Ei4ynv2RFVFW+/YJEYobdxqNXoF+UI+p0D/4LO0n1givFrApXFYZsyEi+jXsffU6+DtA4zysop1D6jfAWQovqfwMQIUCZs8pvCEMIF5ZT/LMGwGWA0GeEfgOHXyYDC9esMoQy/CyDGgck2Rm1nFSlX6s+aP8/HChMC4yJMFQyXCTHgwoHTkVffUK03aMzEuNdY/jQKO+p0I0S31SiT8mpSrUgyrgVfrKW78pFfp4Omfz0a0p1H8wv04LPG8ZwSqDHKvtVaRap8LBZW1dVAhEWjHBLYdRaLhDwR6qRuZoPqk4+nCcZWnapz3EDPQhHVNkhQhI3E54HcYMmVCUnwkOUqxZGJeCyZ7h/LUGu7uR6meK0xiwHxOeYCMdV2I9lG0JCwFetmk4Eq1SUk8fwWJRbqlzWgCtFw83pArOuPPVe5B6l0+ql24lHknSoz2sGjiAcUsseHOFCUmvdVKi0hxyOWMNdlOsWrkrAX+UcU9lpCtlay15VW5XhDN50gaRv6PA89tiQA8CrKN1OVVotlxuOOacahHHgb+NxMwy5G1im2uPk+jKETyfbGvJc2zh/Br+7k3ghIOVZtgdKlxF2iLLdCFsdgFWeqPDIKg99YSI0PIr7zI9PUjhz3rn62SLwnDocCIOY7CWifgMJUbYQ0myElHjVDDQkZ10H9VhQYSlYIZ8+QYmB54f/5luFqoycw7t3D79lG5FigYZYvDr0iwXKsTgrc48p795N0HuWUGTj9WVTgFU+ErcT9YxgpturKmqfxo72Yqu70UvuRRt30dqu9YKPrn77L8R1HTE+BmxpAAAAAElFTkSuQmCC" id="29"/></item></list></costumes><sounds><list struct="atomic" id="30"></list></sounds><blocks></blocks><variables></variables><scripts><script x="30" y="30"><block s="receiveMessage"><l>start</l></block><block s="doWait"><block s="reportProduct"><l>.01</l><block s="reportRandom"><l>1</l><l>100</l></block></block></block><block s="doForever"><script><block s="doWait"><l>1</l></block><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><block s="reportGreaterThan"><block var="heal chance"/><block s="reportRandom"><l>0</l><l>99</l></block></block></block><script><block s="doIfElse"><block s="reportEquals"><l>Yes</l><block var="resickability"/></block><script><block s="doSwitchToCostume"><l>Immune:3</l></block></script><script><block s="doSwitchToCostume"><l>healthy</l></block></script></block></script></block></script></block></script><script x="30" y="308"><block s="receiveMessage"><l>start</l></block><block s="setHeading"><block s="reportRandom"><l>0</l><l>359</l></block></block><block s="doForever"><script><block s="doIfElse"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><script><block s="forward"><block s="reportQuotient"><block var="infected slow"/><l>5</l></block></block></script><script><block s="forward"><block s="reportQuotient"><block var="speed"/><l>5</l></block></block></script></block><block s="bounceOffEdge"></block></script></block></script><script x="30" y="534"><block s="receiveMessage"><l>start</l><comment w="129" collapsed="false">IMPORTANT: LAG causes occaisional healthy people to survive infections!.</comment></block><block s="doForever"><script><block s="doIf"><block s="reportAnd"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>1</l></block><custom-block s="touching infected?"></custom-block></block><block s="reportGreaterThan"><block var="infect chance"/><block s="reportRandom"><l>0</l><l>99</l></block></block></block><script><block s="doSwitchToCostume"><l>sick</l></block></script></block><block s="doWait"><block s="reportQuotient"><l>.4</l><block var="speed"/></block></block></script></block></script><script x="30" y="726"><block s="receiveMessage"><l>start</l><comment w="90" collapsed="false">Shows one greater than inputted population due to invisible sprite</comment></block><block s="doForever"><script><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><custom-block s="touching doctor?"></custom-block></block><script><block s="doIfElse"><block s="reportEquals"><l>yes</l><block var="resickability"/></block><script><block s="doSwitchToCostume"><l>Immune:3</l></block></script><script><block s="doSwitchToCostume"><l>healthy</l></block></script></block></script></block></script></block></script><script x="30" y="940"><block s="receiveGo"></block><block s="doWait"><l>.1</l></block><block s="gotoXY"><l>0</l><l>0</l></block><block s="doSwitchToCostume"><l>healthy</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><custom-block s="spawn doctors"></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><block s="doIfElse"><block s="reportEquals"><block var="game end"/><l>1</l></block><script><custom-block s="Stop everything if everyone is infected or immune"></custom-block></script><script><custom-block s="Stop everything if everyone is immune/healthy"></custom-block></script></block></script></block></script><script x="30" y="1307"><block s="receiveGo"></block><block s="removeClone"></block></script><script x="30" y="1378"><block s="receiveMessage"><l>start</l></block><block s="doForever"><script><block s="doIf"><block s="reportAnd"><block s="reportNot"><block s="reportOr"><block s="reportEquals"><block var="heal time"/><l>0</l></block><block s="reportEquals"><block var="heal time"/><l>-1</l></block></block></block><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block></block><script><block s="doWait"><block var="heal time"/></block><block s="doSwitchToCostume"><l>healthy</l></block><block s="doIf"><block s="reportEquals"><l>Yes</l><block var="resickability"/></block><script><block s="doSwitchToCostume"><l>Immune:3</l></block></script></block></script></block></script></block></script></scripts></sprite></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"><comment w="298" collapsed="false">If inputted percentage leads to less than one person who should be infected the simulation will instantly terminate </comment><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>10</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><l>vaccinated count</l><l>initial vaccinated</l></list></block><block s="doSetVar"><l>population size</l><block s="reportDifference"><block var="population size"/><block var="doctors?"/></block></block><block s="doSetVar"><l>vaccinated count</l><l>0</l></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><block s="doSetVar"><l>initial vaccinated</l><block s="reportRound"><block s="reportProduct"><block s="reportQuotient"><block var="vaccine"/><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></script><script><block s="doIfElse"><block s="reportLessThan"><block var="vaccinated count"/><block var="initial vaccinated"/></block><script><block s="doSwitchToCostume"><l>Immune:3</l></block><block s="doChangeVar"><l>vaccinated count</l><l>1</l></block></script><script><block s="doSwitchToCostume"><l>healthy</l></block></script></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></script></block-definition><block-definition s="Stop everything if everyone is immune/healthy" 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>2</l></block></block><script><block s="doPauseAll"></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 vaccinations?"></custom-block><custom-block s="set speed"></custom-block><custom-block s="set infected slow"></custom-block><custom-block s="set infect chance"></custom-block><custom-block s="set recover"></custom-block><custom-block s="set doctors?"></custom-block><custom-block s="set resickability"></custom-block><custom-block s="set game end condition"></custom-block></script></block-definition><block-definition s="set infect chance" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>infect chance</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="infect chance"/></custom-block><custom-block s="%s &lt;= %s"><block var="infect chance"/><l>100</l></custom-block></block><script><block s="doAsk"><l>What is the percent chance a person gets infected upon contact?</l></block><block s="doSetVar"><l>infect chance</l><block s="getLastAnswer"></block></block></script></block></script></block-definition><block-definition s="set infected slow" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>infected slow</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="infected slow"/></custom-block><custom-block s="%s &lt;= %s"><block var="infected slow"/><l>10</l></custom-block></block><script><block s="doAsk"><l>What speed do the infected go at? (1-10)</l></block><block s="doSetVar"><l>infected slow</l><block s="getLastAnswer"></block></block></script></block></script></block-definition><block-definition s="set recover" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>heal time</l><l>-1</l></block><block s="doSetVar"><l>heal chance</l><l>-1</l></block><block s="doUntil"><block s="reportOr"><block s="reportEquals"><block s="getLastAnswer"></block><l>yes</l></block><block s="reportEquals"><block s="getLastAnswer"></block><l>no</l></block></block><script><block s="doAsk"><l>Do you want the sick to recover by themselves? (Yes or no)</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>yes</l></block><script><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>0</l><block var="heal chance"/></custom-block><custom-block s="%s &lt;= %s"><block var="heal chance"/><l>100</l></custom-block></block><script><block s="doAsk"><l>What percent chance does each infected have of healing? (If you don&apos;t want heal chance, type 0)</l></block><block s="doSetVar"><l>heal chance</l><block s="getLastAnswer"></block></block></script></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>0</l><block var="heal time"/></custom-block><custom-block s="%s &lt;= %s"><block var="heal time"/><l>60</l></custom-block></block><script><block s="doAsk"><l>How long will it take for the sick to heal(in seconds)? (For no heal time type 0)</l></block><block s="doSetVar"><l>heal time</l><block s="getLastAnswer"></block></block></script></block></script></block></script></block-definition><block-definition s="Stop everything if everyone is infected or immune" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportOr"><block s="reportAnd"><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 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>2</l></block></block></block><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></block><script><block s="doPauseAll"></block></script></block></script></block-definition><block-definition s="set resickability" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>resickability</l><l>0</l></block><block s="doUntil"><block s="reportOr"><block s="reportEquals"><block s="getLastAnswer"></block><l>yes</l></block><block s="reportEquals"><block s="getLastAnswer"></block><l>no</l></block></block><script><block s="doAsk"><l>Are the recovered persons immune to becoming sick again? (Yes or no)</l></block><block s="doSetVar"><l>resickability</l><block s="getLastAnswer"></block></block></script></block></script></block-definition><block-definition s="set game end condition" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doUntil"><block s="reportOr"><block s="reportEquals"><block s="getLastAnswer"></block><l>1</l></block><block s="reportEquals"><block s="getLastAnswer"></block><l>2</l></block></block><script><block s="doAsk"><l>Should the game end when all persons are infected or immune(1), or if nobody is infected(2)? (1 or 2)</l></block><block s="doSetVar"><l>game end</l><block s="getLastAnswer"></block></block></script></block></script></block-definition><block-definition s="set doctors?" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>doctors?</l><l>-1</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>0</l><block var="doctors?"/></custom-block><custom-block s="%s &lt;= %s"><block var="doctors?"/><l>3</l></custom-block></block><script><block s="doAsk"><l>Doctors heal the infected, how many doctors do you want? (0 to 3)</l></block><block s="doSetVar"><l>doctors?</l><block s="getLastAnswer"></block></block></script></block></script></block-definition><block-definition s="spawn doctors" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRepeat"><block var="doctors?"/><script><block s="doSwitchToCostume"><l>Doctor owo</l></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></block><block s="hide"></block><block s="doResetTimer"></block></script></block-definition><block-definition s="touching doctor?" 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>4</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="set vaccinations?" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>vaccine</l><l>-1</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>0</l><block var="vaccine"/></custom-block><custom-block s="%s &lt;= %s"><block var="vaccine"/><block s="reportDifference"><l>100</l><block var="percent infected"/></block></custom-block></block><script><block s="doAsk"><block s="reportJoinWords"><list><l>The population could recieve a vaccine that makes them immune, what percentage, </l><l>1-</l><block s="reportDifference"><l>100</l><block var="percent infected"/></block><l>, recieved the vaccine? (Type 0 for no vaccine</l></list></block></block><block s="doSetVar"><l>vaccine</l><block s="getLastAnswer"></block></block></script></block></script></block-definition></blocks><variables><variable name="population size"><l>197</l></variable><variable name="percent infected"><l>100</l></variable><variable name="speed"><l>10</l></variable><variable name="timer"><l>60</l></variable><variable name="infect chance"><l>100</l></variable><variable name="infected slow"><l>10</l></variable><variable name="heal chance"><l>-1</l></variable><variable name="resickability"><l>yes</l></variable><variable name="heal time"><l>-1</l></variable><variable name="game end"><l>2</l></variable><variable name="doctors?"><l>3</l></variable><variable name="vaccine"><l>0</l></variable></variables></project><media name="Disease Simulation" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>