Giter Site home page Giter Site logo

jstris-plus-userscript's Introduction

Jstris+

Script bundle for jstris, notably:

  • 1v1 skill-based matchmaking
  • added graphic effects
  • many QOL and layout improvements

(uses webpack-userscript template)

How do I start developing?

  1. Add the devLoader.user.js userscript.
  2. Run npm run dev to spin up the webpack server.
  3. Refresh the page and make sure the dev loader script is on.
  4. Making changes to any of the files will refresh the page and the script.

How do I build my userscript/extension for distribution?

  1. Run npm i to ensure all packages are properly installed
  2. Run npm run pack
  3. Your userscript is in build/bundle.user.js
  4. Unpacked versions of extensions will be in build/jstris-plus-chrome and build/jstris-plus-firefox

Troubleshooting

The server doesn't notice a filechange

Most likely the maximum number of watchers is surpassed. Try adding fs.inotify.max_user_watches=524288 to /etc/sysctl.conf and execute sysctl -p.

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

jstris-plus-userscript's People

Contributors

freyhoe avatar cyu2019 avatar justin1l8 avatar swng 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.