You are the blue. You move the mouse to change the Y position of your paddle. It is possible to beat the computer. First one to five wins. Notice: The bouncing of the ball off the paddles is not random. It bounces off the way it bounces off the edge. It took me a long time to get that effect. Comment if you win, lose, or how well you think the AI paddle is. I need feedback. comment a link if you have your own pong game with an AI. Also add suggestions to make this better. Updates: -Ball speed setting -random start-up direction
Code is all me The ball is from the scratch library Music and bounce noise is from library as well Thanks MIT for making Scratch!