![]() ![]() Each face has their own notation: Front, Right, Up, Down, Left, Back. For example, F denotes a clockwise rotation of the front face, F' for a counter-clockwise rotation, and F2 for the 180 degree turn. There are notations for moving each face on a Rubik's Cube: either clockwise, counter-clockwise, or a 180 degree turn. This is a list of all the different notations, but I'll try to explain here as well. When making these moves, be sure to have the cube oriented in your chosen orientation from earlier. We get the colors yellow blue blue blue white red red green blue which translates to dbbburrfb.ĭone! Now we just add them all up in order - front right up down left back - and our Rubik's Cube state becomes flulfbddrrudrruddldbbburrfbllffdrubfrludlubrflubfbfudl.For this face, we will orient such that our chosen up face (white) faces us and our chosen front face (green) faces down.At this point, our cube state is (state for front) + (state for right) = flulfbddrrudrruddl The state string for these colors is rudrruddl. And we get these colors: red white yellow red red white yellow yellow orange.Then we orient the cube so that the red face is facing us and the up face (white) faces up.Next, we move on the the right face - red.Knowing that orange is our left face, green is our front face, yellow is our down face, etc., we translate these colors to the characters used for the state: flulfbddr.Going through each color in the correct order, we end up with the colors: green orange white orange green blue yellow yellow red.(This orientation is the same as our default orientation) Then we will orient the cube such that the green face is facing us and our chosen up face (white) is facing up.Because of our chosen orientation, this face is green. First, we will provide the colors of the front face.We'll go with the default orientation - front is green and up is white.If you have a Rubik's Cube in front of you, you can follow along! I will take a solved cube and make these moves (when the green face is facing toward you and the white face is facing up) R' U L B U F L2 D R D U' R Once you've oriented the cube correctly for each face, provide colors starting from the upper left, moving horizontally to the right, and ending up on the bottom right - like reading a book. When providing colors for the down face, orient the cube such that the down face is facing toward you and your chosen front face is facing up. When providing colors for the up face, orient the cube such that the up face is facing toward you and your chosen front face is facing down. When providing colors for the front, right, back, and left faces, orient the cube such that that face is facing you and the up face (the up face that you chose for your orientation!) is facing upward. To provide colors in the correct order, you must orient the cube correctly for each face. Go through all the faces in this order: front, right, up, down, left, back, and provide the colors on each face, in order. (Each face can be identified by their middle color) Step 2: Provide colors For example, the official default orientation is when the front face is green, the up face is white, and the right face is red. This starting orientation will be the same as the one you must use for the outputted solution. Step 1: Choose an orientationĪny orientation can work. ![]() There is a specific process you must follow to correctly turn a Rubik's Cube into a string. The character r stands for "the middle color on the right face". Instead of characters representing actual colors, like g for green, they represent the color of each face. Each character represents the "color" for your chosen orientation (more on this below), and must be one of these 6: f, r, u, d, l, b. ![]() Rubik's Cube StateĪ cube state is a string containing a total of (6 faces) * (9 colors per face) = 56 characters, with no spaces. The oll and pll keys each point to an algorithm string. The cross and f2l keys each point to an array of 4 strings - the moves to get each cross edge and f2l pair into place. Returns an object with the four phases as keys ( cross, f2l, oll, pll) and a string or array of strings for their solve moves. log ( solveMoves ) Options partitioned boolean ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |