Possible Duplicate:
Solving Rubik’s cube programmatically
i would like to create an application to solve rubik's cube. I read that a computer can solve it in max 20 moves. However searching on internet I can't find how to implement that. So i think about the Fridrich method ( http://en.wikipedia.org/wiki/Fridrich_Method ). But it's hard to teach to the pc all the algorithms. Any suggestions? p.s. Sorry for my english :)