A fast and versatile Rubik's Cube Solver
- Solves over 1.5 million cubes per second in testing
solve_cube()
: prints the solution to a cube given a cornerstate and edgestatesolve_corner()
: prints solution to UBL corner (buffer) given a cornerstatesolve_edge()
: prints solution to UR edge (buffer) given an edgestate
- Comment out all four
printf
s incube_solver.c
- Compile with
make
./test_cube_solver
will generate every possible 2x2 scramble, solve them, and report solve speed.- On good hardware,
TKSolve
should solve around 1.7 million cubes per second - This is equivalent to solving every possible 2x2 cube within 2.2 seconds
- On good hardware,