Pong in Python, now with curses!
Project description
Pong NCurses
The classic game pong with ncurses graphics written in Python 3
Installation
Make sure you have Python 3.10 or greater installed on you system.
Linux
Every dependency is part of the Python 3.10+ standard library, so no installations are required. Just run the script like so:
Windows
Windows hates playing nice, so the installation is a bit more involved.
Install windows-curses
pip install windows-curses
Running the game
To run pong, simply run the following from your terminal in the directory that pong.py is located in:
python3 pong.py
How to play
- w, s: up, down for player 1
- i, k: up, down for player 2
- q: quit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file npong-1.tar.gz.
File metadata
- Download URL: npong-1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab7e8e8bc69f6e1daaa2c0ce691ebeceb475000e6ea76dee0a083c9acf0373fd
|
|
| MD5 |
f8c0d801723c9c5e73639d4856573697
|
|
| BLAKE2b-256 |
626b75256ab44c7c26ad4b9352ac8ffff72ba74bcc25461add601157cda381ee
|
File details
Details for the file npong-1-py3-none-any.whl.
File metadata
- Download URL: npong-1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea9e86a8cce26e64f10fa6c8837d5a30b31faccec3d5720cc651d2696009b6a9
|
|
| MD5 |
0a9ba0bcda27f434dcc8d96d6a631155
|
|
| BLAKE2b-256 |
9402cb9cd26c879233116511a65dfa2bfede0d12071c04999f7f14a90abda901
|