Skip to main content

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

Release files for npong 1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for npong 1
File Size Uploaded
npong-1.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for npong 1
File Interpreter ABI Platform
npong-1-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / npong-1.tar.gz

Download URL npong-1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ab7e8e8bc69f6e1daaa2c0ce691ebeceb475000e6ea76dee0a083c9acf0373fd
BLAKE2b-256 checksum
How to use checksums
626b75256ab44c7c26ad4b9352ac8ffff72ba74bcc25461add601157cda381ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / npong-1-py3-none-any.whl

Download URL npong-1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea9e86a8cce26e64f10fa6c8837d5a30b31faccec3d5720cc651d2696009b6a9
BLAKE2b-256 checksum
How to use checksums
9402cb9cd26c879233116511a65dfa2bfede0d12071c04999f7f14a90abda901
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

1.13

1 release file

This release

1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page