Skip to content

JaiLuthra1/Space_Invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invader

  1. Clone the repository
    git clone https://github.com/JaiLuthra1/Space_Invaders.git

  2. cd Space_Invaders/

  3. Create a virtual env using
    python3 -m venv space

  4. Activate the venv using
    source ./space/bin/activate

  5. Install the requirements
    pip install -r requirements.txt

  6. Run the program using
    python main.py

How to Play the Game?

Controls:

Left, right arrow for moving
Space for shooting

Rules:

  • Only one bullet can remain on the screen at any time
  • Once an enemy hits the spaceship, game gets over
  • Once an enemy crosses, you lose a life
  • The enemy increases speed after every 5 points are earnt
  • The enemy will respawn again randomly

About

My version of Space Invaders

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages