move your mouse or finger to move the slanted piece and if the ball glitches I'd just restart... it is quite glitchy,.
I made this in a competition for a 15 min ping pong game on scratch and this is what I got.