- Building Pong Game with Pygame.
- A simple implementation of the classic Pong game using Python and Pygame.
This Pong Game is a basic implementation built with Python and Pygame. It features a simple player-versus-computer mode where the player can control one of the paddles, and the computer controls the other. The objective is to score points by bouncing the ball past the opponent's paddle.
- Classic Pong gameplay.
- Player versus computer mode.
- Responsive paddle controls.
- Ball reflection off the paddles.
- Simple and easy-to-understand code.
- Python 3.x
- Pygame library
-
Clone the repository:
git clone https://github.com/PraddyumnYadav/pong-pygame.git
-
Navigate to the project directory:
cd pong-pygame
-
Install the required dependencies:
pip install -r requirements.txt
Run the main Python script to start the Pong Game:
python main.py
The game window will appear, and you can control your paddle using the arrow keys. Try to score points by bouncing the ball past the computer-controlled paddle.
- Up Arrow: Move your paddle up.
- Down Arrow: Move your paddle down.
- Your Contributions are Welcome.