J10M

Joue 10 minutes.

Color Sort

Pour colors from tube to tube until every tube holds a single color.

Ages 6 and up

Color sort is a deceptively simple puzzle: a few tubes, layers of mixed-up colors, and one instruction, put everything back in order. You think you are playing absent-mindedly, and then you catch yourself counting your moves.

Everything plays in your browser, with no download, no sign-up and nothing to install. A game lasts from thirty seconds to two minutes, which makes it the kind of puzzle you open between two things and close again without guilt. If you know this puzzle as liquid sort or tube sort, you already know the rules: here, the layers are colored liquid, and every grid is checked to make sure it can be solved.

How to play color sort

In front of you are several tubes filled with layers of color, plus two empty tubes. Five colors are spread across five tubes, and each tube holds four layers, so there are seven tubes in all. The goal is simple to state and quickly absorbing: make every tube hold a single color.

A move means pouring the top of one tube into another. Three rules decide whether the move is allowed:

  • You only pour the top color, and all of its consecutive layers go at once, as many as the destination tube can take.
  • The destination tube must be empty, or have the same color on top.
  • The destination tube must not be full: if it runs out of room, the rest stays in the tube you poured from.

You win when every tube that is not empty is full and holds a single color. There is no clock to throw you out and no life to lose: you can think for as long as you want.

One detail matters a lot: when you pour three identical layers in a single gesture, it costs only one move. Grouping before you move is always worth it.

Controls

With a mouse or a finger, tap the source tube, then the destination tube. Tapping the selected tube again cancels the selection. An illegal move makes the target tube shake instead of punishing you, and the selection is cleared so you can start again. Tapping an empty tube as a source just makes it shake: there is nothing to pour.

On a keyboard, the left and right arrow keys move the focus from one tube to the next, and Enter or the space bar selects the tube in focus. Move to the destination and press Enter or the space bar again to pour. The Escape key cancels the selection. The game announces every action to screen readers and works entirely without a mouse.

The leaderboard

The leaderboard asks for no account and no email address. A nickname is enough, and you are asked for one the first time you submit a score. Every new game deals a fresh grid, and the leaderboard keeps each player's best score of all time.

How your score is calculated

The formula is public, because a leaderboard whose rules you cannot see motivates nobody:

Score = 10,000 − (100 × number of moves) − (number of seconds)

In other words, a move costs a hundred times more than a second. That is a deliberate choice: this puzzle rewards thinking, not haste. Spending twenty more seconds looking for the right sequence pays off handsomely if it saves you a single wasted move.

The clock only starts with your first move. So you can study the grid for as long as you like before you begin, without losing anything. If you switch tabs during a game, the clock pauses until you come back.

During the game, the puzzle also shows a par: the smallest number of moves needed to solve this exact grid, worked out in the background as soon as the grid appears. It is a target, never a requirement. Matching par on a tough grid is a small victory in itself.

Every score is checked by the server before it goes on the leaderboard. It rebuilds the same grid from the same random seed, replays each of your pours and works out the score itself, without trusting the number shown in your browser.

Seven principles for playing well

Keep an empty tube for as long as you can. An empty tube is your only real room to maneuver. Filling it early with a lone color means trading your margin for an immediate gain. It is the most common mistake, and the most costly one.

Look at what is buried before you pour. The top layer tells you nothing about what waits underneath. A tube that looks almost sorted can hide two different colors below its surface.

Look for colors that are already grouped. Two or three identical layers stacked together are a gift: they move in a single move. Spot them before you touch anything.

Finish what you start. A half-sorted tube is a debt. If you can complete a color up to its four layers, do it: the tube leaves the game and the grid gets simpler.

Avoid going around in circles. Moving a color from A to B, then from B to C, without solving anything costs two moves for nothing, which is two hundred points. If a move does not bring any color closer to its final group, it is probably one to skip.

Plan two moves ahead, not ten. The game does not reward exhaustive planning. Simply checking that your move does not trap one color under another is enough to avoid most dead ends.

Start over without regret. Only your best result counts. A game that has gone wrong costs nothing to abandon.

Dead ends, and how to avoid them

A grid is stuck when no move is allowed anymore: no empty tube, and no top color can find a matching color with room on top of it. The game tells you right away and ends the round, instead of leaving you searching in vain. A stuck grid scores nothing, so try again.

Two causes come up almost every time. The first is filling both empty tubes with scattered colors instead of keeping them in reserve. The second is pouring one color on top of another that it then traps, turning a useful tube into a dead one.

The fix fits in one sentence: before you pour onto a tube that is not empty, ask yourself what you are covering. If the answer is "a color I will need soon," look for something else.

Liquid sort, tube sort: why so many names

This puzzle spread on phones in the late 2010s and was released by dozens of publishers, each with its own look. The same rules show up as liquid sort, sort puzzle or tube sort, depending on whether the layers are drawn as colored water, balls or blocks.

The mechanics never change. We call it color sort because that name describes what you actually do, whatever the decoration. If you like this kind of short, quiet puzzle, try Nuts and Bolts or Blocked Parking, or browse the whole puzzles category.

Frequently asked questions

Is the game really free?

Yes, completely, with no download and no sign-up.

Do I need an account to appear on the leaderboard?

No. A nickname is enough, and you are asked for one the first time you submit a score.

Can I play with a keyboard?

Yes. You move between the tubes with the arrow keys and pour with Enter or the space bar. Escape cancels a selection.

Can every grid be solved?

Yes. A solver checks every grid before it is offered to you: if you get stuck, a winning sequence existed, and luck did not betray you.

Can I play as many games as I like?

Yes. Only your best score is kept on the leaderboard.

Does the game work on a phone?

Yes. The interface is designed for touch, and the playing area keeps its size while the page loads so nothing shifts under your finger.

Are my scores kept if I switch devices?

Yes, if you set up your recovery key. Your player ID is stored in your browser, so clearing the site's data or moving to another machine starts you from scratch. On your profile page, you can create a recovery key, then enter your nickname and that key on your new device to get your nickname, your scores and your avatar back.

More puzzles

Puzzles
  • Fill the Grid
    Place the pieces on the grid and complete lines to clear them.
  • Number Merge
    Slide the tiles, merge equal numbers and build the biggest tile you can.
  • Mahjong Solitaire
    Clear all 144 tiles in matching pairs, taking only free tiles.
  • Number Match
    Cross out equal digits or pairs that make ten, and clear the whole grid.
  • Nuts and Bolts
    Unscrew the planks in the right order: each screw joins a box of its color, and the waiting slots fill up fast.
  • Blocked Parking
    Free the red car: slide the vehicles, none of them turns, none of them jumps another.
  • Mummy on the Run
    The little mummy runs straight on until it hits a wall: grab the tomb's gold, dodge the spikes and bats, and dash for the exit.
  • Sneaky Cat
    The little orange cat sneaks through the house: swipe every fish without catching the dogs' eye, put them to sleep from behind, and slip out the cat door.