Felt Solitaire: Klondike on a Green Felt

Play draw-three Klondike on a green felt, in one small offline HTML file: seven tableaux build down in alternating colours, four foundations build up from ace to king. All 52 faces are drawn in code — pip layouts, procedural court portraits, hatched backs — plus drag stacks, tap-select, double-tap to the foundations, an oracle hint, undo and an auto-finish.

Felt Solitaire: Klondike on a Green Felt

Bring the felt and the rules, the draw and the scoring, and optionally the hint, undo and auto-finish, the palette and the UI text. The Skill returns a downloadable Skill (the solitaire project, a customize guide, headless verification) and one playable example deal.

How it works

  1. Your coding agent copies the working game and follows the customize guide: tableau and foundation rules, the stock and waste cycle, drag stacks and tap-select, the oracle hint, undo, auto-finish and the synth audio.

  2. The published example is a finished table: draw-three Klondike on green felt with all 52 faces drawn in code — pip layouts, procedural court portraits, hatched backs — plus hint, undo and an auto-finish.

  3. The game is played headlessly under the sandbox policy: menu, a deal, stock draws and a recycle, a hint, a dragged move, undo, pause and mute, the Chinese UI and a phone draw.

Frequently asked questions

Does it call a model or need a key?

No. The Skill gives your agent a working game, a customize guide and verification; the game itself makes no network calls and calls no model.

Why is the demo sandboxed?

The frame has an opaque origin and no network access, so the scene can’t read anything from this page or reach the internet.

Is the game bilingual?

Yes. Both the page and the game’s own UI switch between English and Chinese.

What are the visuals and audio made of?

All of it is code: Canvas 2D draws the felt and every card face, and WebAudio synthesizes the card sounds. No image, font or audio files ship with it.

Does it work on mobile?

Yes: tap the stock, drag cards, double-tap to the foundations. Verified under touch emulation, not on real devices.

Why is there no online generation?

Building a new scene needs a model key inside the sandbox, which the backend doesn’t support yet. Run the Skill with your own agent for now.