PySpaceWar Screenshot Top down one or two player space game with gravity

PySpaceWar is an open-source game, loosely inspired by Spacewar, Gravity Wars, and a bit by Star Control (I and II).

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 launched 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.

License: free
Requirements:

  • Python 2.4 (or newer)
  • PyGame 1.6 (or newer)
  • Psyco is optional, but highly recommended for speeding up the game

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
noyesnoyesnonoyes
Suggest an update

Comments

Nice game, but I think it would be better if there would be a limit to shots, e.g. only one shot every second or every 2 seconds is possible. Without this the player (or the computer) who fires the most amount of shots, wins.
It's good to announce a new version and all, but the author could at least zip up the release and put a link on the website (the version linked here is 0.9.1 which is like 2 years old)...

The trunk bombs out with this after you install it: File "/usr/bin/pyspacewar", line 33, in main() File "/usr/lib/python2.5/site-packages/pyspacewar/main.py", line 71, in main ui.init() File "/usr/lib/python2.5/site-packages/pyspacewar/ui.py", line 1911, in init self._init_pygame() File "/usr/lib/python2.5/site-packages/pyspacewar/ui.py", line 1954, in _init_pygame icon = pygame.image.load(find('icons', 'pyspacewar48.png')) pygame.error: Couldn't open /usr/lib/python2.5/site-packages/pyspacewar/icons/pyspacewar48.png

Looks like the new icon didn't make it into SVN.... :(

Very disorganized "release" if you can call it that...

I loved the original SpaceWar, and this is a very pretty re-imagining! Worth the download.

I had trouble because 64-bit systems don't run python Numeric very well; I got an error about "arrays not aligned for copy", which was resolved by commenting out the offending line (ui.py line 845) or installing NumPy and replacing all the references to Numeric with NumPy. The the fun began!

I think limiting the number of shots is a good idea; I would also like to see autofire, the ships affected by gravity, different kinds of shots, powerups, and LAN play. But even without those "improvements", the game is currently playable and a load of fun!

Log in or register to rate this game or post a comment.