Here some Sourcode and Example sites:

http://www.math.ucf.edu/~reid/Rubik/optimal_solver.html

http://www.wrongway.org/cube/solve.html

http://en.wikibooks.org/wiki/How_to_Solve_the_Rubik%27s_Cube


Developing an Algorythm is a decent task.

Dont be disappointed if you cant get it to work, it
really is a big chunk of development required.

The simplest would be to develope a straigt forward
brute-force recursive algorythm. (its very slow but rather simple)
(testing out all possible moves up to a certain depth of
turns, and returning the chain of moves that
solves the cube at a certain point)

If you need a "demo" algorythm, and just want to
solve the cube no matter what,
just record all previous moves (all to the scramble the cube,
and all following player moves)
Then move them backwards. This way you always solve
the cube, without any AI required....

Last edited by Damocles_; 03/26/10 10:14.