Fair Solitaire
Pyramid
Every game can be won. We checked.
Game
#
Moves
0
Time
0:00

How to play Pyramid Solitaire

Pyramid is a game of sums: clear a pyramid of 28 cards by removing pairs that add up to 13, with Kings going on their own. A game takes a few minutes. About a third of random deals cannot be cleared however well you play; here you are only dealt games our solver has cleared.

The layout

One deck of 52 cards, no jokers. Twenty-eight are dealt face up in a pyramid of seven rows, one card at the top and seven at the bottom. Each card above the bottom row is partly covered by the two cards of the row below it, so at the start only the seven bottom cards are free.

The other 24 cards form the stock, face down at the top left, with its top card face up beside it. Cards you draw go to the waste near the top right, and removed cards to the pile in the corner. In game #1, for example, the top card is the Jack of diamonds, all four Kings are in the pyramid, and the first stock card is the 4 of hearts.

The rules, step by step

Other rules, other odds

Pyramid has many versions, and the odds change with them: one pass through the stock or unlimited passes, the pyramid alone or all 52 cards to clear, and in some a card may pair with the one card still lying on it. Solitaire Laboratory, using Mark Masten's solver, which also knows the order of the stock, found that with one pass and only the pyramid to clear, 8.3% of a million deals can be won, and 3.4% if the stock and waste cards may not pair with each other. With every stock card free at any time, 66.9% of 100 million deals can be cleared. Three passes come close to that: on our 20,000 deals, that easier game clears 67.0%, and our solver cleared 66.5% with three passes.

How to play here

Tap a King and it goes. For a pair, tap one card, which gets a gold ring, then its partner. Tap the ringed card again to let it go. You can also drag one card onto the other. Tap the stock to draw; the label under it shows the pass, for example Pass 1 of 3. When the stock is empty its place shows an arrow: tap it to turn the waste over. The move counter counts every draw, turn and removal.

Undo takes back any number of moves, Restart deals the same game again, and Hint shows a pair, or the stock, on a way to win. If a move has made the game impossible, Hint says so and offers to take you back to where it could still be won.

Strategy: how to win more often

What the opening layout tells you

Some deals are far better than others from the start.

Share of deals the solver won, by the opening layout (all 20,000 deals)
At the start of the dealWon
The top card is a King (1,540 deals)78.1%
Two or three of the top card's partners in the stock (11,238)75.2%
Only one of them in the stock (5,124)60.3%
All four Kings in the pyramid (1,564)75.8%
No King in the pyramid (716)50.0%
Three or more pairs free before the first draw (6,650)70.6%
Nothing to remove before the first draw (670)54.5%
No card lying directly on its partner (820)76.6%
Four or more cards lying directly on their partner (7,216)59.0%
At most 9 pairs that lie in one line (1,957)94.0%
19 or more pairs in one line (675)11.6%
First stock card of any one rank (about 1,500 each)64.6% to 68.2%

Pairs in one line, where one card covers the other and so can never go with it, are the strongest sign; a typical deal has 13. Kings help because they need no partner, and the higher they sit, the more they help: deals with a King in the second row were won 72.5% of the time, with one in the bottom row 67.5%. In 3,066 deals, 15%, some card has no possible partner at all, so the deal is lost before the first move.

What a win looks like

Over the first 500 winnable deals the solver's games took 51 moves in the median, from 29 to 69, about half of them draws. All three passes were used in 361 games, two in 129, and only 10 cleared the pyramid in the first. Of the removals, 57% paired a pyramid card with the stock or waste card, 21% two pyramid cards, 15% were Kings and 7% paired the stock and waste cards. The solver looks for any way through, not the shortest, so a careful player can often finish in fewer moves.

How we know every game can be won

We ran our solver on the first 20,000 deals. It knows the order of the stock, tries the removals and draws open in each position, and remembers the positions it has seen, up to 1.5 million of them. It cleared 13,294 deals, 66.5%, and the game replayed every solution move by move, with the same code that checks your moves. New game only deals from that list.

To settle the rest we also played an easier game, every stock card face up and free at any time, trying every order of play. A deal that cannot be cleared even then cannot be cleared with three passes: that rules out 6,602 deals. Of the 104 left, the solver searched 53 to the end without finding a way and gave up on 51. So between 66.5% and 66.7% of deals can be won. The first deal the solver did not win, number 12, cannot be won; the longest run of winnable deals was 21. How many games can be won, game by game.

Game numbers

Every game has a number, and the same number always deals the same cards. Add it to the address, for example #1, to play or share a game. If the number is not on our list, you get a winnable game instead.

Frequently asked questions

Can every game of Pyramid be won?

No. Of the first 20,000 deals, 6,655, a third, cannot be won however well you play. Our solver cleared 13,294, 66.5%, and gave up on the last 51, so the true share lies between 66.5% and 66.7%. Here you are only dealt games the solver has cleared.

Which cards add up to 13?

Ace and Queen, 2 and Jack, 3 and 10, 4 and 9, 5 and 8, 6 and 7. Two cards of the same rank never make a pair, and a King makes 13 on its own.

What do I do with a King?

Tap it and it goes, alone, as soon as it is free. Nothing ever pairs with a King, so keeping one gains nothing: removing it only frees the cards around it.

How many times can I go through the stock?

Three times: the first pass and two more, each after you turn the waste back over. The label under the stock shows which pass you are on, and the cards come round in the same order every time.

Do I have to clear the stock as well?

No. You win when the last of the 28 pyramid cards is gone, whatever is left in the stock and the waste; in the solver's games a median of four cards were left. Some versions ask you to remove all 52 cards, which is harder.

Can I pair a pyramid card with the stock card?

Yes. The face-up stock card and the top card of the waste can both be used, with any free pyramid card or with each other. Some versions allow only the waste card, which can only make the game harder.

Is game #1 here the same as game #1 in Klondike?

The same shuffle, laid out differently. Pyramid, Klondike, FreeCell, Golf and TriPeaks all shuffle with the generator of Microsoft FreeCell, so a number always gives the same 52 cards in the same order. Pyramid lays out the first 28 row by row from the top and keeps the last 24 as the stock: exactly the stock of the Klondike game with the same number, in the same order.

Why did I lose a game that can be won?

Because on the first pass you do not know the order of the stock, and the solver did. Spending a stock card on the wrong pyramid card, or drawing past a card you needed, can block a game that could be won. Undo and Restart let you try again.