The paddle moves left and right with the arrow keys. prevent the ball from hitting the bottom, get the highest score you can
The old classic bat and ball game, but not quite as accurate. I wanted to see if I could work out how to do this by myself. I did not go into the physics of involving the velocity of the ball and the approach angle, for calculating the rebound off the paddle or the walls, so it isn't accurate but it works pretty well.