Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scramble seeding #174

Open
llGaetanll opened this issue Feb 20, 2022 · 1 comment
Open

Scramble seeding #174

llGaetanll opened this issue Feb 20, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@llGaetanll
Copy link

llGaetanll commented Feb 20, 2022

I've noticed that there is no way to seed scrambles using cubing/scramble.

Something like this would be very useful

const SEED = 1645390854477;
const s1 = await randomScrambleForEvent("333", SEED) // reproducible scramble

Are there any plans of implementing something like this?

@llGaetanll llGaetanll added the enhancement New feature or request label Feb 20, 2022
@lgarron
Copy link
Member

lgarron commented Feb 27, 2022

My instinct is that this is a big footgun — everyone should be using unpredictable, fully fair and random scrambles. There are lots of historical examples where someone thought they were getting random scrambles but weren't really — and I want to make it really hard to do that by accident.

If you need predictable scrambles, you should generally be either saving something precomputed.

Do you have any particular use cases in mind where this would be valuable and pre-computing some scrambles isn't feasible?

(Sorry for the delay — I just realized I haven't been getting notifications for new issues at all!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants