0:00
moves 0
home 0/52
The Card Table
Klondike, with the one thing patience has always been missing: this deal has already been proved winnable before you saw it.

The table

Tap a card to send it somewhere sensible. Drag it to send it somewhere exact.

Deal again

Turning one card at a time is the kind game; turning three is the real one.

With that on, deals are played out by a solver before you see them and thrown away until one turns up that can be finished. It is bounded — it will not spend more than a few seconds looking — so if it runs out of time it says so and deals you an ordinary one rather than pretending.

Colours

How it's played

Everybody knows the rules. The interesting part is the two things this table does that a pack of cards can't.

The deal has been proved

Roughly one Klondike deal in five cannot be won however well it is played, and there is no way to tell by looking. Losing to one of those is not the same as losing, and being unable to tell them apart is what makes people give up the game rather than get better at it.

So a deal here is played out by a solver first — a depth-first search with the safe-automatic-plays rule folded in — and thrown away until one turns up that can be finished. The search is bounded, so "winnable" is a promise and "couldn't find one" is not a claim about anything. It tells you which you got.

The hint is ranked, not random

Any move is a move; almost none of them help. The hint here prefers, in order: a move that turns a face-down card over, a card that can safely go home, a king that empties a column, and only then anything else. If it says "turn the stock", that really is the best thing available.

The rules, briefly

Build the four foundations up from ace to king in suit. Build the seven columns down in alternating colours — and a run built that way moves as one. Only a king goes into an empty column. Turn the stock one card (or three) at a time; the waste can be turned back over and gone through again.

Sending a card back down

A card already on a foundation can be pulled back down onto a column if it fits. It is legal, it is occasionally the only way through, and most versions quietly forbid it.

The finish plays itself

Once every card on the table is face up, the game is decided and the rest is clicking. So it finishes itself, one card at a time up the foundations. The cascade is the only reward this game has and it should be spent.