Saturday, February 22, 2014

Rubiks Cube - An Animation cum Puzzle Game

Something strange is happening. I am getting requests for code download from schools across the world. I am embarrassed at this as what i teach and what we do is at the level of an engineering college here in Bangalore.

Nevertheless, this is an interesting project. Rubiks cube as everyone knows is a cube with six sides and six different colors on each of those sides. If a cube is jumbled then to solve it needs special intelligence. The code in this project dutifully obeys the input commands and changes the display accordingly. So a really good enhancement would be given a jumble the computer should make moves to solve the puzzle.

Snapshots:




I am sure you are salivating at the prospect of getting hold of the source.


5 comments:

  1. sir could i please get the report for rubixcube

    ReplyDelete
    Replies
    1. Follow the link=> https://drive.google.com/file/d/0B4Usyvy-VMLkWGg0TjZSc2I5OWc/view?usp=sharing

      Delete
    2. This comment has been removed by the author.

      Delete
  2. when i tried to execute this program there was a error as - Error C2664 'void output(int,int,char *)': cannot convert argument 3 from 'const char [12]' to 'char *' - at line - output(-11, 6, "TopInverted"); - and every line which has this function call.

    ReplyDelete
  3. how reduce size of rubiks on screen??

    ReplyDelete