I'm just a beginner and I'm creating a ping pong game for a project. I can't figure out how to make it so when the ball hits the paddle to moves the opposite direction towards the opponent.
I also am wondering how to reset the ball when a point is scored. I am using the scoreboard that is given in Greenfoot but I need a little help.