Giter Site home page Giter Site logo

Comments (3)

mikavilpas avatar mikavilpas commented on June 12, 2024

This is actually a feature - the scrambler adds random rotations. But you are correct, it does not guarantee that the starting position is sliceable.

Are you sure that it is not a legal position? I remember researching this in the summer when I made the scrambler, and found nothing regarding that.

That being said, if it really is the case that only sliceable starting positions are given by the official scramble, I feel this should be in line with that. It doesn't add that much value, and people are just going to be confused by this behavior in that case.

edit: You are right about the location of the problem too :)

from squanmate.

bugybunny avatar bugybunny commented on June 12, 2024

Hmm, interesting. I thought that would be written somewhere (e.g. in the regulations) but it is not. I guess it could be found in tnoodle https://github.com/thewca/tnoodle/blob/1907465e421362d69b7bc2b3e0acb22437d7cee6/sq12phase/src/cs/sq12phase/FullCube.java#L42 when the random state is selected. Random state already seems to include the moves after the last slash, they do not add any moves after applying the random state scramble https://github.com/thewca/tnoodle/blob/1907465e421362d69b7bc2b3e0acb22437d7cee6/scrambles/src/puzzle/SquareOnePuzzle.java#L39. But my brain could not parse all this Fullcube.randomCube() stuff and they use a python based make program which makes debugging impossible (? not sure).

So I asked my delegate and he said that they always have to end in a sliceable position.

from squanmate.

mikavilpas avatar mikavilpas commented on June 12, 2024

I made all scrambles start at a random sliceable position now. It's available in version 5.9.1

See if it works for you.

from squanmate.

Related Issues (20)

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.