Expand description
A crate for manipulating and solving the 3x3 Rubik’s cube with Kociemba’s two phase algorithm.
Modules
- Table read and write operations.
- Module for translating permutations and orientations into the two phase algorithm coordinate.
- Module for generating moves table.
- Module for generating pruning table.
- Some utility functions.
Structs
- Cube on the facelet level.
- Two phase solution.
- Two phase solver struct for more control.
- Cube on the cubie level.
Enums
- Names the colors of the cube facelets: up, right, face, down, left, back.
- Layer moves, Up, Down, Right, Left, Face, Back. $ clockwise, $2 double, $3 counter-clockwise.
Functions
- Solves a state state using the two phase algorithm, shorthand for
solver_instance.solve().