Just move your mouse and the paddle will move. If the ball touches the paddle you get a point. If you touch the read line game stops. If you the score is two you win and the game stops. This is a game of luck so do not worry. I know this is difficult but I have done this game myself.
I made this project by the help of scratch. Links for learning. 1.https://resources.scratch.mit.edu/www/cards/en/pong-cards.pdf 2.https://scratch.mit.edu/projects/editor/?tutorial=pong 3.https://resources.scratch.mit.edu/www/cards/en/scratch-cards-all.pdf Hope you like my game.