Home > By category > Scripts >Games > Rubik's Cube Simulator and Solver



Rubik's Cube Simulator and Solver

  • Downloads: 
  • Views: 
  • Rating:

Run: >>digrub

This program allows the user to generate a Rubik's Cube in a number of ways:

1. Randomly scrambled
2. With predefined scramble
3. By reading state from webcam images
4. By manually inputting all fields

After having generated a cube, it can be manipulated using two types of commands. The first is the original Rubik's Code where the face is specified by F,B,L,R,U,D to realize a clockwise rotation of this face. An additional ' or 2 will respectively invert (counterclockwise) or double (180 degrees) the move. However, this only works on a 3x3x3 cube. Cubes of higher order can be manipulated by specifying the rotation axis, the row to rotate and the number of rotations, e.g. 'x23'.
Lastly, the program contains a solving mechanism that follows a beginners method:

1. Form a cross (correct edges)
2. Place + orient cornerpieces
3. Complete second layer
4. Make a cross on the third layer
5. Place and orient cornerpieces
6. Permute edge pieces to complete cube

This is not a very efficient way but it will solve the cube in most cases.

Remember that this is the very first beta-version, so any comments on bugs or other stuff that can be improved will be highly appreciated!

DESCRIPTION OF INCLUDED FUNCTIONS/FILES:
algrot.m - calculates how an algorithm changes under rotation of the cube.
digrub.fig - GUI figure main program
digrub.m - GUIDE-generated m-file to go with digrub.fig.
editstate.fig - GUI figure for manual input program
editstate.m - GUIDE-generated m-file to go with editstate.fig.
findpeeks.m - Peek-finder that is used to find the cube's position in a webcam image.
move2rub.m - converts a move of the form 'x11' to Rubik's Code 'B'.
rub2move.m - converts a move in Rubik's code to axile 'x11' form.
rubcross.m - searches for a cross on the cube.
rubgen.m - generates a cube
rubinfo.m - returns information about the cube state
rubopt.m - optimizes a move-sequence
ruborient.m - orients the cube
rubplot.m - plot a 3D image of the cube
rubrot.m - apply a move to the cube
rubrot2.m - rotate the entire cube
rubsolve.m - solve the cube

Free download from Shareware Connection - This program allows the user to generate a Rubik's Cube in a number of ways

Publisher: Joren Heit | License: Shareware
Version: 1.0 | Size: 174 KB | Platform: Matlab, Scripts
Released Date: 03-01-2013 | Rating: 0 | Title: Rubik's Cube Simulator and Solver

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/31672/6/Digital_Rubik_s_Cube.zip

More downloads from Rubik's Cube Simulator and Solver publisher Joren Heit:

Tetris Solver (non-playable) - The program tries to place each block as best as possible, using a set of four rules

Zatacka/Achtung, die Kurve! for Matlab - I just finished it, so it might be full of bugs and I didn't include many comments

Carcassonne - Installation: 1) Download figstate.p: http://www.mathworks.nl/support/solutions/attachment.html?resid=1-ESX4DK&solution=1-3MY8PN and maxfig.p: http://www.mathworks.nl/support/solutions/attachment.html?

RISK for matlab - This version of RISK incorporates (for as far as I am aware) all rules of the original boardgame

Rubik's Cube Simulator and Solver keywords:
Rubik's Cube Simulator and Solver related downloads:

Rubik's Cube Simulator - Rubik's Cube Simulator is a program which runs with OpenGL and glut (works both with Unix (using posix threads) and Windows). It has a window which show a 3D Rubik's Cube. This cube can be maniplulated using a term window.

Arcus - Rubik's Cube Simulator - Arcus is a Rubik's Cube Simulator written in Java featuring 3D display and cube manipulation.

Rubik's Cube Simulator - Rubik's Cube Simulator is a program which runs with OpenGL and glut (works both with Unix (using posix threads) and Windows).

Arcus - Rubik's Cube Simulator - Arcus is a Rubik's Cube Simulator written in Java featuring 3D display and cube manipulation. Besides conventional solving, getting from any pattern to any goal pattern is supported. Allows the user to bidirectionally walk through the cube's history.

Rubik's Cube - Can you finish a Rubik's Cube?

Shareware Connection periodically updates pricing and software information of 'Rubik's Cube Simulator and Solver' from company source 'Joren Heit' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'Rubik's Cube Simulator and Solver' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Rubik's Cube Simulator and Solver.

New Reviews

Safe In Cloud - It is quite difficult to find any computer users nowadays who do not need to use the web, for any purpose. Whether it is for education or entertainment, the web is your best resource. You also need to use various online services for banking, ...

BitKiller - Dealing with various types of data efficiently holds the key to success in any computing task. Apart from generating new data and modifying existing files, it becomes necessary to delete existing files at times. While most users resort to using ...

Trend Micro HouseCall - With time, PC users find it increasingly difficult to keep their systems free of malware and rogue apps, despite using latest and feature packed security software. This is mostly owing to the evolving nature of malware and newer types of ...

Nuance 4 Dragon Dictate Mac - While Mac users resort to using third party apps for image editing or video editing needs, they are not bothered much about voice dictation software. This has also got to do with the fact that latest versions of OS X including Mountain Lion ...

SlimCleaner - Nearly all PC users need to use various utilities to enhance performance of their laptop or desktop from time to time. Windows inbuilt utilities can serve the purpose but when you can find more capable third party apps at low or zero cost, why ...

Adobe Muse CC 2014 - There was a time when Dreamweaver used to be the most widely used web design app and competitors from Microsoft or other small players used to lag behind. While the powerhouse app still enjoys a humongous user base worldwide, emergence of new ...

Soft4Boost Slideshow Studio - Nowadays you can record video using a number of devices including smart phones and tablets. However, some people still prefer using still images and music to create slideshows. Slideshows can be created for preserving fond memories digitally with ...

Screenshot Captor - Nowadays, a lot of Windows users need to take screenshots for professional and personal usage needs. It may be required to share an interesting image from web site or part of web pages with friends, making tutorials etc. However, freeware screen ...

Reallusion iClone - Nowadays, there is no scarcity of 3D animation and modeling software in market. However, not all such apps are user friendly and easy on wallet. If you want an intuitive and capable tool for making 3D animations without requiring much time, give ...

Corel Painter Lite - Corel’s graphics and illustration tools have been perennial favorites with millions of graphic designers and layout artists worldwide. While CorelDraw graphic suite is the company’s most popular app, Painter has also succeeded in ...




New Downloads

EarCatch Ringtone Express

EarCatch Ringtone Express is
an advanced solution for
making ringtones from any
sound. It is very easy to
customize ...

Stiva Appointment Scheduler

PHP appointment scheduling
software with responsive
front-end design, suitable for
hair salons, beauty studios,
massage ...

Agnitum Outpost Security
Suite Free

Anti-virus, anti-spyware,
firewall, anti-spam, and more
for all-round proactive
protection that's totally
free.

arkavis sidebar plugin

arkavis.de provides a way for
easily hundreds of games in
your WordPress automatically
integrate and apply new games.

BPSK Simulation for AWGN &
Rayleigh Channels

We simulate the generation of
random variables r0 and r1,
which constitutes the input to
detector.

LinkBase

LinkBase is a free web
application designed to manage
the Internet bookmarks of an
organization.

MindTouch frmly deki wiki

MindTouch is an enterprise
wiki and collaborative portal

MATLAB Contest - Protein

The sixth MATLAB Programming
Contest, Protein, will run
from November 6-13, 2002.

m4awrite - write m4a format
audio file

m4awrite is a drop-in
replacement for wavwrite that
will write MPEG4 Audio-format
files by piping the output
through an ...

Chatty for Scripts

Chatty :) is a very nice
script that lets you create a
simple but very-good looking
chat in a few minutes.

libConfuse

libConfuse is a configuration
file parser library written in
C.

num2sci

Works just like num2str except
will print with formatting in
SI prefix notation and
(optional) units and precision