Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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

September 21, 2016: Released version 1.1.0:

  • Support Python 3.4 and 3.5 in addition to 2.7.
  • Made ‘pip install pyspacewar’ work.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyspacewar-1.1.0-py2-none-any.whl (210.8 kB) Copy SHA256 hash SHA256 Wheel py2 Sep 21, 2016
pyspacewar-1.1.0-py3-none-any.whl (210.8 kB) Copy SHA256 hash SHA256 Wheel py3 Sep 21, 2016
pyspacewar-1.1.0.tar.gz (232.7 kB) Copy SHA256 hash SHA256 Source None Sep 21, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page