Play the (Ping) 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.