<snapdata remixID="11178877"><project name="ITP Game of Pong Project Start File" app="Snap! 7, https://snap.berkeley.edu" version="2"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAA5RJREFUeF7t3LFqFHEUxeE7op0WiVEsDGQRLG2t09qInS/hS1jbC+IzWAiC3XaCpYWViFoIFqM22jqy0YkZWdJNzpn/+W2Z5t57zscWs9nthmEYihcJiBLomgD46V3V/dtVl69WPX5RtX9DFCdjtyXQdd3kzyff85YP8PPHqnu3/h14/kLVq69IMEqgaYDfnz6qnScPp3G/fF+1e8WoguxVmgY4vF5X9+DutOHnb6uu7We3bnR90wCPcr5zs6r/8ify66uqZ2+M4meV9gHSsXUCALSup/3lANh+x9YXAtC6nvaXmxVgt+qPExw+7LWfJhceJXBx1dfPv1lsHjP/OqX7WQCO8DbDx8/yAJihc+x+t6q+VZUE4Cbqw8O+1uu9GhcCYAbAc6v++B1v070M4Bg3ADPgbbsSgLndW1wOQIsacpcAYG73FpcD0KKG3CUAmNu9xeUygJcO+vox/UdXHkhbkJh/iZMfPvw/bdujuFkeRM9/JhNaSQCArTS50DsAuNDiWlkbgK00udA7ALjQ4lpZG4CtNNngHcv/XnCDpSSdBMCktg1vBaBhKUkrATCpbcNbAWhYStJKAExq2/BWABqWkrQSAJPaNrwVgIalJK0EwKS2DW8FoGEpSSsBMKltw1sBaFhK0koATGrb8FYAGpaStBIAk9o2vBWAhqUkrQTApLYNbwWgYSlJKwEwqW3DWwFoWErSSgBMatvwVgAalpK0EgCT2ja8FYCGpSStBMCktg1vBaBhKUkrATCpbcNbAWhYStJKAExq2/BWABqWkrQSAJPaNrwVgIalJK0EwKS2DW8FoGEpSStNAJ72Y9JJoXDr2SUAwLPLmklbEgAgLKQJAFAaP8MBiAFpAgCUxs9wAGJAmgAApfEzHIAYkCYAQGn8DAcgBqQJAFAaP8MBiAFpAgCUxs9wAGJAmgAApfEzHIAYkCYAQGn8DAcgBqQJAFAaP8MBiAFpAgCUxs9wAGJAmgAApfEznC+mY0CaAACl8TMcgBiQJgBAafwMByAGpAkAUBo/wwGIAWkCAJTGz3AAYkCaAACl8TMcgBiQJgBAafwMByAGpAkAUBo/wwGIAWkCAJTGz3AAYkCaAACl8TMcgBiQJgBAafwMByAGpAkAUBo/wwGIAWkCAJTGz3AAYkCaAACl8TMcgBiQJgBAafwMByAGpAkAUBo/wwGIAWkCAJTGz3AAYkCaAACl8TMcgBiQJvAbnGvKtwmYwtEAAAAASUVORK5CYII=</thumbnail><scenes select="1"><scene name="ITP Game of Pong Project Start File"><notes></notes><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>de:drucke _ in Größe _&#xD;ca:etiqueta _ de mida _&#xD;es:etiqueta _ de tamaño _&#xD;fr:étiquette _ d&apos;une taille de _&#xD;</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>de:ist _ leer?&#xD;ca:_ buida?&#xD;es:_ vacía?&#xD;fr:_ vide?&#xD;</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>de:behalte Elemente, die _ aus _&#xD;ca:manté els elements on _ de _&#xD;es:mantener los elementos donde _ de _&#xD;fr:garder les items tels que _ de _&#xD;</translations><inputs><input type="%predRing"></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 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-definition><block-definition s="combine with %&apos;function&apos; items of %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations>de:kombiniere mit _ die Elemente von _&#xD;ca:combina amb _ els elements de _&#xD;es:combinar con _ los elementos de _&#xD;fr:combine avec _ les items de _&#xD;</translations><inputs><input type="%repRing"></input><input type="%l"></input></inputs><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-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>de:wenn _ dann _ sonst _&#xD;ca:si _ llavors _ si no _&#xD;es:si _ entonces _ sino _&#xD;fr:si _ alors _ sinon _&#xD;</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>de:für _ = _ bis _ _&#xD;ca:per _ = _ fins _ _&#xD;es:para _ = _ hasta _ _&#xD;fr:pour _ allant de _ à _ _&#xD;</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>de:füge Wörter zusammen _&#xD;ca:uneix les paraules _&#xD;es:unir las palabras _&#xD;fr:fusionne les mots _&#xD;</translations><inputs><input type="%mult%txt"></input></inputs><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-definition><block-definition s="list $arrowRight sentence %&apos;data&apos;" type="reporter" category="operators"><header></header><code></code><translations>de:Liste $arrowRight Satz _&#xD;ca:llista $arrowRight frase _&#xD;es:lista $arrowRight frase _&#xD;fr:liste $arrowRight phrase _&#xD;</translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><custom-block s="join words %mult%txt"><block var="data"/></custom-block></block></script></block-definition><block-definition s="sentence $arrowRight list %&apos;text&apos;" type="reporter" category="operators"><header></header><code></code><translations>de:Satz $arrowRight Liste _&#xD;ca:frase $arrowRight llista _&#xD;es:frase $arrowRight lista _&#xD;fr:phrase $arrowRight liste _&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doReport"><block s="reportTextSplit"><block var="text"/><l><option>whitespace</option></l></block></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations>de:fange _ _&#xD;ca:agafa _ _&#xD;es:atrapar _ _&#xD;fr:attrape _ _&#xD;</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>de:wirf _&#xD;ca:llança _&#xD;es:lanzar _&#xD;fr:lance _&#xD;</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>de:fange _ _&#xD;ca:agafa _ _&#xD;es:atrapar _ _&#xD;fr:attrape _ _&#xD;</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>de:wirf _ _&#xD;ca:llança _ _&#xD;es:lanzar _ _&#xD;fr:lance _ _&#xD;</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>de:für jedes _ von _ _&#xD;ca:per cada _ de _ _&#xD;es:para cada _ de _ _&#xD;fr:pour chaque _ de _ _&#xD;</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>de:falls _ dann _ und pause $pause-1-255-220-0&#xD;ca:si _ fes _ i atura-ho tot $pause-1-255-220-0&#xD;es:si _ haz _ y páralo todo $pause-1-255-220-0&#xD;fr:si _ faire _ et mettre tout en pause $pause-1-255-220-0&#xD;</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>de:Wort $arrowRight Liste _&#xD;ca:paraula $arrowRight llista _&#xD;es:palabra $arrowRight lista _&#xD;fr:mot $arrowRight liste _&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doReport"><block s="reportTextSplit"><block var="word"/><l><option>letter</option></l></block></block></script></block-definition><block-definition s="ignore %&apos;x&apos;" type="command" category="control"><header></header><code></code><translations>de:ignoriere _&#xD;ca:ignora _&#xD;es:ignorar _&#xD;fr:ignore _&#xD;</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>de:Liste $arrowRight Wort _&#xD;ca:llista $arrowRight paraula _&#xD;es:lista $arrowRight palabra _&#xD;fr:liste $arrowRight mot _&#xD;</translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportJoinWords"><block var="list"/></block></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>de:Zahlen von _ bis _&#xD;ca:nombres des de _ a _&#xD;es:números de _ a _&#xD;fr:nombres de _ à _&#xD;</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>de:wende _ an auf _&#xD;ca:mapeja _ sobre _&#xD;es:mapear _ sobre _&#xD;fr:appliquer _ à _&#xD;</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="WhichPlayer" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNumbers"><l>1</l><l>2</l></block></block></script></block-definition><block-definition s="Direction" type="reporter" category="variables"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><l>-2</l></block></script></block-definition><block-definition s="L" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><l>-4</l></block></script></block-definition><block-definition s="R" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><l>4</l></block></script></block-definition></blocks><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="round" ternary="false" hyperops="true" codify="false" inheritance="true" sublistIDs="false" id="467"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAEE5JREFUeF7t2c9uVGUcx+G3LZBIGlEDLBT/bPUuvDGN3pkXYVzDRqUaSTRRjCmmCw0N0ITJmfmc887jVpnf8My358PIyfAPAQIECBAgcHCBk4NfdJAAAQIECBAYAmwEBAgQIEAgEBDgAN1JAgQIECAgwDZAgAABAgQCAQEO0J0kQIAAAQICbAMECBAgQCAQEOAA3UkCBAgQICDANkCAAAECBAIBAQ7QnSRAgAABAgJsAwQIECBAIBAQ4ADdSQIECBAgIMA2QIAAAQIEAgEBDtCdJECAAAECAmwDBAgQIEAgEBDgAN1JAgQIECAgwDZAgAABAgQCAQEO0J0kQIAAAQICbAMECBAgQCAQEOAA3UkCBAgQICDANkCAAAECBAIBAQ7QnSRAgAABAgJsAwQIECBAIBAQ4ADdSQIECBAgIMA2QIAAAQIEAgEBDtCdJECAAAECAmwDBAgQIEAgEBDgAN1JAgQIECAgwDZAgAABAgQCgbkC/PHFP+NsnF1zfDFejMcPTgNbJwkQIEBgXwITPO/nCPCji7/HrXH7tZ+zAO9r/l6XAAEChxeY6Hm/7QA/fPrHeOfk7jgZb/59CPDhf0BcJECAwNICEz7vtxngez//Ot47ff/G8P734Qvw0j8GXo8AAQKHE5j4eb+xAP/w9fjk/lfjdLz+73Qvx+Ur/06AD/eD4hIBAgQWE5j/eb+hAP/4/fjs1hdv/HveZ5e/jfPT83F73Ln23wjwYj8OXogAAQKHETiO5/2GAjzG+PTi8pX/7Xz1rffJL9+O8fk346OL5wJ8mB8PVwgQILBXgSN43m8rwB9ePB93XvqG+9eLP8dPD+/+PwIB3uvPgxcnQIDAwQSO4Hm/rQBfffJXfyq6+ufx8+/GePTltTEI8MF+NhwiQIDA3gUmf95vL8A3feICvPefBwcIECCwCoEJnvcCvIoleRMECBAg8FYCAvxWXPv/jyf4QPaP5AIBAgQmEJjgee8b8AQ79FsgQIDA0QkI8Mo+8gk+kJWJejsECBBYp8AEz3vfgNc5Le+KAAECBG4SEOCV7WOCD2Rlot4OAQIE1ikwwfPeN+B1Tsu7IkCAAAHfgDe0gQn+RLQhbW+VAAECncAEz3vfgLv5uEyAAAECuwoI8K5ye/p1E3wge5LxsgQIEJhLYILnvW/Ac03S74YAAQLHISDAK/ucJ/hAVibq7RAgQGCdAhM8730DXue0vCsCBAgQuElAgFe2jwk+kJWJejsECBBYp8AEz3vfgNc5Le+KAAECBHwD3tAGJvgT0Ya0vVUCBAh0AhM8730D7ubjMgECBAjsKiDAu8rt+Os+ePpsvHtyb8df/eovuxyX48mDs8VezwsRIECAwDICR/C839Y34PtPfx/nJ+fLfLpjDAFejNILESBAYFGBI3jeC7BvwIv+zHgxAgQILCIgwIswLvciR/CBLIfllQgQILBhgSN43m/rG/CGt+StEyBAgACBlwUE2B4IECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAgIcoDtJgAABAgQE2AYIECBAgEAgIMABupMECBAgQECAbYAAAQIECAQCAhygO0mAAAECBATYBggQIECAQCAgwAG6kwQIECBAQIBtgAABAgQIBAICHKA7SYAAAQIEBNgGCBAgQIBAICDAAbqTBAgQIEBAgG2AAAECBAgEAv8CpgxpeDueuysAAAAASUVORK5CYII=</pentrails><costumes><list struct="atomic" id="468"></list></costumes><sounds><list struct="atomic" id="469"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="3"><sprite name="Rpaddle" idx="2" x="225" y="140" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="1" color="80,80,80,1" pen="tip" id="474"><costumes><list id="475"><item><ref mediaID="Rpaddle_cst_Paddle"></ref></item></list></costumes><sounds><list struct="atomic" id="476"></list></sounds><blocks></blocks><variables></variables><scripts><script x="33" y="48"><block s="receiveMessage"><l>reset</l><list></list></block><block s="gotoXY"><l>225</l><l>0</l></block></script><script x="49" y="148"><block s="receiveKey"><l><option>up arrow</option></l><list></list></block><block s="changeYPosition"><l>10</l></block></script><script x="35" y="274"><block s="receiveKey"><l><option>down arrow</option></l><list></list></block><block s="changeYPosition"><l>-10</l></block></script><script x="70" y="403.16666666666663"><block s="receiveGo"></block><block s="doForever"><script><block s="doIf"><block s="reportEquals"><block s="yPosition"></block><l>-160</l></block><script><block s="gotoXY"><l>225</l><l>-140</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="yPosition"></block><l>160</l></block><script><block s="gotoXY"><l>225</l><l>140</l></block></script></block></script></block></script></scripts></sprite><sprite name="LPaddle" idx="1" x="-225" y="-40" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="1" color="97.61399999999999,221.85,0,1" pen="tip" id="525"><costumes><list id="526"><item><ref mediaID="LPaddle_cst_Paddle"></ref></item></list></costumes><sounds><list struct="atomic" id="527"></list></sounds><blocks></blocks><variables></variables><scripts><script x="18" y="23"><block s="receiveMessage"><l>reset</l><list></list></block><block s="gotoXY"><l>-225</l><l>0</l></block></script><script x="27" y="111.33333333333334"><block s="receiveKey"><l><option>w</option></l><list></list></block><block s="changeYPosition"><l>10</l></block><block s="doIf"><block s="reportEquals"><block s="yPosition"></block><l>160</l></block><script><block s="gotoXY"><l>-225</l><l>140</l></block></script></block></script><script x="19" y="266.33333333333337"><block s="receiveKey"><l><option>s</option></l><list></list></block><block s="changeYPosition"><l>-10</l></block><block s="doIf"><block s="reportEquals"><block s="yPosition"></block><l>-160</l></block><script><block s="gotoXY"><l>-225</l><l>-140</l></block></script></block></script></scripts></sprite><sprite name="Scorer" idx="4" x="206.390625" y="120" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="0" color="0,32,235,1" pen="tip" id="572"><costumes><list struct="atomic" id="573"></list></costumes><sounds><list struct="atomic" id="574"></list></sounds><blocks></blocks><variables></variables><scripts><script x="37" y="30"><block s="receiveGo"></block><block s="setColor"><color>0,32,235,1</color></block><block s="clear"></block><block s="hide"></block><block s="doSetVar"><l>p1score</l><l>0</l></block><block s="doSetVar"><l>p2score</l><l>0</l></block><block s="doForever"><script><block s="gotoXY"><l>-200</l><l>120</l></block><custom-block s="label %txt of size %n"><block var="p1score"/><l>48</l></custom-block><block s="gotoXY"><l>180</l><l>120</l></block><custom-block s="label %txt of size %n"><block var="p2score"/><l>48</l></custom-block></script></block></script><comment x="217" y="37" w="90" collapsed="false">sets the color of the score label to blue, initializes each score to 0, and displays the score.</comment><script x="321" y="68.33333333333334"><block s="receiveGo"></block><block s="doForever"><script><block s="doIf"><block s="reportEquals"><block var="p1score"/><l>5</l></block><script><block s="doStopThis"><l><option>all</option></l></block></script></block><block s="doIf"><block s="reportEquals"><block var="p2score"/><l>5</l></block><script><block s="doStopThis"><l><option>all</option></l></block></script></block></script></block></script></scripts></sprite><sprite name="Ball" idx="3" x="-86.94794458085926" y="169.44494137078738" heading="132" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="1" color="198.9,35.80199999999999,0,1" pen="tip" id="626"><costumes><list id="627"><item><ref mediaID="Ball_cst_Untitled"></ref></item></list></costumes><sounds><list struct="atomic" id="628"></list></sounds><blocks></blocks><variables></variables><scripts><script x="33" y="10"><block s="receiveGo"></block><block s="gotoXY"><l>0</l><l>0</l></block><block s="doBroadcastAndWait"><l>reset</l><list></list></block><block s="doSetVar"><l>direction</l><block s="reportRandom"><custom-block s="L"></custom-block><custom-block s="R"></custom-block></block></block><block s="up"></block></script><script x="151" y="253.1666666666672"><block s="receiveKey"><l><option>space</option></l><list></list></block><block s="up"></block><block s="doForever"><script><block s="doIf"><block s="reportLessThan"><block s="xPosition"></block><l>-226</l></block><script><block s="doBroadcast"><l>reset</l><list></list></block><block s="gotoXY"><l>0</l><l>0</l></block><block s="doSetVar"><l>p2score</l><block s="reportSum"><block var="p2score"/><l>1</l></block></block><block s="clear"></block><block s="doSetVar"><l>direction</l><block s="reportRandom"><custom-block s="L"></custom-block><custom-block s="R"></custom-block></block></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="xPosition"></block><l>226</l></block><script><block s="doBroadcast"><l>reset</l><list></list></block><block s="gotoXY"><l>0</l><l>0</l></block><block s="doSetVar"><l>p1score</l><block s="reportSum"><block var="p1score"/><l>1</l></block></block><block s="clear"></block><block s="doSetVar"><l>direction</l><block s="reportRandom"><custom-block s="L"></custom-block><custom-block s="R"></custom-block></block></block></script></block></script></block></script><script x="454" y="222.33333333333394"><block s="receiveCondition"><block s="reportTouchingObject"><l>LPaddle</l></block></block><block s="doSetVar"><l>direction</l><block s="reportProduct"><block var="direction"/><l>-1</l></block></block></script><script x="580" y="351.00000000000057"><block s="receiveCondition"><block s="reportTouchingObject"><l>Rpaddle</l></block></block><block s="doSetVar"><l>direction</l><block s="reportProduct"><block var="direction"/><l>-1</l></block></block></script><script x="365" y="21.33333333333337"><block s="receiveKey"><l><option>space</option></l><list></list></block><block s="doForever"><script><block s="forward"><block var="direction"/></block><block s="bounceOffEdge"></block></script></block></script></scripts></sprite><watcher scope="Rpaddle" s="yPosition" style="normal" x="235" y="27" color="74,108,212" hidden="true"/><watcher var="p1score" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><watcher var="p2score" style="normal" x="10" y="31.000001999999995" color="243,118,29" hidden="true"/><watcher scope="Ball" s="xPosition" style="normal" x="181" y="304.000004" color="74,108,212" hidden="true"/><watcher var="direction" style="normal" x="45" y="91.00000399999999" color="243,118,29" hidden="true"/></sprites></stage><variables><variable name="p1score"><l>1</l></variable><variable name="p2score"><l>1</l></variable><variable name="direction"><l>-3</l></variable></variables></scene></scenes></project><media name="ITP Game of Pong Project Start File" app="Snap! 7, https://snap.berkeley.edu" version="2"><costume name="Paddle" center-x="5" center-y="36" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAABICAYAAADPomTaAAAAAXNSR0IArs4c6QAAADhJREFUSEtjZGBg+M9ABGAcVYgvlEaDB28aGg2e0eDBCIHRRDGaKEYTBTgERrPCaFYYzQojOCsAAOk1SAHLQ6DQAAAAAElFTkSuQmCC" mediaID="Rpaddle_cst_Paddle"/><costume name="Paddle" center-x="5" center-y="36" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAABICAYAAADPomTaAAAAAXNSR0IArs4c6QAAADhJREFUSEtjZGBg+M9ABGAcVYgvlEaDB28aGg2e0eDBCIHRRDGaKEYTBTgERrPCaFYYzQojOCsAAOk1SAHLQ6DQAAAAAElFTkSuQmCC" mediaID="LPaddle_cst_Paddle"/><costume name="Untitled" center-x="8" center-y="7" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAPCAYAAADtc08vAAAAAXNSR0IArs4c6QAAAH9JREFUOE9jZMAB/pvy/keWYjz9mRGbUgxBdI3omtANQjGAkGaYYciGwA0gVjO6IWADSNWMbMggMIBc58O9QbEBgyMQGRgYBP6b8r7HlayxJuHTnwUZGBg+IKdEg/+mvOeJMYTx9GdDBgaGCyC16HmBoCHImrEZAHYArpjBliMBdeE7kPnwqxYAAAAASUVORK5CYII=" mediaID="Ball_cst_Untitled"/></media></snapdata>