Generates scrambles to a specific state using Hebert Kociemba's two phase solver. This project would not be possible without his work which you can see here:
https://github.com/hkociemba/RubiksCube-TwophaseSolver
I wrote this project to generate scrambles to specific states for an algorithm trainer.
In the Data folder, create a .txt file containing the name of the algorithm and the algorithm on alternating lines:
From this, you can use StateGenerator.py to create a file with the end states that you would like to generate scrambles to. These end states are represented in the same way that Herbert Kociemba represents Rubik's cubes
Finally, you can use this file to create a json file of scrambles using ScrambleGenerator.py:
In ScrambleGenerator.py, there are several options you can change.
NUM_SCRAMBLES: this number represents how many scrambles will be generated for each algorithm.
SOLVE_TIME: how much time you give the cube solver to find a solution
MOVE_COUNT: a desired move count - the cube solver stops once it finds a solution that is this length or shorter
RANDOM_AUF: whether a random auf should be applied to the cube (boolean)