Skip to content

F-Fer/SpaceGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pygame Multiplayer Spaceship Battle

Alt text

Description

This is a simple multiplayer spaceship battle game built with Pygame. Two players control spaceships, attempting to shoot each other while avoiding bullets. The game features health indicators for each player and announces the winner when one player's health reaches zero.

How to Play

Player 1 (Yellow Spaceship):

  • Move Up: W key
  • Move Down: S key
  • Shoot: Left Alt key

Player 2 (Red Spaceship):

  • Move Up: Up Arrow key
  • Move Down: Down Arrow key
  • Shoot: Right Alt key

The objective is to reduce the opponent's health to zero by shooting bullets. The game announces the winner and resets the health when one player's health reaches zero.

Installation

Make sure you have Python and Pygame installed on your system. You can install Pygame using the following command:

pip install pygame

To run the game, execute the following command:

python SpaceGame.py

Features

  • Multiplayer gameplay
  • Bullet shooting mechanics
  • Health tracking for each player
  • Winner announcement

Dependencies

  • Python
  • Pygame

Acknowledgments

This game is a simple project created for educational purposes, inspired by classic multiplayer spaceship battle games. Feel free to modify and enhance the code to add more features and improve the gameplay experience. Enjoy the space battle!

About

Simple Space game implemented in python using pygame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages