Giter VIP home page Giter VIP logo

pyspaceinvaders's Introduction

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!

pyspaceinvaders's People

Contributors

lehnart avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.