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
- Remove pairs that add up to 13. An Ace counts 1, a Jack 11, a Queen 12, other cards their number. So Ace and Queen, 2 and Jack, 3 and 10, 4 and 9, 5 and 8, 6 and 7. Kings count 13 and go on their own.
- Use only free cards. A pyramid card is free once both cards lying on it are gone, so it can never pair with a card that covers it, directly or further down. The face-up stock card and the top card of the waste are free too. Any two free cards can pair: two pyramid cards, a pyramid card with the stock or waste card, or the stock card with the waste card.
- Draw from the stock. Drawing moves the face-up stock card onto the waste and turns up the next one. When the stock is empty, turn the waste over to make the stock again, in the same order. You can do that twice, so you go through the stock three times in all.
- Clear the pyramid to win. The game is won when all 28 pyramid cards are gone; cards left in the stock and the waste do not count. It is lost when nothing is left to draw and no free cards make 13.
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
- Look at the top card first. Every other pyramid card lies on it, so it goes last, and unless it is a King it can only go with a stock or waste card. Find its partners in the stock and keep one for the end. If all four are in the pyramid, the deal is lost before it starts: 1,335 of 20,000 deals, none of them dealt here.
- Count each pair of ranks. Sixes only ever go with 7s, Aces with Queens. Note how many of each pair are in the pyramid and how many in the stock. Every pyramid card needs a partner; stock cards need not go at all, so before pairing the stock card with the waste card, make sure the pyramid will not need them.
- Watch for partners in one line. A 9 with a 4 anywhere in the triangle below it can never pair with that 4: another 9 has to take the 4 first. Deals with few such pairs usually come out; deals with many are mostly lost.
- Prefer pairs that free a card. Two neighbours in the bottom row free the card they both cover; two cards at opposite ends free nothing yet. More free cards mean more chances of a pair.
- Take Kings at once. A King never pairs, so removing it costs nothing, and it frees what lies under it.
- Mind the waste before you draw. Drawing covers the waste card, and it stays out of reach until the new card goes or the next pass comes.
- Plan the passes. The stock always comes round in the same order, so after the first pass nothing is hidden. You need not clear much on the first pass: in the solver's games a median of 18 pyramid cards were gone when it ended. Just keep the cards you will miss later.
- Scout with Undo. Draw through the stock, note the order, and undo: now you know what the solver knew from the start.
What the opening layout tells you
Some deals are far better than others from the start.
| At the start of the deal | Won |
|---|---|
| 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.