Three arrays a day. One bogosort each.

Shuffle at random until it's sorted. Fewest shuffles wins.

How it works

Everyone gets the same arrays each day. Bogosort shuffles an array at random until it happens to be sorted. On average that takes n! shuffles: 24 for 4 items, 3,628,800 for 10.

Classic has arrays of 4, 7 and 10 items, and the fewest shuffles wins. Finish all three for a surprise. Marathon mirrors it: arrays of 5, 4 and 3 items, and the most shuffles wins.

You get one attempt per level. When you press the button, the server picks a random seed, runs the bogosort and records your score. The animation replays exactly those shuffles, faster and faster.

The daily ranking uses your luck: the geometric mean of shuffles ÷ expected over the three levels, so each level counts equally.