ExeBrowser

Run Windows .exe files in your browser. No install. No upload. Just WebAssembly + Wine.

Play Rolling cube puzzle (Cube) online Works — plays right here, unlimited puzzles

Guide updated October 2026 · Runs via WebAssembly (native port)

Cube is a rolling puzzle. A cube sits on a 4x4 grid with six blue squares. Each move tips the cube over one edge onto the next square, and the face touching the floor swaps colour with the square beneath. Collect all six blue squares on the cube's six faces in as few moves as you can. The puzzle is ready below; use the arrow keys to roll.

Controls — what does what
ActionKeyboardMouse / touch
Roll the solidArrow keysClick on the grid in the direction to roll
Roll diagonally on triangle gridsKeypad 7, 9, 1, 3Click in that direction
Undo / redoU or Ctrl+Z / R or Ctrl+RGame menu
New puzzleNGame menu, New game

Play next: Number loop puzzle (Loopy) Test Drive III: The Passion Train tracks puzzle (Tracks) The Final Crusade of Kroz all 138 games →

FREE This is the complete game, free. Open source under the MIT licence: the complete puzzle, with a new grid every time.

Rolling cube puzzle (Cube) running in a browser tab via ExeBrowser
Rolling cube puzzle (Cube) running in the browser — no install, no upload.

Cube is from Simon Tatham's Portable Puzzle Collection, © Simon Tatham and contributors, used under the MIT licence. Built from source by scripts/build-puzzles.mjs.

How to play

Sizes and difficulty

The Type menu offers the Cube on a square grid, and a Tetrahedron, Octahedron and Icosahedron that roll on triangular grids. Each solid needs as many blue squares as it has faces. Custom sets the solid and the grid dimensions.

Solving tips

Plan in pairs of moves: rolling forward and back returns the cube to the same square with the same face down, so you can drop a blue face and pick it up again. Keep track of which faces are already blue; landing a blue face on a blue square swaps blue for blue and changes nothing. Approach the last blue squares so that a plain face is the one landing on them.

Where this puzzle comes from

Cube is part of Simon Tatham's Portable Puzzle Collection, a set of about forty logic puzzles written by Simon Tatham and contributors and released under the MIT licence. Every grid is generated on the spot, so the supply never runs out, and for the grid-logic puzzles the generator makes sure each has exactly one solution, reachable by reasoning rather than guessing. The version here is the collection's own code compiled to WebAssembly; the Game menu can save a puzzle to a file and load it again, and the Type menu changes the size and difficulty.

Frequently asked questions

Is there a Solve option for Cube?

No. Cube does not support Solve, because the point is to finish in as few moves as you can rather than to reach a fixed answer.

Where does the game come from?

Simon Tatham based it on a Java game by Paul Scott and added the triangular grids with the tetrahedron, octahedron and icosahedron.

Is Cube free to play here?

Yes, with no limit on the number of puzzles. Cube is open-source software under the MIT licence, and every grid is generated fresh when you press New game.

Does it work on a phone or tablet?

Yes. A tap works as a click and the puzzle resizes to fit the screen. Puzzles whose controls use the right mouse button are easier with a mouse.

More you can play in your browser

See all 138 titles you can play here →

One new retro game in your inbox each week

We add a game most weeks — free, legal, playable in the browser. No spam, unsubscribe in one click.

Related guides

Want a game like this on your own site?

Rolling cube puzzle (Cube) isn't ours to give away — we host it, we didn't write it. But eleven of the games here we did write from scratch, and those are free for anyone to put on their own page: one line of HTML, no account, no permission, no attribution beyond a credit line.

See the games you can embed