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

Add option to prioritize moves randomly during search #72

Open
torjusti opened this issue Sep 10, 2023 · 0 comments
Open

Add option to prioritize moves randomly during search #72

torjusti opened this issue Sep 10, 2023 · 0 comments

Comments

@torjusti
Copy link
Owner

The current Kociemba solver is fully deterministic - given the same scramble, it'll always provide the same solution.

My main use for this solver has been to create algorithm training apps, where this is problematic: after a while, I'm actually able to recognize the algorithm from the scamble instead of by looking at the cube.

I think it would be a good idea if the solver could optionally pick a random next move instead of checking them sequentially. In other words, changing this part of Search.js to go through the moves in a random order:

for (let i = 0; i < this.moves.length; i += 1) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant