Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 806 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 806 Bytes

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! 😊🚀