image thumbnail

Rolling Cubes

version (4.59 KB) by Krishna Lalith
Flip the cubes upside down.


Updated 06 Nov 2007

No License

You start with eight cubes around a center hole. Each cube is white on the top and black on the bottom. Roll cubes in the start position but with the white faces on bottom. Click on a cube to roll it. It is possible to win in 36 moves. This game was invented by John Harris in 1975.

Cite As

Krishna Lalith (2022). Rolling Cubes (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!