Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The simplest <em>non-trivial</em> algorithm I've found is this one:</p> <p><a href="http://www.chessandpoker.com/rubiks-cube-solution.html" rel="nofollow noreferrer">http://www.chessandpoker.com/rubiks-cube-solution.html</a></p> <p>It doesn't look too hard to code up. The link mentioned in <a href="https://stackoverflow.com/questions/1354949/easiest-to-code-algorithm-for-rubiks-cube/1354964#1354964">Yannick M.'s answer</a> looks good too, but the solution of '<a href="http://www.cubestation.co.uk/cs2/index.php?page=3x3x3/cfop/cross/cross" rel="nofollow noreferrer">the cross</a>' step looks like it might be a little more complex to me.</p> <p>There are a number of open source solver implementations which you might like to take a look at. Here's a <a href="http://www.pygame.org/project/932/" rel="nofollow noreferrer">Python implementation</a>. This <a href="http://www.jaapsch.net/puzzles/cubie.htm" rel="nofollow noreferrer">Java applet</a> also includes a solver, and the source code is available. There's also a <a href="http://www.wrongway.org/mcube/solve.html" rel="nofollow noreferrer">Javascript solver</a>, also with downloadable source code.</p> <p><a href="https://stackoverflow.com/questions/1354949/easiest-to-code-algorithm-for-rubiks-cube/1355030#1355030">Anthony Gatlin's answer</a> makes an excellent point about the well-suitedness of Prolog for this task. Here's a detailed article about how to write your own <a href="http://www.amzi.com/articles/rubik.htm" rel="nofollow noreferrer">Prolog solver</a>. The heuristics it uses are particularly interesting.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload