Git Product home page Git Product logo

clh-bash's Introduction

clh-bash

screenshot from 2019-02-06 09-54-54

Development

Install dependencies.

npm install

Extract the compressed MTL and OBJ files.

npm run extract

Extract the compressed MTL and OBJ files for Windows OS.

npm run unzip

Start the dev server.

npm start

If you need to make changes to MTL/OBJ files and want to preserve them, run this to compress them. Only gzipped MTL/OBJ files are saved in the repo.

npm run compress

Leaderboard selection

Bash supports multiple options for leaderboard storage. The default is in-browser localStorage. A networked leaderboard is also supported, through sending leaderboard entries to a Parse server.

Networked leaderboards with Parse

If you want a networked leaderboard, you must have a Parse instance up and running. Then, open src/config.js and change PARSE_URL to point to the URL of your parse server.

Finally, when you launch Bash, add &storage=parse to the end.

Selecting a leaderboard namespace

Both localStorage and Parse leaderboard support namespacing. In other words, you can give the leaderboard a name. This is especially useful if you need to maintain multiple leaderboards, for tournament rounds, timed events at conferences, etc. Switching between leaderboards is as easy as changing the namespace.

Then, when you launch Bash, add &name=NAMESPACE to the end of Bash's URL. Note that you can change the word NAMESPACE to be anything you want.

How to get Help

  1. Post a question in the repo issues
  2. Ask a question in real-time in our public Discord server
  3. Send a tweet to one of the twitter links below social

Community

Join our public Discord server!

Social

clh-bash's People

Contributors

jared-sprague avatar jasehackman avatar mikefindsthings avatar mwcz avatar ronknight 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.