JavaScript: Intro to Web Game Development – Part 5: ball handling, scoring, and A.I.

In the previous article of the series, I described how to animate the left paddle using mouse movements. See: In this article, I will detail how to animate the ball, use an AI function to animate the right (computer) paddle, and take care of scoring. Step 1: Get the ball moving First I will need … Continue reading JavaScript: Intro to Web Game Development – Part 5: ball handling, scoring, and A.I.