A classic two-player Ping Pong game built using Python and the Turtle Graphics module. This project is a fun implementation of the timeless arcade game and serves as an excellent learning project for game development enthusiasts.
- Two-Player Gameplay: Enjoy a competitive game of Ping Pong with a friend.
- Scorekeeping: Tracks and displays scores for both players in real-time.
- Simple Controls: Easy-to-use keyboard controls for paddle movement.
- Classic Design: Retro-styled graphics reminiscent of the original Ping Pong arcade game.
- Clone the repository:
git clone https://github.com/your-username/Ping_Pong_Game.git
- Navigate to the project directory:
cd Ping_Pong_Game
- Run the game:
python main.py
- Use the following controls:
- Player 1: Move paddle up and down using the
A
andD
keys. - Player 2: Move paddle up and down using the
Right Arrow
andLeft Arrow
keys.
- Player 1: Move paddle up and down using the
- Python: The core programming language.
- Turtle Graphics: For creating game graphics and animations.
Ping_Pong_Game/
│
├── ball.py # Handles the ball's movement and collision logic
├── paddle.py # Manages paddle behavior and controls
├── scoreboard.py # Implements scorekeeping functionality
├── main.py # The main game loop and initialization
└── README.md # Project documentation
Contributions are welcome! If you have ideas to improve the game or fix any bugs, feel free to fork the repository and submit a pull request.
This project is licensed under the MIT License.