When you start, the ball will go in a direction. Hit it with the paddle to gain a point. To move the paddle, move your mouse pointer towards the ball. When the ball touches the red ground, you will lose a point. If your score is less than -10, then you will lose! If your score is greater than 30, you win!
First of all, I created a variable that was the score. I used a turn 180 degree block and forever loops to make the ball move. I used an if statement: "if touching the color of the ground (red), you lose a point". Using < and >, I made it so if you got less than -10, it broadcasts game over, which switches the backdrop to game over. I made it so if your score is greater than 30, then you will win. Lastly, I put a forever loop around a follow mouse pointer code so the paddle will move.