Clever Quest Lab ← Games

3D Cube Puzzle

Scramble the cube, then turn its layers until every face shows one colour again.

–Time
0Moves
–Best time
3×3Cube

3D Cube Puzzle

Drag a sticker along a row or column to turn that layer and drag the empty area to turn the whole cube – or use the keys U D L R F B (Shift turns the other way).

Drag a sticker along a row or column to turn that layer and drag the empty area to turn the whole cube – or use the keys U D L R F B (Shift turns the other way).

Drag your finger across the stickers to turn a layer, and drag the empty area around the cube to turn the whole cube.

Make every face one colour. The clock starts with your first turn.

Size

No record for 3×3 yet.

Move buttons

Each letter turns that face a quarter turn clockwise as you look at it; ′ turns it back.

Scramble: none yet

Your moves: none

U D L R F B turn a face clockwise, with Shift counter-clockwise · M E S middle layers · arrow keys or X Y Z turn the whole cube · W then a face letter: wide turn · Backspace undo · N new scramble · P pause · or drag the stickers

U D L R F B turn a face clockwise, with Shift counter-clockwise · M E S middle layers · arrow keys or X Y Z turn the whole cube · W then a face letter: wide turn · Backspace undo · N new scramble · P pause · drag a sticker to turn its layer, drag the background to turn the cube

Drag across the stickers to turn a layer, drag the empty area to turn the whole cube. The arrow buttons and the move buttons do the same with taps.

Runs on your device. Nothing you type or record is uploaded. Keeps working without a connection while the page is open. Works with touch. Saves the cube in progress (a solve comes back paused after a reload), your settings and your best time for each size on this device.

Added · Updated : origin of the cube puzzle now dated by its 1975 Hungarian patent

How to play

The cube has six faces, and each face is a grid of coloured stickers: 2×2, 3×3, 4×4 or 5×5. Press “Scramble and start” and the cube is mixed with random turns. Your goal is to turn the layers until each face shows a single colour again.

The clock waits for your first turn, so you can study the scramble first. Turning the whole cube to see the other sides is free: it never starts the clock and never counts as a move. With the 15-second inspection on, a countdown runs while you look and then starts the clock. When every face is one colour, the clock stops and you see your time, your moves and your best time for that size. “Free play” lets you experiment without a clock.

Controls

To turn the front face, drag along the row next to it on the top or the right face.

How it works

Notation

The letters are the standard cube notation. Each one means a quarter turn clockwise as you look straight at that face. A prime (R′, typed R') turns the other way and a 2 (R2) makes a half turn. On bigger cubes Rw (or r) turns the two outer layers together, 3Rw turns three, and 2R turns only the second layer. M, E and S are the middle layers: M turns like L, E like D and S like F. Lowercase x, y and z turn the whole cube the way R, U and F turn.

Inside the program

The program stores the colour of every sticker, six times N×N of them. A turn is a permutation: a fixed rule that moves every sticker of the turning layer to a new slot. The program builds each rule by rotating the position and the outward direction of every sticker by 90° around the layer’s axis and looking up where it lands. On screen, every sticker corner is rotated, put into perspective and painted from back to front.

A scramble uses 11 random turns on the 2×2, 25 on the 3×3, 40 on the 4×4 and 60 on the 5×5. It never turns the same layer twice in a row and never makes three turns in a row on one axis, so no turn cancels the one before it.

Why it is hard

The classic 3×3 twisty cube puzzle, for which a Hungarian patent was filed in 1975, has this many positions that can be reached by turning:

8! × 37 × 12! × 211 / 2 = 43,252,003,274,489,856,000

The eight corners can be in any order and seven of them can be twisted freely. The twelve edges can be in any order and eleven of them can be flipped freely. Half of the orders are impossible, because corners and edges always swap together. The 2×2 has 3,674,160 positions if you ignore how the whole cube is held. In 2010 a large computer search proved that every 3×3 position can be solved in 20 turns or fewer, counting a half turn as one.

Things to try

Frequently asked questions

Can every scramble be solved?

Yes. A scramble is made only of legal turns, so turning them back in reverse order always solves the cube.

What do the letters on the stickers mean?

They are the first letter of the colour: W white, Y yellow, G green, B blue, R red and O orange. The shapes do the same job with symbols.

Is this the same timing as in competitions?

Close: competitors get up to 15 seconds of inspection, and so do you. When it runs out here, the clock starts without a penalty.

Does it work on a phone?

Yes, with touch drags or the move buttons. On the 4×4 and 5×5 the top and right faces get small on a phone, so turn the cube to bring the face you work on to the front. The 5×5 stickers are the smallest, so that cube is easier on a tablet or a computer.

Sources