This project is a simple recreation of the classic Pong game using Python and the Pygame library. The game features two paddles, a bouncing ball, scoring, and smooth player controls โ all built from scratch!
-
Player 1 Controls:
-
Move paddle up: W
-
Move paddle down: S
-
Player 2 Controls:
-
Move paddle up: Up Arrow
-
Move paddle down: Down Arrow
Prevent the ball from passing your paddle. If the ball gets past your paddle, your opponent scores a point!
-
Two-player mode
-
Ball physics (bouncing off walls and paddles)
-
Score tracking and display
-
Smooth paddle movement
-
Game restart when someone scores
-
Basic collision detection
-
Frame rate control for a smooth experience