Use the left and right arrow keys to move the platform left and right to prevent the ball from hitting the red.
This is my first game and such, I know it is low effort and such. If you have any recommendations as to how I could get the ball to not win on the first try.