This project is a classic implementation of the Pong game using Python and the Pygame library. The game features a simple start menu, two-player controls, and a scoring system. Players can control the paddles using the keyboard, and the game includes basic collision detection and ball movement mechanics.
- Two-player Gameplay: Control the left paddle using the
w
ands
keys, and the right paddle using theUP
andDOWN
arrow keys. - Simple Start Menu: The game includes a start menu with instructions on how to play. Press
ENTER
to start the game. - Scoring System: The game keeps track of the score for both players.
- Collision Detection: The ball bounces off the paddles and the top and bottom edges of the screen.
- Reset Mechanism: The ball resets to the center of the screen after a point is scored.
main.py
: Entry point of the game that initializes and runs the game loop.Scripts/paddle.py
: Contains thePaddle
class, which represents the paddles in the game.Scripts/ball.py
: Contains theBall
class, which represents the ball in the game.Scripts/game.py
: Contains theGame
class, which manages the overall game logic.