Pong

Pong

Very simple game of Pong I made in Pygame. Ball moves diagonally in the most basic way possible, by adding or subtracting 1 of the x and y. Implemented collision with the walls and paddles, and a score system.

Implemented a very simple bot to play against the user: paddle simply moves towards the y position the ball is at. This made the bot unbeatable however so I made the ball speed up over time, the bot can keep up until a critical point where the ball is moving too fast for the rudimentary system to keep up. The user must therefore beat the bot by predicting the position of the ball when it reaches their paddle’s x coord rather than simply following its position on the y.

Pong
Pong