Align floating crystals with the floor pattern
Crystal Alignment is a shuffle puzzle. A floating layer of colored crystals sits above a fixed floor pattern. A row or column control shifts the floating crystals and wraps the crystal that leaves one end back to the other end. The goal is to place every floating crystal over a floor crystal of the same color. This solver calculates a shortest sequence of shifts when the search completes.
Also called
Rubies Cube and gem cube are the names players use for Crystal Alignment. If the game calls the board a crystal or ruby shuffle, enter the floating and floor layers here and follow the row and column shifts.
Enter both layers
Choose the 2 × 4 or 3 × 3 layout. Select Paint floating crystals and fill every upper position. Then select Paint floor crystals and enter the colors underneath. Use the palette to cycle through the available colors. Every position in both layers must be filled.
The number of crystals of each color in the floating layer must match the floor inventory. Row and column shifts rearrange crystals but never change their colors. If an inventory check fails, correct the pattern before calculating.
Moves used by this model
A row control shifts an entire row. The crystal at the right edge wraps to the left edge, or the reverse, depending on the direction shown in the tool. A column control shifts a column upward and wraps the top crystal to the bottom. The floor layer never moves.
These are stated assumptions. If the in-game controls move a row or column in another direction, verify the arrows before applying the answer. You can mirror the reported sequence if the game's convention is the opposite, but confirm it with one move first.
Why the route is shortest
The solver uses breadth-first search over board states. Each state is the current arrangement of floating crystals. Each legal row or column shift is one edge to another state. Breadth-first search explores states in increasing move count, so the first time the goal is reached, the route has the fewest moves under this model.
Because the state space is finite but can still grow quickly, the search has a safety budget. If the budget is reached, the tool says so. That message means no shortest route was proven; it does not mean the puzzle has no solution.
Follow the arrows
The result identifies each row or column to shift and shows the direction. Perform the moves in order. Unlike independent pipe rotations, these moves change the board state, so order matters. The step board redraws the full floating layer after each shift and highlights the current move.
Use Previous and Next to inspect the pattern at each stage. Auto plays the sequence at a readable pace. Copy the list if you want to keep it beside the game.
Troubleshooting
No route found: compare every floating crystal and floor crystal, including repeated colors. A single swap can change the result.
Search budget reached: the shortest route has not been proven. Confirm the layout and try again; if the board is supported, a smaller pattern may finish faster.
The first move looks reversed: compare the tool's arrow convention with the game. Do not assume every room uses the same orientation.
Colors do not match: both layers must contain the same count of each color. Shifts cannot create or remove crystals.
Tips for careful entry
Paint one layer at a time and use the active color indicator as a checklist. Count repeated colors twice. Start from a distinctive corner and work in rows across the board so no cell is missed.
Try the worked Example before entering your own board. It shows how the palette, layer switch, move list and step board fit together.
Common entry mistakes
Players sometimes paint the floor layer while the floating layer is still selected. Switch layers explicitly and confirm the active layer indicator before each click. Also check that repeated colors are counted correctly. A 3 × 3 board needs nine crystals in each layer; a missing cell makes the state graph different from the game.
Another mistake is assuming the first arrow shown by the game matches the first arrow in the tool. Compare one move in isolation. If the game shifts the opposite way, mirror the direction mentally while keeping the order. Do not change the color pattern to compensate for a direction mismatch; correct the direction convention instead.
When to re-enter the board
Re-enter the board if the game has already moved a row or column since you first looked at it, if a crystal was picked up and replaced, or if you changed the layout size. The breadth-first result applies only to the exact state entered. A near match is not enough because one shifted crystal changes every subsequent move.
Privacy
The board and breadth-first search run locally in your browser. Your crystal layout is not uploaded. To report a mismatch, email contact@puzzlewalkthrough.com with the layout and the color pattern in both layers.