Giter VIP home page Giter VIP logo

space-invaders's Introduction

Space Invaders

Space Invaders is 2D game created using C++ and SFML library, in which aliens rain down from the sky and a ship controlled by the player shoots them down for points. The game finally ends when the fleet of aliens manages to reach the floor of the window.

This was my first programming project, done for fun. It isn't interesting to play.

The only external dependency is SFML.

SpaceInvaders

Controls:

  1. left and right arrow keys to move left and right
  2. space key to shoot

Steps to Build

  1. Install SFML. On Fedora, this is done through the following command:

    sudo dnf install SFML-devel

  2. Clone the repository:

    i. click the "clone" button and copy the link

    ii. cd to wherever you like on your system

    iii. type:

    git clone [link you copied] si

  3. Build the project. First, enter the repository using "cd". Then, type:

    make

  4. [optional] Clean up the object files' mess by typing:

    make clean

  5. Run the game by typing:

    ./SI

Contributing:

Any minor tweaks that make the game better are great, such as:

  1. changing speed of the ship
  2. getting a new kind of bullet that takes out multiple ships at a time
  3. improving this README
  4. coding a better background
  5. getting better images for sprites

Bigger pieces of work, like change in gameplay rules, would be great too.

space-invaders's People

Contributors

jsuhaas22 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.