Coder Social home page Coder Social logo

jsss's Introduction

⛔️ Javascript Solver/Scrambler Suite ⛔️

⛔️ Do not use this project. It consists of unlicensed code with many authors, so it falls into a legal gray area at best.

In addition, it has significant issues, such as:

  • Blocking the entire page while generating scrambles: no scrolling, no other calculations at the same time.
  • Incorrect and unfiltered scrambles for some events.

✅ Use cubing.js instead ✅

<script type="module">
  import { randomScrambleForEvent } from "https://cdn.cubing.net/js/cubing/scramble";

  const scramble = await randomScrambleForEvent("333");
  scramble.log();
</script>

jsss's People

Contributors

lgarron avatar timhabermaas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jsss's Issues

I'm Bad. I am /u/pwnz0r_p373r and want to add some stuff to the markup.

In the past few months, there are a lot of events we have added, and the markup needs to be changed. Which doc makes the stuff that I see when I load icyflame.github.io/reddit-comp-creator/main.html?

I am reasonably good at HTML, so I could do this if someone points me to the right place. Thanks a lot!

Is this a WCA-approved scramble?

If I do:

scramblers["333"].getRandomScramble().scramble_string

Will the scramble_string be a "random-state scramble" like they use at WCA? Thanks!

NNN and Pyram JS files interfering with each other

I have a page which includes both scramble_NNN.js and scramble_pyra.js, when I draw scramble the 5x5x5 I get the following happening visually

bug

If I remove the scramble_pyra.js, the 5x5x5 scramble works fine.

Creating the 5x5x5 with

scramblers["555"].drawScramble(
    document.getElementById('drawScramble'),
    this.scrambleObject.state,
    175,
    125
);

drawScramble() method no longer works

When called, it returns:

Error: <path> attribute d: Expected moveto path command ('M' or 'm'), "Z".

I'm wholly unfamiliar with the Raphael.js library, so I haven't the slightest clue how to even begin fixing this or I would absolutely try. This bug is present in all scramblers I tested - from 222 to 777, 333bf, minx, pyram, and sq1.

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.