Play and solve a 3x3x3 Rubik's cube with Thistlethwaite's algorithm in Unity C#. (42 Silicon Valley)
Made in Unity version 2018.3.0f2
Recommended screen resolution: 1280 x 768
You can toggle Face Labels to see the notation follows the Western color scheme:
LOrange faceRRed faceDYellow faceUWhite faceBBlue faceFGreen face
Arrow KeysRotate entire cube.
L,R,D,U,B,FRotate 90° clockwise.Control+L,R,D,U,B,FRotate 180° clockwise.Shift+L,R,D,U,B,FRotate 90° counter-clockwise.BackspaceUndo last move.
- Enter sequence of moves in the text field, e.g.
F R2 U' D2 B L'and then clickResetto initialize the cube.
- Apply bi-directional breadth first search on 4 subproblems:
- Find path G0 -> G1
- Find path G1 -> G2
- Find path G2 -> G3
- Find path G3 -> G4
- Implementation adapted from Stefan Pochmann's submission for Shortest Program Contest
