<snapdata remixID="8870975"><project name="Game of Pong" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAACUFJREFUeAHtnV9MVNkdx793AKUoIlaQdXcVYzRZUmtLArIapdjdmupDtRbqk11FXNOY7NaHavsipt2kbSLWxPSp26QPWw3qk5pofaiFRhNbqt01/llA5V+VkqU7yFZmBmd6znHucK/nyh8dfjTle8jMPfd3zzm/y+d8cu69ZMg4CVXgKb29vQiHB1TkadhJ1QBv3dMlWR05OlJ7ppU64KhhfQlVk5ycHCxcuBChUOiZDtxNN4GpmF/XHMdxUFhYiLy8vNSv5XgFPHXqFL5eWqoOugollDBJa0wXN663btFGOXCUO0ZlZVjIycCX583FvdY7bqPA7XAshnlFryERjyM8MIAVK1YgIyMjsC2DL08gXfOr5zuhfhyE8OqrC9F682PE1RyOVr4YHMSC15eYxae56c94550dprkTDofNgvTbDz/Exo3fNsuTDigz1duIaGahVPs6ntBx00iPoU9Et1MBE3MwI9KPWb+vwayssVe00Gsr0fH2r1RfB//+vB+r31ytB2VJM4GGI0fSNr9mmpPz/+mhSqxfNHNcZ9u9848pTRYvWmSufKFdu3ZBv6oqKxEZiiIajaDkjTewc2ctOjs7UVVVhbKyMsTUavWj999HW3s7Nm3cqPYjSpY3EYtE0dDQgB07VPvubkTVfm/nXZ98oXmLkLnyO9BbuyQQi8bUK4JZObPtw4ykhYB3frds3ozDas4uX76MgwcPYt++fVi7di2+uX69WUPa29rw7ru7ceOTj7H/x/tx+PBhHDr0M2zesgUD6vbsu2obUfOlXVn1Spbv/Gb/ogP6FVSikZjpo+f6+PHjpklqiRp+8gRRJVVECaRLeCCM06dPo7q6GiUlJaZjUVERjh49irNnz6rFMQR9P3H+wgXU19djQLdXl/Bo9Gl/M4j7lpGFePd1dbOX70Z8W/2LRFQ/nZ9lcgh45/fOnTvo6elBbW0thoeHTcIPP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E6isrERjY6MZl5fgtOPlgGMRKCgoQHV1tWn2X3Pum7Uai7N/AAAAAElFTkSuQmCC</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAC99JREFUeAHt0DEBAAAAwqD1T20MH4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBg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wYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/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>