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.
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.
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
- Multiplayer gameplay
- Bullet shooting mechanics
- Health tracking for each player
- Winner announcement
- Python
- Pygame
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!
