This is a beginner pingpong game. You can extend this by adding edge detection for when the ball touches the padel or add more levels and increase the ball speed as the level progresses. Remix this as you might want.