SCANNER TECHSJASSI SINGH
← Blog

Is Every Mahjong Solitaire Game Winnable? I Counted

Is every Mahjong Solitaire game winnable? No. When the tiles are dealt at random, some boards are dead from the start, and no order of moves clears them. In the classic Turtle layout that is about 3 deals in every 100, even for a player who could see every tile, according to an analysis of 10 million deals. Many games get round it by building every deal so it can be won, and even then, winnable is not the same as easy.

I make Mahjong Solitaire for the browser, where every deal is built to be winnable. Its rules run on their own in Node, so I could deal thousands of boards and play them instead of guessing, as I did for Minesweeper and luck and Klondike Solitaire.

Why some deals can’t be won

You can only take a tile that is free: nothing lies on top of it, not even partly, and its left or right side is open. Every pair has to be two free tiles of the same kind.

That rule creates dead boards. The plainest case is three tiles of one kind in a single stack, each resting on the next. The top one has to go first, and its partner can only be the fourth tile, somewhere else. That leaves the middle tile and the bottom tile, the last two of their kind, with one on top of the other. They can never both be free, so the board can’t be finished.

The same trap appears later in a game you could have won. If you take two tiles of a kind while the other two lie one on top of the other, you have made the board impossible, even if it was fine a move earlier. It is an easy way to lose a winnable deal without noticing.

How many random deals can be won

Test Deals Result
Radboud University solver, every tile visible 10,000,000 2.95% to 2.96% can’t be solved
My test, every tile visible 2,000 92.2% proven winnable, 1.3% proven impossible, 6.6% undecided

Both are the Turtle layout, with the 144 tiles shuffled at random into its places, the way many games deal. The Radboud page doesn’t name its author; it describes a solver that ran for about 40 hours to get through 10 million deals.

My test is weaker but independent. For each deal, it first checks for a stack of three of a kind, which proves the deal dead. Otherwise it plays up to 3,000 games with a simple strategy and some randomness: take any kind whose tiles are all free, never take a pair that leaves its kind stuck, and otherwise prefer moves that free the most tiles. One clear proves the deal winnable. A deal that beats all 3,000 tries stays undecided, so the true share of winnable deals is somewhere between 92.2% and 98.7%. The Radboud figure of about 97% sits inside that range.

“Every tile visible” matters. Both tests can see the faces under other tiles, which you can’t. So for a real player, some winnable deals are lost by a reasonable-looking choice that turns out wrong once the hidden tiles appear.

Winnable isn’t the same as easy

I put two players through 1,000 deals of each kind. One always takes the pair the game’s Hint button suggests. The other takes any available pair at random. Each was counted twice: with no shuffle, and with one shuffle when it ran out of matches.

Deals Player Cleared, no shuffle Cleared, with one shuffle
Turtle, always winnable Follows Hint 99% 99.9%
Turtle, always winnable Random pairs 38.5% 92.3%
Tower, always winnable Follows Hint 99.9% 100%
Tower, always winnable Random pairs 65.4% 91.9%
Turtle, random deal Follows Hint 70% 99.9%
Turtle, random deal Random pairs 6% 89.4%

What stands out:

  • Random play loses most winnable deals. On Turtle deals that are guaranteed winnable, the random player cleared only 38.5% without a shuffle. The order you take tiles in matters more than the deal.
  • Looking ahead fixes almost all of it. Following Hint cleared 99% of the same deals, and 70% of random deals, where about 3 in 100 can’t be won by anyone.
  • One good shuffle rescues most games. In my game, a shuffle puts the remaining tiles into new places that can still be cleared, whenever the shapes left allow it. With that one shuffle, the random player cleared about nine games in ten.

I rewrote Hint after the first run of this test. Back then it pointed to a good local move, high in the stacks, and following it cleared only 30% of Turtle deals, fewer than random play. Now it does two things you can copy: it never leaves the last two tiles of a kind lying one on the other, and it clears a whole kind at once when every tile of it is free. Then it plays the rest of the board out quietly a few dozen times and suggests the first move of a playout that clears it. It can see every tile, including the ones underneath, which you can’t, so treat it as a strong player rather than a fair comparison. The Tower, a taller layout I made for phones, is more forgiving with either player.

How games make every deal winnable

FRVR’s Mahjong FAQ (updated 22 October 2026) puts it simply: some versions generate only solvable boards, but most do not. The ones that do usually check each deal with a solver, or build it so it can’t be anything else.

My game does the second. It plays the board through first with blank tiles: pick two tiles that are free, give them the next pair of faces, take them off, and repeat until the board is empty. Those takes, in order, are a winning game for the faces they handed out, so every deal comes with at least one way to clear it. The game’s tests replay that order on hundreds of deals and check that every move is legal and the board ends empty.

How to avoid getting stuck

What the dead boards above point to:

  • Check the other two before taking a pair. If the other two tiles of that kind lie one on top of the other, don’t leave them as the last two. Use the top one now, paired with one of the free ones.
  • Take a whole kind when all of it is free. If all four tiles of a kind are free, or both of the last two, take them all. That move can never hurt you.
  • Free the ends of the long rows. In the Turtle, the tiles sticking out at each end block the two middle rows, and the single tile on top of the stack covers four tiles.
  • Choose which pair when three are free. Leave the one whose last partner is easiest to reach, and take the two that free the most tiles.

When all of that fails, an undo or a shuffle is what they are there for. My game gives three undos and one free shuffle per deal, and it keeps your best time for each layout on your device.

Questions people ask

Is Mahjong Solitaire always solvable?

No. When the tiles are dealt at random, some boards can't be cleared whatever you do. In the classic Turtle layout it is about 3 deals in 100, according to a solver run on 10 million random deals at Radboud University, and that counts only boards that are impossible even when you can see every tile. Many games avoid the problem by building every deal so it can be won.

What percentage of Mahjong Solitaire games are winnable?

About 97% of random Turtle deals can be cleared by a player who can see every tile. In my own test of 2,000 random deals, 92.2% were proven winnable, 1.3% were proven impossible, and 6.6% stayed undecided after 3,000 tries each. Without seeing the hidden tiles, a real player wins fewer, because some choices that look equal are not.

Is Mahjong Solitaire luck or skill?

Both. The deal decides whether a board can be won at all, and the tiles hidden under others mean some choices are guesses. Skill decides the rest. On deals that are always winnable, a player taking random pairs cleared 38.5% of Turtle boards without a shuffle, so the order you take tiles in matters a great deal.

How many tiles are in Mahjong Solitaire?

144. Three suits (dots, bamboo and characters) numbered 1 to 9, four of each, make 108. Then four winds and three dragons, four of each, make 28 more, plus four flowers and four seasons, one of each. Any flower matches any flower, and any season matches any season.

Why do I keep getting stuck in Mahjong Solitaire?

Often because the last two tiles of a kind end up with one lying on top of the other, so they can never both be free. Before taking a pair, check where the other two tiles of that kind are. If one sits on top of the other, use the top one now, with one of the free ones.

The game

Mahjong SolitaireBrowserClear 144 tiles in matching pairs. Every deal can be won, on the Turtle or a phone-sized Tower.