lymacasm / Rubik-s-Cube

Rubiks's Cube Solver Repository
1 stars 1 forks source link

Orient corners of the final face #13

Open lymacasm opened 9 years ago

lymacasm commented 9 years ago

Write a method in the Solve class in solver.py that orients the corner pieces of the last face of the Rubik's Cube. This will effectively be the final step in solving the Rubik's Cube. The method should first check to see if the self.Moves queue is not empty. If the queue isn't empty, it should pop and return the first element of the queue. If the queue is empty, it should fill the queue with the required moves to correctly implement the algorithm.