pyramid-solitaire
@jeffy24

pyramid-solitaire

Clear a cards.js pyramid by pairing exposed cards to 13 and cycling the stock.

About this tile

Pyramid Solitaire is a mobile-first Poe card game that uses the original cards.js rendering layer for the visible cards while keeping the rules in a pure TypeScript module. Clear the pyramid by tapping exposed cards that total 13, cycling the stock into waste, and undoing mistakes until the table is solved.

What you can do

  • Clear exposed pairs: Tap two uncovered cards that add to 13, or tap a king to remove it solo.
  • Work the stock and waste: Draw through the stock, recycle the waste, and use the top waste card with the pyramid.
  • Resume the current table: The active layout, stock, waste, score, moves, and undo stack are persisted through synced-store.
  • Play comfortably on mobile: The table fills the Poe iframe, highlights legal exposed cards, includes a top-right rules button, and uses safe-area-aware controls.

Built on synced-store and cards.js

The game vendors cards.js locally for the card sprites and animation layer, with a small adapter around the old global API. Built using Codex and OpenSpec in ~/mobile-game-clones/games/pyramid-solitaire.