How mahjong solitaire works

Mahjong solitaire is a matching game for one player, played with the tiles of the old Chinese game of mahjong. The tiles are stacked into a layout, and you take them away two at a time, but only tiles that are free. It looks like a memory game and plays like a puzzle: the real question is which pair to take first.

Ivory mahjong tiles with dots, bamboo and characters stacked in a stepped layout on a jade table
Ivory mahjong tiles with dots, bamboo and characters stacked in a stepped layout on a jade table

The 144 tiles

A mahjong set has three suits numbered 1 to 9: dots (circles), bamboo (sticks; the one is usually a bird) and characters (a Chinese numeral above the sign for ten thousand). There are four of every suit tile. Then come the honours: the four winds, east, south, west and north, and the three dragons, red, green and white, again four of each. Last are the bonus tiles: four flowers and four seasons, each of them only once. In the solitaire game two tiles match when they are the same, and any flower matches any other flower, and any season any other season.

麻將牌
麻將牌

When a tile is free

Only free tiles can be taken. A tile is free when no other tile lies on it, not even partly, and its left or its right side is open: no tile on the same level touches it there. Tiles above and below it in the same column do not count, only the two long sides. So in a row of tiles only the two ends are free, and a tile under a stack only comes free once the whole stack above it is gone. That simple rule is what turns a pile of pairs into a puzzle.

A deal that can always be cleared

If the tiles were simply shuffled onto the layout, some deals could never be cleared: two matching tiles might lie on top of each other with the other two of their kind already gone. Mahjong Solitaire builds every deal backwards instead. It takes the full layout, picks two positions that would be free, and takes them away, again and again until the layout is empty. Then it lays the pairs of the shuffled set on those positions in that order. Taking the tiles in the same order clears the board, so a solution always exists. Your own choices can still lead into a dead end, which is where Undo, Hint and Shuffle come in.

Where the game comes from

Mahjong itself is a game for four players that took shape in China in the second half of the nineteenth century and swept across the world in the 1920s. The solitaire game is much younger: the first version was written in 1981 by Brodie Lockard for the PLATO computer system, and home computers made it popular later that decade. It has nothing to do with the rules of four-player mahjong apart from the tiles, which is why some players call it tile matching. The best-known layout, a broad pyramid with wings at the ends, is often called the turtle; in this game the Temple is shaped in that spirit.

Tips to clear the board

Before you take a pair, look at what it frees. Tiles that hold up a stack or block a long row are worth taking early; a free tile at the edge with nothing behind it can wait. When all four tiles of a kind are free, take them both pairs at once: that never hurts. When three are free, take the two that open up the most and keep the third for its partner. Be careful with a kind whose other tiles are buried under one another: if two matching tiles lie on top of each other, the other two must be used to free them. And when you are stuck, Undo a few moves rather than shuffling straight away.

Frequently asked questions

Can every game of mahjong solitaire be won?

Not every random layout, but every deal in this game can: it is built backwards from a solution. Your own moves can still make it impossible, for example by taking two tiles whose partners lie stacked on each other. Hint shows a pair from a way that still clears the board when one can be found.

Why can I not take a tile that looks free?

Look closely at its sides and its top. A tile is only free when nothing lies on it, not even partly, and its left or its right side is open on its own level. A neighbour half a row higher or lower still touches its side, and a tile on the level above can rest on just one corner. Highlight free tiles darkens every tile you cannot take yet.

What does Shuffle do?

It mixes the tiles that are left over the positions that are left. When those positions allow it, the tiles are laid so the board can be cleared again, in the same way as a new deal. It is offered by itself when no pair is left, and it can be undone.

Ready to try it?

Open PictorX in your browser — no install, no credit card required to start.

Play Mahjong Solitaire