Command / solitaireClassics

Solitaire

The deal is a number. Beat it, then share it.

BetaMobile betaClassicsclassiccasualpuzzleautomation-ready
Run from anywhere in CLI-Games$ solitaire

Klondike the way you remember it - seven columns, a stock, four foundations - dealt from a seed you can save, replay, or hand to a friend.

Type the move you see: m w 3 drops the waste card onto column three, m 3 f sends a card home, u takes it back. Draw one or draw three, turn the stock as often as you like, and clear all four suits.

Every deal is a seed. redeal plays the same cards again; deal 12345 plays anyone's. Winning time posts to the leaderboard, separately for each draw mode.

Automate

Reveal Policy

Test saved Bash policies against fixed draw-one and draw-three deals using only visible Klondike state and legal moves.

Durable workspace

~/solitaire

Read README.txt; start with policy.sh. Your files remain yours between runs.

Sensors

  • scan [tableau|waste|foundations]
  • legal [all|reveal|waste|home]
  • status [OUTCOME]

Actions

  • draw
  • move FROM TO [COUNT]
  • auto
  • undo

Practice evidence

histogram · gif · replay · run receipt · account best

Script runs are unranked practice. Histograms compare submitted results.

Ruleset: solitaire-reveal-policy-v1

Server proof

Reveal Policy Pack

Replay a saved policy twice on the server against five fixed full-run fixtures and issue a shareable verified receipt.

prove · 5 fixtures · source transient

Pack: solitaire-reveal-pack-v1

Practices: Bash policies · partial observability · state management · branching · regression fixtures

Run $ solitaire --script →
Terminal view

What you will see

Waste to column three, then the ace goes homereplay

m w 3 · m 5 f — piles, not cards.

Capabilities

How this command behaves

  • Built for a solo session
  • Save and resume your game
  • Track your statistics and high scores
  • Build and keep real Bash files in ~/solitaire
  • Automation records include histogram and gif and replay and run receipt
  • Replay a completed policy on the server for a shareable verified receipt
  • Runs in the browser; nothing to install
  • Playable entirely from the keyboard
Syntax

Start it from the prompt

Usage

solitaire [savename] | solitaire --script

Aliases

klondike / sol

Ready when you are. The terminal will open directly into Solitaire.

Run $ solitaire →