<snapdata remixID="8813308"><project name="Game of Pong" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAACY5JREFUeAHtnX1MVecdx7/n3svL5U1BYKBAeRGHDjcWbFeNRedL0iWSdHQu+2NburXRYay6LM74j8n+MGnabtN1XediTDHb6GZiG0iWMVPbzdoC84VlrmxYEHDYylWQcuHChXvv7jnpObuX58g9wD3PWP2e5HKf83t+5/c7fJ6P51yIepRQeEPENjQ0hDt37kRE7B+mpKSgoKDA/kbsgP/F+urYnU4nVqxYgeTkZD0ERRdwcnISbW1tWoIxO8+B2+1G95uv4aPB27NWUBQFDz/xDKZDCvr7+1FWVoaioqJZj+Hk/AjEc30jzyBwtw//uNiC6WBkVByXfnEjlj60BiMjI/B6vaipqdGSlNu3b2tXwGvXriE/P188ch4RT3sz8tuPIy/NGfPoxG0H0FPwFS2vr68PW7duRUJCQszjmDA3AufPn4/b+uqds7Iy0frsF/Dl4iSEryWzbur0+A8u4e7du1BvusFgEJWVlXDt3btXO7Curg7Lli3Txi/87k/IuHdDuy2+/KvXsTwHOHnyJE6cOIF169bh0qVLEe8bw/vvaMepc9XV1fCPjWjy6efky69C+vZ6hN49hcAHbVqu/kWBAr/fr+2qfwCGh4eRm5urT/M9TgQGBweN9T19+jR6Bzz4Wm0NLly8osngTgyh9+Ygar+xHxjriVjjv2PVqofgDd8hh8M1spcX42Z3J3bv3h0WCSjPcsKhL3T4XKe+/nOEhnuReO5F4cxV8fS19vl82rxDz1In9BcQ0m6JU+l52PWdHdixY4c219nZCc/kBNxJCTj3WiM+u/Wb6Om6qO2rt9CbY9DyVLsjN1dyGvxdfwHcWZFhY6z3Vd9nfCQ1cjhYGIFIxh8mfAbFK3LQ1vom3O6k8JUxCxlL0lFVVYXHHytFa2tHeK3ScfXKFWzbtgFX+jy48c9OFOQuwZ1bvfBNupCVk4NAICCc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aXgIU0F6+rB6DAAWMAYjT9hKggPbyZfUYBChgDECctpcABbSXL6vHIEABYwDitL0EXIcOHbK3A6uTwCwEXNXV1bNMc4oE4k9g8+bNaGpq0grzFhx/vqwYg0BOTg5qa2u1rP8AS8Vh0Fi/rtEAAAAASUVORK5CYII=</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="false" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAC99JREFUeAHt0DEBAAAAwqD1T20MH4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCA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AQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/gABHhb3AgAAAABJRU5ErkJggg==</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="Sprite" idx="1" x="-220.24937655860367" y="-12.605985037406583" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="1" color="80,80,80,1" pen="tip" id="8"><costumes><list id="9"><item><costume name="costume1" center-x="10" center-y="49" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAABiCAYAAABQ8vPRAAAAAXNSR0IArs4c6QAAAORJREFUWAnt2bENwjAUhGEH0aan9ChsgkcLo7BJSvcswLNEJOdvIi6mO0sWHPI9h090TCmlEvsRe8R6XmNKjn2PPWK9LiOm9DPaE/ZrSbd36T84fF/nJc6U7dz+CX8d1qagsx+4XXPi1QNP4H2rNrShIOCfjYCGig0BIkQbCmio2BAgQrShgIaKDQEiRBsKaKjYECBCtKGAhooNASJEGwpoqNgQIEK0oYCGig0BIkQbCmio2BAgQrShgIaKDQEiRBsKaKj82bDOKy48jujwv9Gc6nw8ZH8i93H4V55ieruh7RFr/QD9bxAfc+vHHAAAAABJRU5ErkJggg==" id="10"/></item></list></costumes><sounds><list struct="atomic" id="11"></list></sounds><blocks></blocks><variables></variables><scripts><script x="35" y="203"><block s="receiveKey"><l><option>q</option></l></block><block s="changeYPosition"><l>15</l></block></script><script x="270" y="190"><block s="receiveKey"><l><option>a</option></l></block><block s="changeYPosition"><l>-15</l></block></script><comment x="58" y="35" w="90" collapsed="false">Game of Pong&#xD;Regan King</comment></scripts></sprite><sprite name="Sprite(3)" idx="3" x="0" y="0" heading="103.70999999999998" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="1" color="80,80,80,1" pen="tip" id="23"><costumes><list id="24"><item><costume name="costume1" center-x="13" center-y="12" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAYCAYAAADkgu3FAAAAAXNSR0IArs4c6QAAAcVJREFUSA3dlrtKA1EQhndVEMHCSyUoaXwAwUuTSolPoIW1pPIRfAMrn8FeG7EU7b2AD2ATDKgRNYUoFjF+/7oTNidZszcbf/g5s3Nm/tk5e/bs+t5gDBGyCFfgPJyCwgu8hRfwGn7BTJghaw/ew/YAKkaxykmMESJ34TscVMCdV45ypdEFv+vqZ1kO8a06/tbnmjfs+ILL0TOvheHOnePbhFreANFCE3hOoZ6HoU6BWbv4baRgnflorJ5bBTaVFy2kTjbkFCiQCRSM4ogLdeZpRwlbMHcRCTk3KE1pdzq6xF6SwwmUKxMinV0hsKyOyjAowvgBi4JpSbusQnpgAehmzOy8o6NVUaHohsirH5fv22aICyjM/z8LNQpbn3ihhjaCjp47OK64P3iP3pCd0zPSWXQAA/CiPZqddXQ0pN20ra3D8AZOh+I1OiuFdqqBIjUSLPcZewHWbdfp5N2G9pUskaBvTSqEOVZEWtKUdudQlX0Mq1DfF8EnMTHCWFshaUhLmrFYZ+YBqqMesqRtsd9c6FOuNBJhkqh9mOZzrljlKDc19MezA0/gE3Q7kU9zirG/I8xe2Jr2zvT36J2zO37F1quRCN82PYonHYxBaAAAAABJRU5ErkJggg==" id="25"/></item></list></costumes><sounds><list struct="atomic" id="26"></list></sounds><blocks></blocks><variables></variables><scripts><script x="89" y="63"><block s="receiveKey"><l><option>space</option></l></block><custom-block s="play again?"></custom-block></script><script x="309" y="63"><block s="receiveGo"></block><custom-block s="ball movement"><comment w="90" collapsed="false">this block moves the ball as well as keeps score </comment></custom-block></script><script x="26" y="333"><custom-block s="failed ball movement"><comment w="183" collapsed="false">I tried using if-else blocks to make the changing of the ball widely diversified but I found that it did not work because when you have two elses the computer does not know which one to follow so it remains stationary and does not move</comment></custom-block></script><comment x="288" y="142" w="90" collapsed="false">the only parameters in this code are the ones set forth by the score such as if score equals 10 them display the winning side</comment><comment x="153" y="162" w="90" collapsed="false">each if block determines the movement when the ball hits the sprite it changes angles and if it hits the edges it also changes the angles</comment><comment x="35" y="164" w="90" collapsed="false">I used the I block to move the ball with a bunch of if block to restrict the ball if certain things happen</comment></scripts></sprite><sprite name="Sprite(2)" idx="2" x="221.06733167082302" y="-180.1496259351622" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="1" color="80,80,80,1" pen="tip" id="36"><costumes><list id="37"><item><costume name="costume1" center-x="10" center-y="49" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAABiCAYAAABQ8vPRAAAAAXNSR0IArs4c6QAAAORJREFUWAnt2bENwjAUhGEH0aan9ChsgkcLo7BJSvcswLNEJOdvIi6mO0sWHPI9h090TCmlEvsRe8R6XmNKjn2PPWK9LiOm9DPaE/ZrSbd36T84fF/nJc6U7dz+CX8d1qagsx+4XXPi1QNP4H2rNrShIOCfjYCGig0BIkQbCmio2BAgQrShgIaKDQEiRBsKaKjYECBCtKGAhooNASJEGwpoqNgQIEK0oYCGig0BIkQbCmio2BAgQrShgIaKDQEiRBsKaKj82bDOKy48jujwv9Gc6nw8ZH8i93H4V55ieruh7RFr/QD9bxAfc+vHHAAAAABJRU5ErkJggg==" id="38"/></item></list></costumes><sounds><list struct="atomic" id="39"></list></sounds><blocks></blocks><variables></variables><scripts><script x="49" y="63"><block s="receiveKey"><l><option>up arrow</option></l></block><block s="changeYPosition"><l>15</l></block></script><script x="254" y="64"><block s="receiveKey"><l><option>down arrow</option></l></block><block s="changeYPosition"><l>-15</l></block></script></scripts></sprite><sprite name="Sprite(4)" idx="4" x="-237" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="1" color="80,80,80,1" pen="tip" id="51"><costumes><list id="52"><item><costume name="costume1" center-x="2" center-y="172" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAFYCAYAAAB0yl1GAAAAAXNSR0IArs4c6QAAAGhJREFUWAnt1NENgCAQBNHDyiydzvSMXrI9+EhgN/wxGW5V1fntjtqrj+tps44pky6GxJt44BEE6BAwuuKBRxCgQ8DwPehAhyBAh4BhOtCBDkGADgHDdKADHYIAHQKG6UCHn+mw4737BuzNBm7gMdimAAAAAElFTkSuQmCC" id="53"/></item></list></costumes><sounds><list struct="atomic" id="54"></list></sounds><blocks></blocks><variables></variables><scripts><script x="109" y="155"><block s="doIf"><block s="reportTouchingObject"><l></l></block><script></script></block></script></scripts></sprite><sprite name="Sprite(5)" idx="5" x="235" y="-3" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="1" color="80,80,80,1" pen="tip" id="63"><costumes><list id="64"><item><costume name="costume1" center-x="2" center-y="172" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAFYCAYAAAB0yl1GAAAAAXNSR0IArs4c6QAAAGhJREFUWAnt1NENgCAQBNHDyiydzvSMXrI9+EhgN/wxGW5V1fntjtqrj+tps44pky6GxJt44BEE6BAwuuKBRxCgQ8DwPehAhyBAh4BhOtCBDkGADgHDdKADHYIAHQKG6UCHn+mw4737BuzNBm7gMdimAAAAAElFTkSuQmCC" id="65"/></item></list></costumes><sounds><list struct="atomic" id="66"></list></sounds><blocks></blocks><variables></variables><scripts></scripts></sprite><watcher scope="Sprite(3)" s="direction" style="normal" x="15" y="50" color="74,108,212" hidden="true"/><watcher var="direction" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><watcher var="left score" style="normal" x="6" y="2.000001999999995" color="243,118,29"/><watcher var="right score" style="normal" x="366" y="2" color="243,118,29"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="scoring" type="command" category="looks"><header></header><code></code><translations></translations><inputs></inputs></block-definition><block-definition s="ball movement" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="gotoXY"><l>0</l><l>0</l></block><block s="doSayFor"><l>Hello! Welcome to Game of Pong!!</l><l>5</l></block><block s="doSayFor"><l>Right player will use the up and down arrows</l><l>5</l></block><block s="doSayFor"><l>Left player will use Q for up and A for down</l><l>5</l></block><block s="doSayFor"><l>If the ball hits the wall you will be deducted one point </l><l>5</l></block><block s="doSayFor"><l>If the ball hits your paddle you will receive one point</l><l>5</l></block><block s="doSayFor"><l>First to ten wins!! Good Luck!!!!!</l><l>5</l></block><block s="doSayFor"><l>game will begin in</l><l>2</l></block><block s="doSayFor"><l>3</l><l>1</l></block><block s="doSayFor"><l>2</l><l>1</l></block><block s="doSayFor"><l>1</l><l>1</l></block><block s="doFor"><l>i</l><l>1</l><l>10000</l><script><block s="forward"><l>10</l></block><block s="bounceOffEdge"></block><block s="doIf"><block s="reportTouchingObject"><l>Sprite</l></block><script><block s="doChangeVar"><l>left score</l><l>1</l></block><block s="setHeading"><l>45</l></block><block s="forward"><l>20</l></block></script></block><block s="doIf"><block s="reportTouchingObject"><l>Sprite(2)</l></block><script><block s="doChangeVar"><l>right score</l><l>1</l></block><block s="setHeading"><l>225</l></block><block s="forward"><l>20</l></block></script></block><block s="doIf"><block s="reportTouchingObject"><l>Sprite(4)</l></block><script><block s="doChangeVar"><l>left score</l><l>-1</l></block><block s="setHeading"><l><option>random</option></l></block><block s="forward"><l>20</l></block></script></block><block s="doIf"><block s="reportTouchingObject"><l>Sprite(5)</l></block><script><block s="doChangeVar"><l>right score</l><l>-1</l></block><block s="setHeading"><l>300</l></block><block s="forward"><l>20</l></block></script></block><block s="doIf"><block s="reportEquals"><l>10</l><block var="right score"/></block><script><block s="doSayFor"><l>Right player wins!! Press spacebar to play again!!</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="left score"/><l>10</l></block><script><block s="doSayFor"><l>Left player wins!! Press spacebar to play again!!</l><l>2</l></block></script></block></script></block></script></block-definition><block-definition s="failed ball movement" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doForever"><script><block s="forward"><l>10</l></block><block s="bounceOffEdge"></block><block s="doIf"><block s="reportTouchingObject"><l>Sprite</l></block><script><block s="doChangeVar"><l>left score</l><l>1</l></block><block s="setHeading"><l>135</l></block><block s="forward"><l>20</l></block></script></block><block s="doIf"><block s="reportTouchingObject"><l><option>edge</option></l></block><script><block s="setHeading"><l>75</l></block><block s="forward"><l>20</l></block></script></block><block s="doIf"><block s="reportTouchingObject"><l>Sprite(2)</l></block><script><block s="doChangeVar"><l>right score</l><l>1</l></block><block s="setHeading"><l><option>random</option></l></block><block s="forward"><l>20</l></block></script></block></script></block></script></block-definition><block-definition s="play again?" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>left score</l><l>0</l></block><block s="doSetVar"><l>right score</l><l>0</l></block><block s="gotoXY"><l>0</l><l>0</l></block></script></block-definition></blocks><variables><variable name="right score"><l>0</l></variable><variable name="left score"><l>0</l></variable><variable name="direction"><l>0</l></variable></variables></project><media name="Game of Pong" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>