Hello everyone,
Lately, I have been creating a rubik's cube solving software, but my problem is that if the user is entering an invalid scramble (some pieces have been twisted / swapped), the algorithm is simply not going to work.
Thus, I am looking for a solution to know, thanks to a mixed rubik's cube, if some pieces have been illegally moved.
I already know this challenge involve knowing :
If corners are well oriented
If edges are well oriented
If pieces have been swapped
Does anyone have an idea ?
Lately, I have been creating a rubik's cube solving software, but my problem is that if the user is entering an invalid scramble (some pieces have been twisted / swapped), the algorithm is simply not going to work.
Thus, I am looking for a solution to know, thanks to a mixed rubik's cube, if some pieces have been illegally moved.
I already know this challenge involve knowing :
If corners are well oriented
If edges are well oriented
If pieces have been swapped
Does anyone have an idea ?