Floppy Cube

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
This Demonstration introduces the floppy cube as a simplification of the 6-color Rubik's cube; it was first built by Katsuhiko Okamoto. Like other such challenges, the goal is to scramble the puzzle and then return it to a state where all squares are the same color.
[more]
Contributed by: Celestine Preetham Lawrence (August 2022)
Open content licensed under CC BY-NC-SA
Snapshots
Details
A twist of the top row and a quarter-rotation clockwise are the only allowed transformations here. Configurations are labeled by a quaternary code: starting from an all-white square, for each digit from left to right, count the number of quarter-rotations after a single twist. For example, "02" is a top twist followed by a half-rotation and another top twist, effectively realizing a middle twist and a flip. All distinct configurations (rotation and flip invariant) can be selected and then manually transformed back to an all-white square within six twists. There are distinct configurations for a twist number from one to six. Snapshots 1–6 show the transformation from an all-white square to a corner-black square.
Permanent Citation