Skip to content

Latest commit

 

History

History
65 lines (41 loc) · 2.17 KB

README.md

File metadata and controls

65 lines (41 loc) · 2.17 KB

PySpaceInvaders

Language Module Release

Space Invaders

Space invaders is originally an arcade game released in 1978. It is a 2D shooter, the first of its genre. The goal, as for most of the arcade game of this time, is to obtain the highest score by destroying continuously the incoming aliens.

Here is two gifs of gameplay :

Gameplay

Many aliens are invading world and move slowly to you, shooting laser randomly in your direction.

The spaceship (aka the player) can move on the horizontal axis, avoiding laser shots. The spaceship can also fire at aliens, but it should aim properly since it's only one shot at a time. It can take cover below barriers, but they are gradually destroyed by enemy lasers and spaceship missiles.

Hit aliens are destroyed and award points. Periodicaly, a mistery saucer will appear, granting a lot of bonus point if destroyed.

How to play

Download the source code and type :

C:\.\PySpaceInvaders python main.py
  • Arrow keys to move
  • Space key to shoot

Requirements

python : >= 3.7.6
pygame : >= 1.9

Technical informations

This game was implemented to reproduce as faithfully as possible the original arcade game.

Sprites come from :

Sounds have been edited but the original material comes from :

Gameplay inspiration comes from youtube :

There is a configuration file config.py which contains all the configuration data. It can be modified to customize the game experience.

I'm very glad you take some time to look at my game and at my code!