Export Image
Export Code

The Pong Game

Alexander Vasiliev

Last edited Oct 31, 2024
Created on Oct 05, 2024

Play the Pong game. Use the mouse to move the bottom paddle. Hit the ball with the edges of the paddle to change the angle and speed of the ball. The play stops when a player reaches 10 points.

This example is based on the book "JavaScript Crash Course: A Hands-On, Project-Based Introduction to Programming" by Nick Morgan, No Starch Press, 2024.

Visit also my repo https://github.com/ax-va/JavaScript-Crash-Course-Morgan-2024.

MIT Licensed