A scramble generator for 3x3 Rubik's Cubes.
Register the flake in your local flake registry, then install it:
$ nix registry add scrambler github:achuie/scrambler
$ nix profile install scramblerInitialize Cargo.lock:
$ nix-shell --command 'cargo update'or use the convenience script generate_lockfile.sh.
Install:
$ nix-env -i -f default.nixEnter a development environment providing the same rust version:
$ nix-shellJust use cargo like normal.
Choose sequence of random moves, with a heuristic to avoid immediate repeat moves.
Coming soon!