git clone https://github.com/AdityaYadavalli1/Space-Invaders.git
cd Space-Invaders
python3 game.py
There are majorly two kinds of missiles the player can shoot.
- Missile 1 kills the alien in one go.
- Missile 2 slows down the alien. Then, after that missile 1 needs to be used in order to shoot down the alien. Advantage of missile 2 is it is faster. Also, for the convenience of the player, once an alien is shot by missile 2, the appearance of the alien is changed.
- Press A to go left
- Press D to go right
- Press Spacebar to shoot one kind of missile (missile 1)
- Press S to shoot another kind of missile (missile 2)
- Press P to know your current score
- Press Q to exit
Note: If you are using MACOS Catalina/Mojave please use the following command to install pygame: pip3 install pygame==2.0.0.dev6