Code covered by the BSD License  

Highlights from
Rubik Cube Game

4.375

4.4 | 8 ratings Rate this file 19 Downloads (last 30 days) File Size: 7.11 KB File ID: #4210

Rubik Cube Game

by Sergii Iglin

 

03 Dec 2003 (Updated 26 Aug 2004)

Task: to solve Rubik's Cube.

| Watch this File

File Information
Description

Rubik Cube Game - MATLAB toy.
File list:
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.

Acknowledgements
This submission has inspired the following:
flatRubiks, Mathworks Rubik
Required Products Statistics Toolbox
MATLAB release MATLAB 6.5 (R13)
Other requirements PC platform
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (8)
29 May 2004 Jack Bauer

Nice piece of work! you can improve the graphics adding ligths.

02 Sep 2004 AJ Johnson

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:
function r=unidrnd(range,varargin)
% r=unidrnd(range,m,n) - uniform discrete random number generator, 1 to RANGE
r=ceil(rand(varargin{:})*range);

16 Dec 2004 mer rin  
04 Sep 2005 JAIME VILLALOBOS  
27 Jan 2006 Kirill Tkachenko  
12 Nov 2006 Lipatov Vladimir  
09 Sep 2008 xx yy  
16 May 2011 Pavan

Bravo!!

Please login to add a comment or rating.
Updates
26 Aug 2004

The new e-mail is added.

Tag Activity for this File
Tag Applied By Date/Time
games Sergii Iglin 22 Oct 2008 07:10:06
rubik cube game Sergii Iglin 22 Oct 2008 07:10:06
solve Sergii Iglin 22 Oct 2008 07:10:06
matlab toy Sergii Iglin 22 Oct 2008 07:10:06

Contact us at files@mathworks.com