I am supposed to write a program that does the following: write a program that prompts the user to input the side of the Rubik's Cube they wish to rotate. Use the users response to rotate the Rubik's Cube by calling rotateSideCW( user_response );
Your program should prompt the user for 10 such moves, after which the program will
terminate gracefully.
Upon completion, the program will let you know if you have correctly solved the Rubik's Cube. When completed, you should be able to successfully solve the Rubik's Cube.
This is a huge undertaking.
The only thing I would recommend is to make most of the program object-oriented. For example, make a Side a container for three Cubie objects.
Personally, I enjoy solving Rubiks Cube. For the record I can solve it in about 20 seconds. However, I have never gotten around to making a program to solve a Rubiks Cube. I have made a chess engine which uses a search tree.
You're going to need to search through a tree of Cube moves to solve the cube.
I'm not sure exactly what your assignment is--if there is more information I could help you further.