YayPlays

How to play

Gradient Sort: Choose a level
1Choose a level
Gradient Sort: In play
2In play

Controls

TapDragKeyboard←→↑↓ Space G
  1. Drag a tile onto another to swap them.
  2. Tap the eye to see the board in grey for a moment.
  3. Keys: arrows, Space, G for the eye.

Gradient Sort: all 25 canvases in the fewest swaps, 75 of 75 stars

All 25 canvases were sorted at the first try in exactly the minimum number of swaps, 559 in all, with no hint and no eye: 75 of 75 stars. The swaps came from our own solver, which read only what the canvas shows: each tile's colour, the board size and the tiles with a brass tack. It never used the tile numbers, the game's best-swap helper or HINT. Each swap was two clicks about 0.3 seconds apart, quicker than anyone compares colours.

Make the colours flow

  • The tiles of a smooth colour gradient are jumbled. Swap two tiles by dragging one onto the other, or tap one and then the other, until the canvas blends from corner to corner again: MASTERPIECE!
  • Tiles with a brass tack never move and show exactly which colour belongs there.
  • Each level has a limited number of swaps; running out loses. The eye shows the board in grey for about two seconds, so light and dark steps stand out; it has a few charges.
  • Stars: the minimum number of swaps three, a few more two; a hint caps the level at two. Keys: arrows, Space to pick and swap, G eye, H hint, R restart.
Level 1 halfway, with the tutorial hand: 5 swaps left.
Level 1 halfway, with the tutorial hand: 5 swaps left.

How the canvases were solved

The script took the colour of every tile in a perceptual colour space and fitted a smooth colour field across the board through the pinned tiles. It then matched every loose tile to the cell whose predicted colour was closest, choosing the matching with the smallest total difference, refitted the field with all tiles in their matched cells and repeated until the matching stopped changing. Finally it swapped along the cycles of that matching, which always takes the fewest swaps.

LevelsCanvasSwaps (= the minimum)
1-53 × 4, 4 × 5, 4 × 5, 4 × 6, 5 × 62, 3, 4, 10, 11
6-104 × 6, 5 × 6, 5 × 7, 5 × 6, 5 × 714, 14, 12, 18, 17
11-155 × 7, 5 × 7, 6 × 7, 5 × 8, 6 × 723, 21, 17, 27, 27
16-206 × 8, 5 × 8, 6 × 8, 6 × 8, 6 × 819, 30, 31, 32, 36
21-256 × 8, 6 × 8, 6 × 8, 6 × 8, 6 × 835, 40, 36, 39, 41
Level 12 halfway: 24 swaps left, the pinned tiles on the edges.
Level 12 halfway: 24 swaps left, the pinned tiles on the edges.

What the subtle canvases need

On the subtle canvases (levels 2, 5, 9, 12, 15, 18, 21, 23 and 25) the colour changes left to right but only the brightness changes top to bottom, in steps too small to see easily. Our solver did not need the grey eye, because it compared exact colour values; a person should use it. The last two canvases pin only the four corners, and the solver still matched every tile to its cell.

Level 25 halfway: only the four corners pinned, 43 swaps left.
Level 25 halfway: only the four corners pinned, 43 swaps left.

Sorting by hand

Fix one row or column at a time from a pinned edge, so each swap puts at least one tile in its final place; a swap that places two tiles at once is the best kind. On subtle canvases tap the eye before you start and sort the rows by brightness first, then the columns by colour. Keep an eye on the swap counter: the minimum is the three-star target.

Level 25: MASTERPIECE!, three stars in 41 swaps.
Level 25: MASTERPIECE!, three stars in 41 swaps.

Questions

What do the brass tacks mean?
Those tiles never move and already sit where their colour belongs.
Does the eye cost a star?
No. Only extra swaps and hints lower the stars.
How far did our run get?
All 25 canvases in the fewest swaps, 75 of 75 stars.

· Corrections log

Suggest an idea or report a problem

We keep only your message (and email, if given) to improve the games.