Skip to content

zohidjondev/SpaceShooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Shooter Game

Space Shooter is a simple 2D shooting game developed using the Pygame library in Python.

Features

  • Control a spaceship to shoot down enemy ships and avoid their bullets.
  • Collect upgrades and XP to enhance your spaceship and increase your score.
  • Dynamic background music and sound effects for an immersive gaming experience.
  • Game over screen with an option to restart the game.

Installation

  1. Clone the repository to your local machine: https://github.com/zohidjondev/SpaceShooter.git
  2. Navigate to the project directory: cd SpaceShooter
  3. Install the required dependencies using pip: pip install -r requirements.txt

Usage

  1. Run the main game file main.py: python main.py

  2. Use the arrow keys or 'A' and 'D' keys to move the spaceship.

  3. Press the spacebar to shoot bullets.

  4. Avoid enemy bullets and collect upgrades and XP to increase your score.

File Structure

  • main.py: Main game file containing the game logic and setup.
  • Images/: Directory containing images used in the game (background, spaceship, enemies, upgrades, etc.).
  • Sounds/: Directory containing sound files used in the game (background music, shooting sounds, etc.).

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository on GitHub.
  2. Clone the forked repository to your local machine.
  3. Create a new branch for your feature or bug fix.
  4. Make changes and commit them to your branch.
  5. Push the changes to your fork on GitHub.
  6. Submit a pull request to the original repository.

Credits

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages