Magic Cube

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

The object of this puzzle is to make a jumbled cube have faces of one color each. A move rotates any block of nine cubes by 90° in either direction.


Choose a 3×3 block to turn by the color of the center of a face. The dashed arrow shows in which direction it will turn. Click "OK" to turn the cube. Click "random" to have more fun, and choose the second style of magic cube to make the puzzle harder.

If you are confused by the second style of magic cube, change it to the normal style. If you are struggling to restore the magic cube to faces with one color each, press "undo" or "restart".


Contributed by: Yuncong Ma (March 2011)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.