the only thing you need is to move your mouse side to side to move the bat and hit the ball into the bricks.
I have a book called code your own games 20 games to code with scratch made by max wainewright.