Imagine you are sitting at a kitchen table with a deck of cards, trying to solve a game of Solitaire. You shuffle the cards, deal them out, and start moving them around. Sometimes, you win easily. Other times, you get stuck, and you wonder: "Is this specific arrangement of cards actually winnable, or am I just playing a game that was doomed from the start?"
For over a century, mathematicians and card enthusiasts have been obsessed with this question. They wanted to know the exact percentage of Solitaire games that can be won. But here's the catch: there are billions of possible ways to shuffle a deck. Checking them all by hand is impossible, and even checking them with a computer is incredibly hard because the "decision tree" of moves is so massive.
This paper, written by Charlie Blake and Ian Gent, is like a super-powered detective that finally solved this mystery for not just one game, but dozens of different card games.
The Detective: Meet "Solvitaire"
Think of the researchers' creation, Solvitaire, not as a rigid robot programmed for one specific game, but as a universal translator.
- The Old Way: Before this, if you wanted to study Klondike (the classic Windows Solitaire), you needed a specific computer program. If you wanted to study FreeCell, you needed a totally different program. It was like needing a different key for every single door in a giant mansion.
- The New Way: Solvitaire is a master key. The researchers wrote a flexible "rulebook" (using a language called JSON) that can describe almost any card game. You just feed the rules into Solvitaire, and it instantly becomes an expert at that specific game. It can switch from Klondike to Spider to Golf in a heartbeat.
How It Works: The "Deep Rabbit Hole"
To figure out if a game is winnable, Solvitaire uses a method called Depth-First Search. Imagine you are in a giant, dark maze (the game).
- You pick a path and walk down it as far as you can.
- If you hit a dead end, you walk all the way back to the last fork in the road and try a different path.
- You keep doing this until you either find the exit (a win) or you have checked every single possible path and confirmed there is no exit (a loss).
The problem is, these mazes are huge. A single game of Solitaire can have more possible paths than there are atoms in the universe. To make this manageable, the team used several "AI tricks" to speed things up:
- Transposition Tables (The Memory Bank): Imagine you walk down a path, turn left, then right, and end up in a room you've already visited. Instead of walking that path again, Solvitaire checks its "Memory Bank" and says, "I've been here; I know this leads to a dead end." This saves massive amounts of time.
- Symmetry Breaking (The Mirror Trick): In many games, the order of the piles doesn't matter. If you have three empty spots on the table, it doesn't matter which empty spot you put a card in first; the result is the same. Solvitaire realizes this and stops wasting time checking identical mirror-image scenarios.
- Dominances (The "Common Sense" Rules): This is the paper's biggest mathematical breakthrough. Sometimes, you can prove that a certain move is always a bad idea, or that a certain move is always the right one to make immediately.
- Analogy: Imagine you are packing a suitcase. If you know you need to wear your red shirt tomorrow, and you have a red shirt in your pocket, you don't need to check if you can put the red shirt in the suitcase later. You just put it in now. Solvitaire proved mathematically that for many card games, moving a card to the "foundation" (the winning pile) immediately is always the right move if it's safe to do so. They didn't just guess this; they wrote mathematical proofs to prove it works every time.
The Big Results: What Did They Find?
The team ran millions of simulations, using about 30 years of total computer time (running many computers in parallel). Here are the headline numbers:
- Klondike (The Classic): In the version where you know where all the cards are (called "Thoughtful" Solitaire), 81.945% of games are winnable.
- Why this matters: Previous estimates were rough guesses with huge margins of error (like saying "82% plus or minus 3%"). The new result is incredibly precise: 81.945% ± 0.084%. They reduced the uncertainty by 30 times!
- FreeCell: Almost all FreeCell games are winnable (99.9988%), confirming the old internet legend that only one specific deal out of 32,000 is impossible.
- The "Thoughtful" Twist: The paper focuses on "Thoughtful" Solitaire, where the player knows the location of every hidden card. This is like playing Solitaire with a cheat sheet. In the real world, where you don't know the hidden cards, the win rate is much lower, but this paper sets the "ceiling" for how good a player could possibly be.
Why This Matters to You
You might think, "So what? It's just a card game." But this research is a huge deal for Artificial Intelligence.
- Solving the Unsolvables: They solved a problem that Stanislaw Ulam, the father of the famous "Monte Carlo" method (used in nuclear physics and finance), originally tried to solve with Solitaire in the 1940s. They finally gave him the precise answer he was looking for.
- The Power of General AI: They proved that you don't need a super-specialized AI for every single problem. A smart, flexible AI that understands the rules of a game can outperform specialized programs on a wide variety of tasks.
- Fixing Bugs: In the process, they found bugs in other people's solvers. They discovered that some "expert" programs were actually wrong about whether certain games were winnable, proving that even human experts can get it wrong without rigorous mathematical proof.
The Bottom Line
This paper is like building a universal map for the world of card games. Instead of guessing if a game is winnable, they used a powerful, flexible AI to explore every single path, prove the rules of the road, and give us the most accurate win-rate statistics the world has ever seen.
They didn't just play the game; they mapped the entire universe of the game, proving that for the classic Klondike, if you play perfectly and know the cards, you have about an 82% chance of winning. The rest of the time, the cards were just stacked against you from the very first shuffle.
Get papers like this in your inbox
Personalized daily or weekly digests matching your interests. Gists or technical summaries, in your language.