Crate kewb

Crate kewb 

Source
Expand description

A crate for manipulating and solving the 3x3 Rubik’s cube with Kociemba’s two phase algorithm.

Modules§

constants
Module containing 3x3 cube constants.
error
fs
Module containing table read and write operations.
generators
Module containing functions for generating states on the cubie level.
index
Module for translating permutations and orientations into the two phase algorithm coordinate.
move_table
Module for generating moves table.
pruning_table
Module for generating pruning table.
scramble
Module containing functions for scrambling the cube.

Structs§

CubieCube
Cube on the cubie level.
DataTable
Contains the move and prunning table used by the two-phase algorithm
FaceCube
Cube on the facelet level. The facelet representation follows the ordering: U-R-F-D-L-B. A solved facelet is UUUUUUUUURRRRRRRRRFFFFFFFFFDDDDDDDDDLLLLLLLLLBBBBBBBBB.
Solution
Two phase solution.
Solver
Two phase solver.

Enums§

Color
Names the colors of the cube facelets: up, right, face, down, left, back.
Move
Layer moves, Up, Down, Right, Left, Face, Back. $ clockwise, $2 double, $3 counter-clockwise.