Minus Cube

july 2008 - february 2012

The Minus Cube is a 3d variant of the 15-puzzle (see Wikipedia). Sources are on GitHub.

Controls

Click on "scramble" to start.

Use the left mouse button to rotate the cube, or WASD keys. Right-click on an element to move it. The goal is to get a plain color on each face.

Technical infos

This game uses Javascript and the <canvas> tag. In other words, this isn't Flash! It works as is with Firefox, and also with IE thanks to ExplorerCanvas script from Google.

This might be a glimpse of the future, as 3D acceleration for the canvas object is becoming available in a few popular browsers through WebGL.

Acknowledgments

Thanks to Eben Upton for his engine: Ajax3d.

Images