Move your mouse side to side to prevent the ball from touching the red bar at the bottom. It's pretty easy. So you'll figure it out quickly. :) Press space to have the background change.
Okay, I'll admit that I looked at a video on how to make this. I still need more practice to make games on my own. I'm going to watch a couple more videos. Then, I'll try to make one on my own. A man is honest. Do you like the backgrounds though? ( I added another thing to the background)