A clone of the classic pong game.
This was one of my earliest pygame projects and includes collision and AI. The objective is to knock the ball past the opponent. The AI works by following the position of the ball and always adjust the paddle to line up with the ball. As the game progresses, the ball speeds up, making it harder to keep up with it.
Use the up and down arrow keys to move the paddle.