https://github.com/tmpstpdwn/pong
A simple clone of pong game implemented in Python using the Pygame library.
https://github.com/tmpstpdwn/pong
2d atari game pong pygame python python3 sdl simple
Last synced: 11 days ago
JSON representation
A simple clone of pong game implemented in Python using the Pygame library.
- Host: GitHub
- URL: https://github.com/tmpstpdwn/pong
- Owner: tmpstpdwn
- License: gpl-3.0
- Created: 2024-05-21T07:23:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-04T08:55:20.000Z (over 1 year ago)
- Last Synced: 2025-01-14T06:29:47.317Z (over 1 year ago)
- Topics: 2d, atari, game, pong, pygame, python, python3, sdl, simple
- Language: Python
- Homepage:
- Size: 954 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PONG

A simple clone pong game implemented in Python using the Pygame library.
## Table of Contents
- [Description](#description)
- [Screenshots](#screenshots)
- [Dependencies](#dependencies)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
## Description
This project is a recreation of the popular pong game, developed using Python and the Pygame library.
## Screenshots
### After the game is launched

### During gameplay

### Game over

## Dependencies
- `python3` is required
- `pygame` is the only external package required to installed if not already installed
## Installation
- Clone this repo using the command `git clone https://github.com/tmpstpdwn/Pong` on you terminal.
- open the folder `Pong` and just run `main.py` file.
- thats it.
- Enjoy.
## usage
- After running the `main.py` script; the game will be lauched with an interface asking you to click a key to start the game.
- HIT `A` to play with a friend offline or `B` to play with a simple "`AI`".
- For the left paddle you can use `w` and `s`.
- For the right paddle you can use `o` and `k`.
- NOTE: in the `AI` mode only right paddle can be controlled by the user using the keys specifed above.
- The game will go on until any of the 2 player scores 10 points.
- the objective of the game is to not let the ball go outside the court.
## Contributing
Contributions are welcome! Please fork the repository and submit a pull request with your changes. For major changes, please open an issue first to discuss what you would like to change.
## License
This project is licensed under the GNU General Public License v3.0. See the [LICENSE](LICENSE) file for details.