The Challenge is to Solve a thoroughly scrambled Mini-Rubik's Cube(2x2x2).
The Performance metric is average number of moves for solving 500 cubes.
A standard Mini-Rubik's Cube is shown in 3-D and also unfolded to identify the specific Tile-face/Vector numbering.
The faces are White-Up / Red-Left / Blue-Front / Orange-Right / Yellow-Down / Green-Back (ULFRDB)
Moves are denoted as F for clockwise rotation of the Front face. F'(or FP) is CCW and F2 is F twice. The provided function r_new=rubick_rot_mini(mov,r) implements moves 1-18: UFDLBRU'F'D'L'B'R'U2F2D2L2B2R2.



Input: (rubik)
rubik: row vector of size 24 (The cube started [L=0,U=1,F=2,D=3,B=4,R=5] and then receives forty face moves.
Output: move_vec (Numeric of moves to solve) move_vec:values 1:27 for UFDLBR U'F'D'L'B'R' U2F2D2L2B2R2 XYZX'Y'Z'X2Y2Z2
The function rubik_rot_mini(mov,r) is provided in the template.
The Function Template Contains a 3D Cube Viewer and the first step in solving is at the bottom in a comment block.
Coming Soon: The Mini-Cube (2x2x2): Full Random - Eleven or Less Moves