← All gamesDay 15 · 27 Nov 2026

Ball sort

Lift a ball, drop it on its own colour. Sort every tube.

Board 1Time 90Moves 0/0Score 0Best 0

Ready to sort?

Tap a tube to lift its top ball, tap another to drop it on the same colour or into an empty tube. Fill each tube with one colour. Sort as many boards as you can in 90 seconds.

A ball can only go into an empty tube or onto a ball of the same colour, and a tube holds no more than it started with. Tap the lifted ball's own tube to put it back, or tap a tube it cannot go in to lift from that one instead. The board is sorted when every tube is empty or full of one colour. Each board is checked by a search for its fewest moves (par). You score 10 points for each move of par, plus 50 if you sort it in par, 10 less for every move over. Undo takes back a move and does not count. The first board has 3 colours, the next 4, then 4 colours in taller tubes. On a keyboard, keys 1 to 6 pick a tube and Backspace undoes. The clock stops while the next board is dealt, and the game pauses when you leave the tab.

Built with HTML, CSS, Canvas and JavaScript. Every board is dealt at random, then a breadth-first search over tube states (tubes sorted first, so the same set of tubes in a different order counts once) proves it can be sorted and sets its par. No tracking. Best score stays in this browser.