https://github.com/racoolstudio/pingpong-game
https://github.com/racoolstudio/pingpong-game
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/racoolstudio/pingpong-game
- Owner: racoolstudio
- Created: 2023-07-30T18:47:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-30T19:18:41.000Z (almost 3 years ago)
- Last Synced: 2025-02-05T06:20:31.662Z (over 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ping Pong Game
## Overview
Ping Pong is a classic two-player arcade game where each player controls a paddle, and the objective is to bounce a ball back and forth between the paddles. The game continues until one player misses the ball. The game speed increases as players score points, making it more challenging as time goes on.
## How to Play
1. Install Python: Make sure you have Python 3.x installed on your system.
2. Clone the Repository: Clone this repository or download the ZIP file and extract it to your desired location.
3. Install Dependencies: This game uses the `turtle` module, which is a part of Python's standard library. No additional installation is required.
4. Run the Game: Open your terminal or command prompt, navigate to the project directory, and run the following command:
```
python ping_pong_game.py
```
5. Game Controls:
- Player 1 (Right Paddle):
- Move Up: Press the 'Up' arrow key.
- Move Down: Press the 'Down' arrow key.
- Player 2 (Left Paddle):
- Move Up: Press 'w' or 'W' key.
- Move Down: Press 's' or 'S' key.
6. Gameplay: The game will start automatically after running the script. Each player must try to bounce the ball off their paddle to prevent it from crossing their side of the screen. The game will speed up as players score points, making it more challenging over time.
7. Scoring: Each time the ball passes the opponent's paddle, the player scores a point.
8. Winning the Game: The game continues until one player reaches a pre-determined number of points (e.g., 5). The player who first reaches this score wins the game.
9. Restart: After the game ends, you can restart it by running the script again.
## Video Link
https://www.dropbox.com/scl/fi/56ojw4gsvlfmghc7sopwe/Video_22-06-30_22-40-15.mov?rlkey=fmjjg8r2l5nceup8epfooxdbp&dl=0
## Contribution
If you'd like to contribute to this project, feel free to fork the repository, make improvements, and submit a pull request.I welcome any enhancements to make the Ping Pong Game even more engaging and fun to play.
## Feedback
Your feedback is highly appreciated! If you encounter any issues or have suggestions for new features, please open an issue or reach out to me. I am committed to making this game better with your valuable input.
---
Rediscover the joy of retro gaming with the classic Ping Pong Game! Compete with your friends in a battle of skill and reflexes. Get ready for hours of fun and excitement as you try to outsmart your opponent. Let's start bouncing!