Skip to main content

A game loosely inspired by the original Spacewar

Project description

Two ships duel in a gravity field. Gravity doesn’t affect the ships themselves (which have spanking new anti-gravity devices), but it affects missiles launced by the ships.

You can play against the computer, or two players can play with one keyboard. There is also a Gravity Wars mode, where the two ships do not move, and the players repeatedly specify the direction and velocity of their missiles.

Latest changes

October 9, 2024: Released version 1.2.0:

  • Use bundled Noto Sans fonts instead of expecting Verdana to be somewhere on the system.

  • Test coverage is 100%!

  • Add support for Python 3.8, 3.9, 3.10, 3.11, 3.12, and 3.13.

  • Drop support for Python 2.7, 3.5 and 3.6.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyspacewar-1.2.0.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

pyspacewar-1.2.0-py3-none-any.whl (981.2 kB view details)

Uploaded Python 3

File details

Details for the file pyspacewar-1.2.0.tar.gz.

File metadata

  • Download URL: pyspacewar-1.2.0.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for pyspacewar-1.2.0.tar.gz
Algorithm Hash digest
SHA256 0f0ac2a00597d157ec966c5b74cca08bf9ad852b57efaae30c5044cb5b3dfaee
MD5 b35545a51bb13f2b88be747d7e1c8f50
BLAKE2b-256 520086168132bed2cbd26cb8e6227928d9e0075298e7f205dbe6b96c7f1d3801

See more details on using hashes here.

File details

Details for the file pyspacewar-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyspacewar-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 981.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for pyspacewar-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5a347dbd6aaa206f1859efe21f7e83a6ad144ca25a29934209e4fd6dfdb37b9
MD5 d132895fdd463ea6c1045cdbed09c895
BLAKE2b-256 da430cea55a0b4dc9fce67971f6b78c7902a226fc43a3feee72ceb319ecd316b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page