Space Invaders is a two-dimensional fixed shooter game in which the player controls a ship with lasers by moving it horizontally across the bottom of the screen and firing at descending aliens. The aim is to defeat five rows of ten aliens that move horizontally back and forth across the screen as they advance towards the bottom of the screen. The player defeats an alien, and earns points, by shooting it with the laser cannon. As more aliens are defeated, the aliens' movement and the game's music both speed up.
The aliens attempt to destroy the ship by firing at it while they approach the bottom of the screen. If they reach the bottom, the alien invasion is successful and the game ends. A special "mystery ship" will occasionally move across the top of the screen and award bonus points if destroyed. The ship is partially protected by several stationary defense bunkers that are gradually destroyed by projectiles from the aliens and player.
For more details about game and its features see Wiki of repository.
You can run the program in the command prompt
cd SpaceInvaders
python3 spaceinvaders.py
Note: This Game will run only in Python3 only.
- Arshdeep Singh
- Avi Shrivastava
- Chetan
- Mithun Nair
- Saarthak Modi
- Basic Info about the game:https://www.leejamesrobinson.com/blog/space-invaders-with-python/
- Youtube tutorials :https://www.youtube.com/watch?v=QvtlEj_T55o&list=PLlEgNdBJEO-lqvqL5nNNZC6KoRdSrhQwK
- Look of the game:https://www.youtube.com/watch?v=_2yUP3WMDRc
- Pygame Tutorials(sprites):https://www.youtube.com/watch?v=y6hQdd68xaw
- Sprite Documentation:https://www.pygame.org/docs/ref/sprite.html
This project is done as an assignment for QSTP.