Puzzle guide

Mahjong Solitaire Tips: What 1,000 Deals Say About Clearing the Board

By 5 min read

The TILEGROVE title over a small stack of mahjong tiles on a dark green table, with two Tilegrove game screens
Tilegrove: open tiles first, not the highest pair.

Key takeaways

  • On 1,000 clearable Grove deals with no undo and no shuffle, a bot that picked the pairs opening the most tiles cleared 59.8% of the boards.
  • Picking any matching pair at random cleared 41.9%, and always taking the highest pair cleared only 31.2%.
  • On 400 fully random deals, the same careful bot cleared 13.8%; random picks and highest-first cleared 2.5% each.
  • With shuffles allowed, the careful bot finished 963 of 1,000 deals and needed 0.38 shuffles a game on average.

The first mahjong solitaire tip is to take the pairs that open up other tiles: in Tilegrove, a bot that did this cleared 59.8% of 1,000 Grove deals with no undo and no shuffle, while random picks cleared 41.9%. Always taking the highest pair did worst of all, at 31.2%.

How mahjong solitaire works

The 144 tiles are stacked in a layout, here up to four layers high. A tile is free when nothing lies on it and its left side or its right side is open. You take away two free tiles with the same face, and the four flowers count as one face, as do the four seasons. The game is won when the board is empty, and lost when no two free tiles match.

What we measured

We wrote a program that plays Tilegrove with the game’s own rules and gave it the same 1,000 deals on each of the six layouts, three times over. The careful habit takes the pair that opens up the most: tiles lying on others count most, then the length of the row a tile closes off, then height; and when every remaining tile of a face is free, it takes those first. The highest first habit always takes the pair that sits highest. The random habit takes any matching pair. None of them used undo or looked ahead, and in this first run none could shuffle.

Boards cleared out of the same 1,000 Tilegrove deals per layout, no undo, no shuffle
LayoutCarefulHighest firstRandom
Grove (144)59.8%31.2%41.9%
Pagoda (144)64.0%44.6%45.5%
Lantern (144)75.6%45.6%43.9%
Twin Hills (144)68.3%39.9%39.7%
Bridge (122)31.3%26.3%29.0%
Sprout (72)70.9%66.8%67.0%

A rule-based bot with no undo and no look-ahead is weaker than a careful person, so a real player clears more boards. The deals were the same for every habit, which makes the gaps between the habits the useful part.

Bar chart of Tilegrove boards cleared out of 1,000 per layout: the careful habit leads on every layout, from 31.3% on Bridge to 75.6% on Lantern
Boards cleared out of 1,000 deals for each layout and habit.

Open up tiles first

A tile that lies on another, or that closes off a long row, is holding other tiles back. Taking it first gives you more free tiles to choose from on the next move, and more choice means fewer dead ends. On Grove the careful bot got stuck with 29.2 tiles left on average when it failed; the random bot with 32.3 and the highest-first bot with 41.1.

Do not just work from the top

Taking the highest pair sounds sensible, because it uncovers the tiles below. But the top of a stack is usually not where the trouble is. The long rows on the lowest layer can only be eaten from their ends, and a bot that ignored them did worse than one choosing pairs at random on four of the six layouts. On Bridge, the layout built from long rows, every habit struggled: the careful bot cleared 31.3%.

Built deals and random deals

If the tiles are simply placed at random, some boards cannot be cleared at all. We dealt 400 Grove boards that way. Our solver found a way through 218 of them (54.5%) and could not decide on the other 182 within 300,000 steps, so the true share of winnable random deals is at least that high. The careful bot cleared only 55 of the 400 (13.8%), and the other two habits 10 each (2.5%). Tilegrove avoids this by building every deal backwards, so a way through always exists.

How much a shuffle helps

We played the same 1,000 Grove deals again and let the bot shuffle when it got stuck. The careful bot finished 963 and needed 0.38 shuffles a game on average, never more than two. The 37 games it could not finish ended with the last tiles lying on their own partners: no shuffle changes that, only taking back some pairs does.

5 tips that follow from the numbers

  • Open up tiles first. Prefer tiles lying on others and tiles at the ends of long rows.
  • Do not just take the highest pair. It did worse than random picks on Grove.
  • Take a whole face when you can. When all remaining tiles of a face are free, nothing else can need them.
  • Mind the last stacks. A tile lying on its own partner can only be cleared by undoing.
  • Use undo. Our bot never did, which is why a careful player beats its numbers.

Where to try it

Play Tilegrove on six layouts with hints, undo and a shuffle that keeps the board winnable. For a card game on the site, Mossdeal is Klondike solitaire with draw 1 and draw 3, and Wordplank is a word puzzle if you want a break from tiles.

Frequently asked questions

What is the best strategy in mahjong solitaire?

Take the pairs that open up the most tiles: tiles on top of stacks and at the ends of long rows. In our test that habit cleared more boards than any other we tried.

Should you always take tiles from the top first?

No. A bot that always took the highest pair cleared 31.2% of 1,000 Grove deals, fewer than a bot picking pairs at random (41.9%).

Can every mahjong solitaire deal be cleared?

Not if the tiles are placed at random. Tilegrove builds every deal so that it can be cleared. On 400 fully random deals our solver found a way through 54.5% of them and could not decide on the rest within its limit.

Does shuffling help?

Yes. With shuffles allowed, the careful bot finished 963 of 1,000 Grove deals and needed fewer than one shuffle a game on average. A shuffle cannot help when the last tiles lie on their own partners.

Which Tilegrove layout is the hardest?

Bridge, with its long rows. The careful bot cleared 31.3% of Bridge deals without shuffling, against 75.6% on Lantern.

Is this how people play?

No. A program played every game with fixed rules, no undo and no look-ahead, so a careful person does better. The deals were the same for every habit, so the differences come from the habits alone.

About the author. This guide was written by the team behind Yes This Game. We design, build and test our own browser games, so when a guide quotes numbers, they come from the game’s own code and can be reproduced.

Found a mistake or have a question? Tell us and we will fix the guide.