Skip to content

hollali/space_Invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invaders Game

This is a simple Space Invaders game created using Python and the Pygame library.

Game Overview

  • The player controls a spaceship and shoots at descending alien enemies.
  • The player's score increases with each alien defeated.
  • The game ends when an alien reaches the player's spaceship.

Prerequisites

  • Python (3.x recommended)
  • Pygame library

Installation

  1. Make sure you have Python installed. If not, download and install it from Python's official website.

  2. Install the Pygame library using pip (pip install pygame):

Usage

  • Run the game by executing the Python script ,main.py.

  • Features

  • Player control using left and right arrow keys.

  • Shoot bullets by pressing the spacebar.

  • Multiple enemy aliens moving horizontally and vertically.

  • Sound effects for shooting and enemy destruction.

  • Background music during gameplay.

  • Score tracking.

  • Controls:

  • Use the left and right arrow keys to move the player's spaceship.

  • Press the space bar to fire bullets.

Game Assets

The game uses various image and sound assets located in the images and sounds directories. Make sure to keep these directories intact.

Credits

  • Game assets (images and sounds) used in this project are provided by various artists and can be found at example.com.

License

This project is open-source and available under the MIT License.

Author

  • Hollali Kelivin

Feel free to modify this readme.md file to include more detailed information about your project, such as gameplay instructions, additional features, and acknowledgments. You can also include links to external sources or assets you've used in the game.

Releases

No releases published

Packages

No packages published

Languages