JavaScript: Intro to Web Game Development – Part 6: add win screen and replay

In the previous article, scoring was introduced, but there was no win detection that would end the game. The previous article in the series can be read here: JavaScript: Intro to Web Game Development – Part 5: ball handling, scoring, and A.I. In this article, I will show how to detect when a game ends … Continue reading JavaScript: Intro to Web Game Development – Part 6: add win screen and replay

JavaScript: Intro to Web Game Development – Part 4: animate left paddle

This is the fourth part in the series on how to create a web browser game of Pong using JavaScript. Part 3 can be read here: JavaScript: Intro to Web Game Development – Part 3: add graphical components For this article, I will demonstrate how to add mouse control to the left paddle so that … Continue reading JavaScript: Intro to Web Game Development – Part 4: animate left paddle