An open API service indexing awesome lists of open source software.

https://github.com/fedecana00/space-invaders

Arcade game in Python using the Pygame library.
https://github.com/fedecana00/space-invaders

arcade-game game pygame pygame-application pygame-library python space-invaders student university

Last synced: about 6 hours ago
JSON representation

Arcade game in Python using the Pygame library.

Awesome Lists containing this project

README

          

# 👽Space-Invaders👾


Space Invader

## Get started
If you use PyCharm you can easily install the Pygame library thanks to the advice of the IDE.

To start playing you can run the following command in the command prompt:
```
py C:\Users\...yourPath...\Space_Invaders\main.py
```
Otherwise you can run the main.py file inside an IDE.

If you need to install PyCharm, you can look [here](https://www.jetbrains.com/pycharm/download/#section=windows).

If you need to install Pygame, you can look [here](https://www.pygame.org/wiki/GettingStarted).

If you need to install Python you can look [here](https://www.aranzulla.it/locked-chrome.php?p=1210886&fabm=file&rnd=0.96977803472701).

## 🎮How to play?
The game mode is quite simple: the player controls a mobile spacecraft that moves horizontally on the bottom of the screen, and must take down one by one the aliens that slowly approach the Earth. The approaching stages of the aliens to the World follow a unique pattern, a wide and orderly zig-zag that leads them slowly but surely to reach the bottom of the screen, decreeing the invasion and the consequent end of the game.

The player defends the Earth by facing hordes of aliens with his ship. In the upper area of the screen, some "Big spacecraft" scroll from time to time, that is, bonus ships that, if shot down, allow the player to increase his score much faster. The game ends when the aliens reach the bottom of the screen or when the player runs out of lives.

The player's ship can be destroyed by enemy fire. The spacecraft is partially protected by some immobile defensive bunkers which are gradually destroyed by the aliens' bullets.

## 📸Screenshots

![gameplay1](/screenshots/gameplay1.png)
![gameplay2](/screenshots/gameplay2.png)