Giter Club home page Giter Club logo

spacetrippers's Introduction

SpaceTrippers logo

Space Trippers


๐Ÿค– ๐Ÿš€ A 3D WebGL interactive game using TypeScript and NodeJS.

๐Ÿ“ Table of Contents

๐Ÿง About

A 3D space game. Traveling along the space trying to avoid rocks and obstacles. The ship can avoid the rocks by moving right, or left. Collision with the rocks affects its health by decreasing total health by ONE and every second with no collision with the rock your score increase by ONE.

๐ŸŽฅ Demo

GIF Demo Image Demo Image Demo Image Demo Image Demo Image Demo Image Demo

๐Ÿ Install

  1. Install Node.js and Visual Studio Code.
  2. Open the folder in Visual Studio Code.
  3. Open a terminal (Terminal > New Terminal).
  4. Run npm install . If it failed for any reason, try again.
  5. Run npm run watch .
  6. Ctrl + click the link shown in the terminal (usually it will be http://localhost:1234).

Note: you can use yarn to enable caching so that you don't download all the packages with project. You can download yarn from yarnpkg.com. Then replace npm install with yarn install and npm run watch with yarn watch.

๐Ÿ’ญ How To Play

The aircraft is running "to infinity and beyond" ๐Ÿƒ so your job is to avoid the obstacles to get survive for as much time as you can so can get a point for every second of avoiding the rocks.

  1. Click on the canvas using the mouse to get into the game.
  2. Use J to moving left.
  3. Use L to move right.
  4. Press ESC to exit play mode.

โ›๏ธ Built Using

  • TypeScript - strict syntactical superset of JavaScript.
  • glMatrix - Javascript Matrix and Vector library.
  • WebGL - JavaScript API for rendering interactive 3D graphics.
  • NodeJs - Server Environment

spacetrippers's People

Contributors

aashrafh avatar aashrafh22 avatar abdallahhemdan avatar imgbotapp avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

httpminecraft

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.