Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bellisario/pypong
Pong game written in Python using Pygame
https://github.com/bellisario/pypong
Last synced: about 1 month ago
JSON representation
Pong game written in Python using Pygame
- Host: GitHub
- URL: https://github.com/bellisario/pypong
- Owner: Bellisario
- License: gpl-3.0
- Created: 2024-08-10T14:38:14.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-10T14:39:00.000Z (4 months ago)
- Last Synced: 2024-10-12T14:27:41.352Z (2 months ago)
- Language: Python
- Size: 79.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyPong
Pong game written in [Python](https://www.python.org/) using [Pygame](https://www.pygame.org/).
## Development
To get started, clone the repository and `cd` it:
```bash
git clone https://github.com/Bellisario/pypong.git
cd pypong
```Create a virtual environment and activate it:
```bash
python3 -m venv .venv
source .venv/bin/activate
```Install the dependencies:
```bash
pip install -r requirements.txt
```Run the game with:
```bash
python3 main.py
```When you're done with your changes, run the following command to build the executable (for your platform):
```bash
pyinstaller main.spec
```## Why?
I always wanted to remake Pong and I finally decided to spend some time with this idea while mastering my Python knowledge and learning Pygame.
> I had so much fun with this project, and I hope you'll appreciate the result, as this is my first "real" project in Python!
If you find some missing Python optimizations or "non-pythonic" code, feel free to contribute making this project better!
## Contributing
We :heart: contributions!\
Feel free to open an [issue](https://github.com/Bellisario/pypong/issues) or a [pull request](https://github.com/Bellisario/pypong/pulls) but follow [Contributing Guidelines](https://github.com/Bellisario/pypong/blob/main/CONTRIBUTING.md).> If you don't know where to start, check out the [help wanted issues](https://github.com/Bellisario/pypong/labels/help%20wanted)!
## License
GPL-3.0 License [here](https://github.com/Bellisario/pypong/blob/main/LICENSE).