Rubik's Cube
To move a row, make sure the cube is aligned properly, position your mouse curser on an outer row, depress and hold your mouse button down, drag your mouse on an outer row in the direction you want to rotate the row, and then let go of the mouse button. Positioning the curser anywhere else (besides on an outer row of the aligned cube) moves the whole cube. Press s to scramble and r to restore (while positioning the mouse cursor somewhere in the applet region).
Return Home
Java Source Code