Just use the arrow keys to go left and right, try to stop the ball from hitting the red line, simple.
I used a tutorial from scratch and scratch characters.