Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skamieniarz/pypong
Slightly modified clone of Pong classic game implemented with Python.
https://github.com/skamieniarz/pypong
Last synced: about 1 month ago
JSON representation
Slightly modified clone of Pong classic game implemented with Python.
- Host: GitHub
- URL: https://github.com/skamieniarz/pypong
- Owner: skamieniarz
- License: mit
- Created: 2019-10-27T19:19:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-06T23:46:50.000Z (almost 5 years ago)
- Last Synced: 2024-08-02T13:31:54.986Z (4 months ago)
- Language: Python
- Size: 108 KB
- Stars: 54
- Watchers: 5
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starz - skamieniarz/pypong - Slightly modified clone of Pong classic game implemented with Python. (Python)
README
# PyPong #
A slightly modified clone of [Pong](https://en.wikipedia.org/wiki/Pong)
classic game implemented with Python and [pyxel](https://github.com/kitao/pyxel).![Demo!](https://github.com/skamieniarz/pypong/blob/master/assets/demo.gif)
## Prerequisites: ##
1. Cloned or downloaded repository.
2. [Python3](https://www.python.org) installed.
3. [pyxel](https://github.com/kitao/pyxel#how-to-install) installed. Manually by `pip install pyxel` or by `pipenv sync` in the root of the repository.
Installation with [Pipenv](https://github.com/pypa/pipenv) will make sure that all dependencies are correct.## Starting: ##
Run `python main.py` in the terminal while in the root of the repository.## Controls: ##
1. **↑** and **↓** arrow keys to select options in menus.
2. **ENTER** to choose option in menus.
3. **W** and **S** to move the first player's paddle up and down.
4. **↑** and **↓** arrow keys to move the second player's paddle up and down.
5. **Q** or **P** to pause the game.
6. **ESC** to quit the game.## Features: ##
1. Navigation menus.
2. Single-player mode with three levels of difficulty.
3. Two-players mode.
4. Two trajectories of the ball (possibility to "curve" the ball).## Ideas for further development: ##
1. Sound effects.