{
  "name": "solitaire",
  "kind": "registry",
  "title": "Solitaire",
  "description": "Klondike on a felt table: drag the cards with the mouse, or play with the arrows and Enter. Draw one or three, unlimited passes and undo; the game and your record are kept.",
  "version": "0.1.0",
  "icon": {
    "tile": {
      "glyph": "󱢯",
      "bg": "green"
    }
  },
  "author": "pal",
  "spec": "github:zcag/pal/extensions/solitaire@v0.18.11",
  "source": "https://github.com/zcag/pal-games/tree/HEAD/solitaire",
  "commit": "a1b2399a1c0f10f03ce4d06912a6a4c0d2512106",
  "manifest": {
    "name": "solitaire",
    "title": "Solitaire",
    "description": "Klondike on a felt table: drag the cards with the mouse, or play with the arrows and Enter. Draw one or three, unlimited passes and undo; the game and your record are kept.",
    "version": "0.1.0",
    "icon": {
      "tile": {
        "glyph": "󱢯",
        "bg": "green"
      }
    },
    "author": "pal",
    "repo": "bundled",
    "license": "MIT",
    "settings": [
      {
        "kind": "select",
        "id": "draw",
        "label": "Draw",
        "description": "Cards turned from the stock at a time. Applies from the next deal.",
        "options": [
          {
            "id": "1",
            "title": "One card"
          },
          {
            "id": "3",
            "title": "Three cards"
          }
        ],
        "default": "1"
      },
      {
        "kind": "boolean",
        "id": "clock",
        "label": "Clock",
        "text": "Show the time while you play",
        "description": "Off hides the running time beside the table. Your time still shows when you win. Also T or ⌘K in the game.",
        "default": true
      }
    ],
    "sync": {
      "state": "local",
      "stats": {
        "fields": {
          "played": "sum",
          "won": "sum"
        }
      },
      "fastest-1": "min",
      "fastest-3": "min",
      "fewest-1": "min",
      "fewest-3": "min"
    },
    "leaderboards": [
      {
        "id": "daily",
        "title": "Daily deal",
        "order": "asc",
        "format": "time",
        "period": "day",
        "min": 10,
        "max": 86400
      },
      {
        "id": "fastest/*",
        "title": "Fastest win, draw {1}",
        "order": "asc",
        "format": "time",
        "min": 10,
        "max": 86400
      },
      {
        "id": "fewest/*",
        "title": "Fewest moves, draw {1}",
        "order": "asc",
        "format": "moves",
        "min": 52,
        "max": 100000
      }
    ],
    "store": {
      "tagline": "Klondike solitaire with the mouse or the keyboard",
      "category": "fun",
      "features": [
        "Drag cards and runs with the mouse; the piles they can go on light up",
        "Keyboard play with the arrows and `enter`; `enter` twice sends a card where it belongs",
        "Cards glide and flip, and a win bounces them off the foundations",
        "Draw one or three, unlimited passes, and undo with `U` or `backspace`",
        "Finishes by itself once every card is face up",
        "Your moves, time and games won are kept, and the game waits where you left it",
        "A daily deal, the same cards for everyone that day (`Y`); signed in to pal, your record follows you, and wins go on leaderboards: the day's fastest, and the fastest and fewest-move wins at each draw"
      ],
      "permissions": [],
      "platforms": [
        "macos",
        "linux"
      ],
      "screenshots": [
        {
          "file": "1-deal.png",
          "caption": "A fresh deal: the cursor on the stock, the moves, the time and the record beside the table"
        },
        {
          "file": "2-game.png",
          "caption": "54 moves in: the cursor takes 4 cards of a run, the title line names them",
          "cover": [
            173,
            270,
            730,
            358
          ]
        },
        {
          "file": "3-carry.png",
          "caption": "Enter picks the run up: it lifts, and the pile it can go on lights up"
        },
        {
          "file": "4-won.png",
          "caption": "Won: every card home, the moves and the time, Enter deals again"
        }
      ],
      "actions": [
        {
          "title": "Pick up, drop",
          "description": "Enter on a card picks it up (with the cards under it, as deep as ↑ reached); Enter on another pile drops them there. On the stock, draws. With the mouse: drag, or click the cards and then the pile.",
          "keys": "enter"
        },
        {
          "title": "Send where it goes",
          "description": "Enter again on the pile the cards came from, or a double-click: to the card's foundation, else to the first pile that takes them.",
          "keys": "enter"
        },
        {
          "title": "Previous pile, next pile",
          "description": "Across the stock, the waste, the foundations and the seven piles, wrapping round. `h` and `l` too.",
          "keys": "left, right"
        },
        {
          "title": "More cards, fewer cards",
          "description": "How deep into a face-up run to take; past it, the row above or below. `k` and `j` too.",
          "keys": "up, down"
        },
        {
          "title": "Draw",
          "description": "From anywhere; turns the waste back over when the stock is out.",
          "keys": "space"
        },
        {
          "title": "Undo",
          "description": "The last move back, or the cards you hold put back.",
          "keys": "u"
        },
        {
          "title": "New game",
          "description": "Asks first mid-game; the game counts as lost.",
          "keys": "n"
        },
        {
          "title": "Daily deal",
          "description": "Today's deal, draw one, the same cards for everyone until midnight UTC; a win goes on the day's board. Asks first mid-game.",
          "keys": "y"
        },
        {
          "title": "Hide the clock",
          "description": "No running time beside the table; again to bring it back.",
          "keys": "t"
        }
      ],
      "play": true
    },
    "palettes": {
      "solitaire": {
        "title": "Solitaire",
        "kind": "view",
        "description": "The table. Escape leaves mid-game; it is there when you come back.",
        "keys": [
          {
            "keys": "enter",
            "title": "Pick up, drop; twice on the same card, send it where it goes; draw on the stock"
          },
          {
            "keys": "left",
            "title": "Previous pile (also right, h, l)"
          },
          {
            "keys": "up",
            "title": "One more card of the run, then the row above (also down, k, j)"
          },
          {
            "keys": "space",
            "title": "Draw (also d)"
          },
          {
            "keys": "u",
            "title": "Undo (also backspace)"
          },
          {
            "keys": "n",
            "title": "New game, after a confirm mid-game"
          },
          {
            "keys": "y",
            "title": "The daily deal, after a confirm mid-game"
          }
        ]
      }
    }
  },
  "playable": true,
  "updated_at": "2026-11-22T01:38:11Z",
  "url": "https://pal.cagdas.io/extensions/solitaire",
  "tagline": "Klondike solitaire with the mouse or the keyboard",
  "category": "fun",
  "screenshots": [
    "https://pal.cagdas.io/extensions/solitaire/screenshots/1-deal-dark.png",
    "https://pal.cagdas.io/extensions/solitaire/screenshots/1-deal.png",
    "https://pal.cagdas.io/extensions/solitaire/screenshots/2-game-dark.png",
    "https://pal.cagdas.io/extensions/solitaire/screenshots/2-game.png",
    "https://pal.cagdas.io/extensions/solitaire/screenshots/3-carry-dark.png",
    "https://pal.cagdas.io/extensions/solitaire/screenshots/3-carry.png",
    "https://pal.cagdas.io/extensions/solitaire/screenshots/4-won-dark.png",
    "https://pal.cagdas.io/extensions/solitaire/screenshots/4-won.png"
  ],
  "panel_screenshots": [
    "https://pal.cagdas.io/extensions/solitaire/screenshots/1-deal.png",
    "https://pal.cagdas.io/extensions/solitaire/screenshots/2-game.png",
    "https://pal.cagdas.io/extensions/solitaire/screenshots/3-carry.png",
    "https://pal.cagdas.io/extensions/solitaire/screenshots/4-won.png"
  ],
  "bar_screenshots": [],
  "panel_screenshots_dark": [
    "https://pal.cagdas.io/extensions/solitaire/screenshots/1-deal-dark.png",
    "https://pal.cagdas.io/extensions/solitaire/screenshots/2-game-dark.png",
    "https://pal.cagdas.io/extensions/solitaire/screenshots/3-carry-dark.png",
    "https://pal.cagdas.io/extensions/solitaire/screenshots/4-won-dark.png"
  ],
  "bar_screenshots_dark": [],
  "has_bar": false,
  "bar_items": [],
  "has_links": false,
  "links": [],
  "multi": false,
  "has_readme": true
}
