Assignment 0 for Harvard's CS50/GD50 Game Development class. You can audit for free here at the following websites:
Author: Cody Barr
Originally programmed by Atari in 1972. Features two paddles, controlled by players, with the goal of getting the ball past your opponent's edge. First to 10 points wins.
Much of the code here comes from CS50's Intro to Game development course.
I've added a simple AI for Player 2 and also added touch controls for use on mobile.
Source Repo: https://github.com/games50/pong