Rubik's Cube using C++ ,OpenGl & OOP Techniques


Rubik’s Cube:



Home page
             

                        Welcome


Rubik's Cube

   Description: http://www.speedstacks.com/img/rubiks_cube.gif                                   Description: http://upload.wikimedia.org/wikipedia/commons/3/30/Rubik_cube.png






History of Rubik's Cube:
            

Enter Erno Rubik

Erno Rubik was born in Budapest, Hungary during World War II. His mother was a poet, his father an aircraft engineer who started a company to build gliders. Rubik studied sculpture in college, but after graduating, he went back to learn architecture at a small college called the Academy of Applied Arts and Design. He remained there after his studies to teach interior design.

Description: http://imperfectspirituality.com/wp-content/uploads/2011/10/Persistence-rubiks-cube.jpg


The Cube

Rubik's initial attraction to inventing the Cube was not in producing the best selling toy puzzle in history. The structural design problem interested Rubik; he asked, "How could the blocks move independently without falling apart?" In Rubik's Cube, twenty-six individual little cubes  make up the big Cube. Each layer of nine cubes can twist and the layers can overlap. Any three squares in a row, except diagonally, can join a new layer. Rubik's initial attempt to use elastic bands failed, his solution was to have the blocks hold themselves together by their shape. Rubik hand carved and assembled the little cubes together. He marked each side of the big Cube with adhesive paper of a different color, and started twisting.

Description: http://www.dannabananas.com/media/catalog/product/cache/1/image/5e06319eda06f020e43594a9c230972d/R/u/Rubiks-Cube-Mug_1.jpg         Description: http://images.amazon.com/images/G/01/toys/detail-page/rubiks-cube.jpg

First Patent

Rubik applied for his Hungarian patent in January 1975 and left his invention with a small toy making cooperative in Budapest. The patent approval finally came in early 1977 and the first Cubes appeared at the end of 1977. By this time, Erno Rubik was married.
Two other people applied for similar patents at about the same time as Rubik. Terutoshi Ishige applied a year after Rubik, for a Japanese patent on a very similar cube. An American, Larry Nichols, patented a cube before Rubik, held together with magnets. Nichols' toy was rejected by all toy companies, including the Ideal Toy Corporation, which later bought the rights to Rubik's Cube.

Description: http://bodymindstomach.files.wordpress.com/2011/03/rubiks-cube.jpg


Instructions:

How to play that Interesting game??



It is the test of your intelligence that how you solve the Rubik’s Cube…..
In our game first of all you need to press “v” in order to let the computer to shuffle the Rubik’s Cube. Then you have to solve it by rotating its different faces clockwise or anti clockwise .

Description: http://2.bp.blogspot.com/_jYE9C2W7p9A/TMkCDEhWobI/AAAAAAAAAs8/9aN7siVu3K0/s1600/rubik-cube.jpg            Description: http://www.deviantart.com/download/94241514/Life_is_like_rubik__s_cube_by_TetrisMaster.jpg

In our game if u want to rotate rubik’s cube clockwise you will need following keys and the keys are letter sensitive.

For Clockwise Rotation:
You will press ‘y’ in order to rotate right face.
You will press ‘u’ in order to rotate left face.
You will press ‘i’ in order to rotate top face.
You will press ‘o’ in order to rotate bottom face.
You will press ‘p’ in order to rotate front face.
Description: http://www.stillad.com/wp-content/uploads/2008/09/stillad-rubiks1.jpg

For Anti-Clockwise Rotation:

You will press ‘h’ in order to rotate right face.
You will press ‘j’ in order to rotate left face.
You will press ‘k’ in order to rotate top face.
You will press ‘l’ in order to rotate bottom face.
You will press ‘;’ in order to rotate front face.
Description: http://rubiksrun.com/wp-content/uploads/2011/03/rubiks_cube_shaped_birthday_cake.jpg      Description: http://i-cdn.apartmenttherapy.com/uimages/unplggd/071208rubikscube.jpg


Press “f” for 3D rotation of cube.
Description: http://upload.wikimedia.org/wikipedia/commons/3/3e/Novelty_Keychain_Rubiks_Cube.JPG


Description: http://0.design-milk.com/images/2011/10/rubiks-cube-storage-2.jpg

Setup:


You can download setup and exe file from here :
Description: http://cdn.blogs.babble.com/family-kitchen/files/2011/07/Fruity-Rubiks-Cube-500x500.jpg


No comments:

Post a Comment