A simple implementation of the classic Pong game using Pygame.
- Clone this repository:
git clone <repository-url>
cd <repository-directory>
- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install the required dependencies:
pip install -r requirements.txt
You can run the game in one of two ways:
- Install the package and run using the entry point:
pip install -e .
pongularity
- Or run directly using the module:
python -m pongularity
- Left Paddle: W (up), S (down)
- Right Paddle: Up Arrow (up), Down Arrow (down)
- Exit: Close the window
- First player to score 10 points wins
- A point is scored when the opponent fails to return the ball
- The ball speeds up slightly after each successful return
Enjoy the game!