Giter Site home page Giter Site logo

invaders's Introduction

Invaders

Invaders is a naive rust re-built of classic space invaders game, It has voiceovers for fun in urdu to capture local context.

Setup

In order to play the game on your local machine, you should have rust installed. If you don't already have rust on your machine, please visit installation docs for instructions. A simple rustup installation would do the trick. For Unix-like OSes, you can run the command below to install rustup:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

After installing rust, you can play the game by following these steps:

git clone https://github.com/smabbasht/Invaders/
cd Invaders
cargo run --release

Game Logic

The game logic is simple. Just kill all the invaders through your ships shooting mechanism before any of them reaches your territory, invading your space.

Controls

Controls are pretty intuitive:

Key Effect
Left Move the spaceship left
Right Move the spaceship right
Space or Enter Shoot
q or Esc Quit the Game, You lose in this case

Have fun!

Credits

  • The voices are generated for free form the amazing tool PlayHT
  • The game is heavily inspired from the Github Repo by Nathan Stocks. The game was essentially the final project for his course: Ultimate Rust Crash Course

invaders's People

Contributors

smabbasht avatar

Stargazers

 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.