Skip to content

Banel-Mgwevu/space-invaders-in-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invaders Game 🚀👾

This is a simple Space Invaders game developed using Pygame.

How to Run

Prerequisites

  • Python 3 installed

Running the Game

  1. Clone the repository:

    git clone https://github.com/Banel-Mgwevu/space-invaders-in-python.git
    
  2. Navigate to the project directory:

    cd space-invaders-in-python
    
  3. Install Pygame (if not installed):

    pip install pygame
    
  4. Run the game:

    python main.py
    

Controls 🎮

  • Use the arrow keys to move the player spaceship.
  • Press the SPACEBAR to shoot bullets.

Gameplay 🕹️

  • Destroy all enemy spaceships to win.
  • Avoid collision with enemy spaceships to stay alive.

Feel free to contribute or report issues if found. Enjoy playing! 😊🚀

About

space-invaders-in-python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages