Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

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.