Professional Documents
Culture Documents
Click on
We do this as follows:
We then change the code so that if the ball hits the bat
the score will increase by 10 and the ball speed will
increase by 1.
3
variables in pong: extension
Does your pong game work? Good! See if you can develop it further
To extend your learning further: Why not add Lives to your game?
Explain what you have done AND why next to your code