Play Pyramid Solitaire: remove pairs of free cards that add up to 13, clear the pyramid, with easy deals, undo, hints and a choice of recycles.
Deal #-
Cleared 0 of 28
Moves 0
Stock 24
Recycles left 3
Played 0
Pyramids cleared 0
Most cleared -
Choose
Remove two free cards whose numbers add up to 13 (Ace 1, Jack 11, Queen 12): Ace and Queen, 2 and Jack, 3 and 10, 4 and 9, 5 and 8, 6 and 7. A free King is removed on its own. A card is free when nothing lies over it: both cards just below it are gone, and every card in the bottom row is free. Tap a free card, then the card that goes with it. The top card of the waste is free too. Tap the stock to turn a card onto the waste, and when the stock runs out tap it again to turn the waste back over (the number of times is your choice). Clear all 28 pyramid cards to win. Keyboard: Tab to the cards, the arrow keys move between free cards, the waste and the stock, Enter or Space chooses or turns, Escape puts a chosen card back, U undoes and H gives a hint. A hint marks the game as aided, so it does not count towards your best.
A deal number is the seed of a shuffle, so the same number always gives the same layout, and the address of this page carries it. The first 28 cards form the pyramid, row by row, and the other 24 are the stock. Only the waste's top card can be used, and a card taken from it uncovers the one beneath. Turning the waste back over keeps the order, so the first card you turned comes up first again. The solver searches every position of pyramid cards left, stock cards still in play, the place in the stock and recycles used, each once, up to a limit. It drives the hint and the Easy deals option, which moves on to the next deal number until the solver has found a way to clear it. It removes a free King at once, because a King can never be in the way of anything, and tries pairs before turning the stock.
As-is, no warranty. These apps are free under their listed license and run entirely in your browser. Use at your own risk — don't blame me if your PC catches fire, your dog runs away, or the math turns out wrong. Verify anything that actually matters. None of this is professional financial, medical, legal, or engineering advice.
Clear all 28 cards from the pyramid by removing them in pairs that add up to 13.
Easy deals. The deal menu can ask for easy deals. From the next New deal, the game tries deal numbers in turn until its solver has found a way to clear one, and tells you which deal it settled on. In the deals I tried, about half of the deals could be proven clearable, so this takes a moment at most.
Undo and hints. Undo takes back moves one at a time, with no limit, until the game is over. A hint comes from the solver: it points at the cards or the stock it would use next, and says whether the deal can still be cleared. A hinted game still counts as played, but it does not count towards your most cleared or your fewest moves.
Keyboard and screen reader. Press Tab to reach the free cards. The arrow keys, Home and End move between the free cards, the waste and the stock, and Enter or Space chooses a card or turns the stock. Escape puts a chosen card back, U undoes and H gives a hint. A polite status message says each move, how many cards are left, and, when two cards do not make 13, what they make instead. Every free card reads its row, place and name, and says whether it makes 13 with your chosen card. The sound button is off until you press it, and the sounds are short, quiet tones. Cards are told apart by rank and suit shapes as well as colour.
The deal has a number. The page address carries it, along with the number of recycles, so copying the address, or using Copy result, gives someone else the same layout. Restart this deal starts it again from the beginning.
A card is a number from 0 to 51: the suit is the number divided by 13, rounded down, and the rank comes from the remainder. The shuffle is a Fisher-Yates driven by a small seeded generator, so a deal number always gives the same layout. The first 28 shuffled cards are the pyramid, read row by row, and the last 24 are the stock. The seed itself is drawn from the browser’s secure random source, from 1 to 999,999, and an address can carry any whole number up to 4,294,967,295.
The rules live in a plain TypeScript module with no page code in it. Each move returns a new state, or nothing when the move is illegal, and the page only draws the result.
The solver. What can happen next depends only on which pyramid cards are left, which stock and waste cards are still in play, how far through the stock this pass is, and how many recycles have been used. The solver searches those positions depth first, each one once, and stops when it finds a clear or runs out of its budget of 150,000 positions. A free King is removed at once, since a King can never be in the way of anything, then pairs are tried, then turning the stock. It returns the best line found, and the hint and the easy-deal search are built on it. A deal it proves clearable really is clearable, because the line it returns is replayed move by move in the tests. A deal it fails to prove is not necessarily lost.
The tests check these claims:
Nothing is uploaded and there is no account. Games played, pyramids cleared, the most cards cleared in a game and the fewest moves in a clear are saved in your browser’s local storage as small numbers inside a small JSON object, under one key. Stored values that are not whole numbers within a sensible range are ignored when read. Clearing site data removes them. The only other state is the page address.
Everything runs locally in your browser.
Free to play, no ads, nothing uploaded. These games are original and are not affiliated with any other game or brand.