A slightly modified clone of Pong classic game implemented with Python and pyxel.
- Cloned or downloaded repository.
- Python3 installed.
- pyxel installed. Manually by
pip install pyxelor by
pipenv syncin the root of the repository.
Installation with Pipenv will make sure that all dependencies are correct.
python main.py in the terminal while in the root of the repository.
- ↑ and ↓ arrow keys to select options in menus.
- ENTER to choose option in menus.
- W and S to move the first player's paddle up and down.
- ↑ and ↓ arrow keys to move the second player's paddle up and down.
- Q or P to pause the game.
- ESC to quit the game.
- Navigation menus.
- Single-player mode with three levels of difficulty.
- Two-players mode.
- Two trajectories of the ball (possibility to "curve" the ball).
Ideas for further development:
- Sound effects.
Subscribe to Python Awesome
Get the latest posts delivered right to your inbox