So there are maximum of (# of ops) ^ 23 permutations to look at.. After optimization this # would probably be reduced by 50% or more but still big number...
I think you approach this problem wrong(ly). The Rubix game is a famous and old game. It's stupid to bruteforce this problem. Just pick an algorithm and translate it to PHP. If you search at google, you'll find lots of information about different kinds of algorithms.
I won't join this one because my little spare time... But go on!
due to a lack of time and many other things to do i don't participate too
but, bruteforce ist the wrong way.
there are different methods analyzing the cube.
invest your time in analyzing and you will be the winner
__________________
my name is denver max and i eat heart attacks
Must read Review for Serious PHP Developers
NuSphere PhpED 5.5
: The Staff of php-editors.com recently spent a few days working with NuSphere
PhpED 5.5
(a popular PHP IDE) and
NuCoder 2.0
(a PHP Encoding Utility), read up on all the details.