# Rubik's Cube

## Moves

The "moves" buttons move the faces of the cube 90 degrees in one direction. The first letter indicates the face, the second letter the direction.
T -- Top
F -- Front
B -- Bottom
K -- Back
L -- Left
R -- Right

L -- Counterclockwise
R -- Clockwise

## Orientation

The orientation buttons move the whole cube.

## Macros

These are used to manually solve the cube.

You must solve the first layer on your own.

The macros L2Left and L2Right are used to solve the second layer.

L2Left takes the cube on the center bottom right and inserts it into the second layer on the left. The color facing to the right ends up facing to the front. Use the Orientation buttons to move the cube into the proper position. L2Right is the mirror image of L2Left. Both are needed to solve layer 2.

Layer 3 is solved using the other macros. Criss-Cross is not needed. To solve layer 3, you must first put the corner cubes in the proper position using ROT XFL and ROT XFR. ROT XFL rotates three of the corners, leaving the Front Left cube fixed. ROT XFR is the mirror image. Experiment with these on a solved cube (reset button) to see how the rotation works. Orientations will change.

The next step in Layer 3 is to orient the corner cubes properly using FLIP XLB and FLIP XRB. FLIP XLB will rotate the orientations of all bottom cubes except the one in the Left Back position. That cube should already be in the proper orientation, the other three must be wrong. If you're not already in a one-right three-wrong state, using FLIP XLB and FLIP XRB once can get you into this state. Experiment with these macros on a solved cube (reset) to see how they work.

The next step in Layer 3 is to orient the non-corner cubes (edge cubes), using the LB Flip and RB Flip macros. The LB flip will flip the Left and Back edge cubes. RB Flip is the mirror image. The position of the edges will be changed by this macro.

The final step is to put the edge cubes in the proper position using the LtoRtoF and RtoLtoF macros. These macros rotate three edges as suggested by their names without changing their orientations. The Criss-Cross macro exchanges opposing pairs of edges without changing their orientations. Criss-Cross is not needed, you can do everything with the other two. Two applications of the macro might be needed.

## Utilities

Reset reinitializes the cube to its starting state.

Random randomizes the cube. (It is left in a solvable state. There are eleven unsolvable states.)

Fold unfolds the cube, or refolds it. Unfold it to see all faces at once.

Show Back shows the other three faces of the cube without unfolding. Click again to hide the back. The unfolded state has precedence.

Solve gives an animated solution to a randomized cube. It is a bit hard to follow, but that can't be helped.

This page, its contents, the Rubik's Cube ActiveX control and the FHDLButton ActiveX control are Copyright 2000, Peter M. Maurer.
For comments and complaints send mail to Peter_Maurer@Baylor.edu.