-
Clone this repository
gh repo clone pradhyumnj/Space-Invader-pygame
-
Install the required libraries.
pip install -r requirements.txt
-
Change directory to
Space-Invader-pygame
and run
python main.py
This is a two player game, when a player's health is reduced to 0, they lose.
Control | Player 1 | Player 2 |
---|---|---|
Move Left | Left arrow | w |
Move Right | Right arrow | a |
Move Up | Up arrow | s |
Move Down | Down arrow | d |
Fire | . | spacebar |
Note : The game will shut down once a player is dead.