Python game using pygame
Control | Button |
---|---|
Move left | left arrow |
Move right | right arrow |
Fire bullets | spacebar |
exit | esc |
- Score 10 points for each alien hit and increases on each level
Prerequisite : python and pygame installed
sudo apt-get update
sudo apt-get install python3.6
sudo apt-get install python-pygame
git clone https://github.com/Paarmita/Space-shooter.git
cd Space-shooter
python alien_invasion.py
- Add key press P to play
- Game over msg after 3 ships
- Display highscore and score labels
- All time highScore by wrtitng score to a file
- Sound effects on explosions and shooting sounds.