This repository contains a simple implementation of a classic Ping Pong game using Python and the Pygame library.
- Python 3
- Pip (Python package installer)
-
Clone the repository:
git clone https://github.com/iamrishigandhi/pingpong
-
Install dependencies (Pygame):
pip install pygame
Run the game using the following command:
python pingpong.py
Use the UP and DOWN arrow keys to control your paddle. The opponent paddle will automatically follow the ball.
Feel free to customize the game according to your preferences:
- Adjust game constants in the code (e.g., window dimensions, paddle sizes).
- Enhance game features, such as scoring, sound effects, or advanced AI.
- Add additional visual elements or game mechanics.
Contributions are welcome! If you have any ideas for improvement, bug fixes, or new features, please open an issue or submit a pull request.
This project is licensed under the MIT License.