A classic Pong Game built using Python and the Turtle graphics module. This project is part of my Python learning journey and helped me understand object-oriented programming, collision detection, game logic, and animation.
- Two-player gameplay.
- Paddle movement using keyboard controls.
- Ball collision with paddles and walls.
- Score tracking for both players.
- Ball speed increases after each successful hit.
- Python
- Turtle Graphics
- Object-Oriented Programming (OOP)
Python-Pong-Game/
│
├── main.py
├── paddle.py
├── ball.py
├── scoreboard.py
└── preview.gif
- Clone the repository.
git clone https://github.com/YOUR_USERNAME/Python-Pong-Game.git-
Open the project folder.
-
Run the following command.
python main.py| Player | Keys |
|---|---|
| Left Paddle | W / S |
| Right Paddle | Up / Down Arrow |
- Building a two-player game using Python.
- Using classes to organize game components.
- Detecting collisions between objects.
- Managing game speed and scoring.
- Working with the Turtle graphics module.
