Rubik Cube Game - MATLAB toy.
ChangePointer.m - function for change of mouse pointer
Congr.m - function for creation figure with congratulation
CreateNewGame.m - function for creation of new game
InitCube.m - function for initialization of Cube object
PlotCube.m - function for drawing of the cube
RotateCube.m - function for rotation of the cube
RotateLayer.m - function for rotation of the layer
RotateWithMouse.m - function for all rotations with mouse
Rubik.m - main file.
Neat implementation... was not able to spin the middle planes, without rotating the entire cube.
Also, the function UNIDRND was missing, so I wrote one:
% r=unidrnd(range,m,n) - uniform discrete random number generator, 1 to RANGE
29 May 2004
Nice piece of work! you can improve the graphics adding ligths.