A classic Pong game implemented using Python and the Pygame library.
This project is a simple implementation of the classic Pong game using Python and the Pygame library. It features a player-controlled paddle, an AI-controlled opponent paddle, and a ball that bounces between them.
- Player-controlled paddle
- AI opponent paddle
- Ball bouncing mechanics
- Scoring system
- Game over screen when a player reaches a score of 10
- Sound effects for ball hits and game over
- Clone the repository using the following command: git clone https://github.com/spl3ndid/ping-pong.git
- Navigate to the project directory: cd ping-pong
- Install the required dependencies using pip: pip install pygame
-
Run the game using the following command: python main.py
-
Play the game using the controls mentioned in the next section.
- Player Paddle: Use the UP and DOWN arrow keys to move the player paddle up and down, respectively.
- Python
- Pygame
This project is licensed under the MIT License - see the LICENSE file for details.