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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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