Coder Social home page Coder Social logo

alien_invasion's Introduction

Alien Invasion

Alien Invasion

Alien Invasion game build in pygame. The game was addapted and modified from PYTHON CRASH COURSE by ERIC MATTHES.

Table of Contents

  1. UX

  2. Technologies Used

  3. Deployment

  4. Credit

  5. Disclaimer

Back to Top


  • UX:

    • Structure

      • Features:
        • Existing Features:
          • Multi-level game. After each level speed of the game is increasing

          • A high score is always recorded after each game, so when you play next time you can still see your high score

        • Future Features to Implement:
          • Implement a button to show the instruction for the game

          • Implement a button to mute the sound of the game

          • Implement a button for the high score board for the top five high scores

          • Implement a functionality for pause/unpause the game

          • Implement a button to quit the game

          • Implement the functionality for alien ships to fire after few levels

          • Add life up after some levels

    • Surface

      • Imagery
        • To add some design to the game and make it more personal I have added a background image to game that also reflects the game's purpose right from the start
      • Sounds
        • Added sound effects to give feedback to players, and to provide an entertaining experience
  • Technologies Used

    • Languages:

      • Pyhton3 โ€“ used to develop the game
    • Frameworks, Libraries & Programs:

      • Pygame - used to create the game

      • GitHub - used to create and host the repository

    • Additional tools:

Back to Top


  • Deployment

    • Local Clone

      In order to run this project locally you should have installed these 3 requirements on your machine:

      1. VS Code - IDE or your personal preference

      2. Pyhton3 - to run the application on your local machine

      3. PIP for installation of tools needed in this project.

      Optional: you can install Git.

      Steps to follow

      1. At the top of the repository click on Code and click on download zip and extract the zip file to your chosen folder or keep the same name.

      Optional: if you have Git install on your machine you can type

      git clone https://github.com/constantinadrian/alien_invasion
      

      or to clone the repository into a different name on the folder you can run

      git clone https://github.com/constantinadrian/alien_invasion folder_name
      

      more info about cloning with git here.

      1. Install pygame library

      Windows installation

      py -m pip install -U pygame --user
      

      Mac installation

      python3 -m pip install -U pygame --user
      

      Debian/Ubuntu/Mint

      sudo apt-get install python3-pygame
      

      Fedora/Red hat

      sudo yum install python3-pygame
      

      OpenSUSE

      sudo zypper install python3-pygame
      

      Arch/Manjaro

      sudo pamac install python-pygame
      

      more info about pygame installation here.

      1. Navigate to the folder where project is

      2. To run the project run

      python alien_invasion.py
      

Back to Top


alien_invasion's People

Contributors

constantinadrian avatar

Watchers

 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.