← workshop

Patience

a dealer that only deals provably winnable games
checking…
seed β€”
Press Deal β€” the dealer rejection-samples until its solver has already beaten the board it hands you.

This is the workshop's first card piece. The promise, applied to solitaire: every deal you are given is winnable β€” true by construction. A headless solver searches each dealt board for a winning line, and the dealer ships only deals the solver has already beaten (rejection sampling), caching the line to power Hint and Watch it solve itself. The variant is a compact FreeCell (a 28-card deck, A–7); the green chip up top runs the same runSelfTest core as node tools/patience/patience.test.cjs β€” replaying every shipped deal move-by-move to a win. (You can still strand yourself by bad play β€” that's what Undo and Hint are for. The guarantee is about the deal, not the play.)