This is a two-player game of Pong. Player One uses the A and D keys to move the top paddle left and right (respectively) and Player Two uses the right and left arrow keys to move the bottom paddle left and right (respectively). The players hit the randomly moving ball back and forth until one of them miss and it reaches the area behind one of the paddles, causing the other player to win a point. The game will conclude automatically when one player earns five points.
Inspired by the classic arcade game. Shared 08/11/2020. Used as an example for the STEM Dot Art 25/10/2020 and 08/11/2020 Workshops.