Felt Solitaire: Klondike on a Green Felt
- Lab Skill
- v0.1.0
- Game creation
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 game
此範例會在沙箱框架中執行,無法存取此頁面。
線上執行
在 SandBase sandbox 中執行,並在 Lab 中查看結果。
在 Lab 中開啟 ↗您可獲得什麼
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.
運作方式
- 01
Open the game folder
Felt Solitaire lives in assets/felt-solitaire. Run npm install, then npm run dev to play at the printed URL. The agent edits src/config.js for table layout, palette and both locales, the core files for state, renderer and audio, and src/main.js for pointer input and the window.__scene hooks. A prompt might name a draw-three table on dark blue felt with English and Chinese text.
- 02
Play Klondike draw three
Seven tableaux build down in alternating colours, the stock deals three to the waste per tap, and four foundations build up by suit from ace to king. Drag a face-up ordered tail, tap to select then tap a destination, or double-tap to send a card home. Keys are Enter for the oracle move, A auto, H hint, U undo and Escape to clear.
- 03
Bundle and verify the table
npm run build:single writes dist-single/index.html, the hosted bundle, and npm run shoot runs the scripted check in Chromium. It covers the menu, a deal, stock draws and a recycle, a hint, a dragged move, undo, pause, mute, the Chinese UI and a 390 by 844 phone draw. The verified deal uses seed 525924222 with 52 cards across 7 columns.
常見問題
How are the Felt Solitaire cards drawn?
Felt Solitaire draws all 52 faces in Canvas 2D code with no sprite sheet. Pips follow the classic symmetrical layouts, court cards are small procedural portraits with crown, circlet or cap silhouettes, and backs are a hatched lattice. No image, font or audio file ships, and the game has zero runtime dependencies.
Does Felt Solitaire have draw-one or scoring?
No. Felt Solitaire is fixed draw-three Klondike with a fresh shuffle per seed. It has no draw-one mode, no scoring, no timer pressure and no daily deals. Each load is a single session without persistence or statistics, so closing the page ends the game.
Will Felt Solitaire auto-finish play the game for me?
No. Felt Solitaire auto-finish only clears a won position, with every tableau card face-up, or resolves the foundation sends that are legal right now. Hint marks the first legal move the oracle finds, trying foundation sends first, then tableau lifts, then a draw. Undo rewinds one move and un-flips any card it revealed.
Is Felt Solitaire free to play and build?
Felt Solitaire calls no model and needs no key; the page makes no network requests, so playing or rebuilding it costs nothing on SandBase.
Does Felt Solitaire work on phones?
Yes. Felt Solitaire lets you tap the stock, drag cards and double-tap to the foundations on a touch screen. The headless check includes a tap-to-draw on a 390 by 844 viewport, verified under touch emulation rather than on real devices. Drag uses pointer capture, so a lifted tail never detaches mid-drag.
更多 Skills
所有 Game creation Skills →
Seagull Swoop
Build a 3D flight-and-delivery game with light fries, heavy fish, crosswinds and optional ring routes. The gull must bring lunch home; cargo weight changes which openings it can safely reach.

Wedding Cake Wobble
Build a 3D fragile-cargo delivery game around a wobbling wedding cake. Brake before turns, avoid crossing guests and steer around tables. Lost tiers change the score, while a partial delivery can still succeed.

Hermit Tide
Build a 3D route-and-timing game where a hermit crab changes shells to cross a tidal shore. Narrow gaps favour the cap, stronger shells resist waves, and dry stones provide shelter and checkpoints.

Clover Circuit: Estate Cut
Drive a coral ride-on mower through a fenced estate garden. Steering, braking and the moving blade cut actual grass tufts; Overview reveals the genuine trail. Edit three gardens and three scene palettes offline. Coverage counts trimmed tuft centers rather than continuous ground area.

Glide Gates: Lagoon Run
Flap a golden bird through emerald pipe pairs above a turquoise lagoon. Actual fixed-step gravity, swept circle contacts and full-gate scoring power both manual flight and clearly labeled practice. Edit three courses and three scene palettes offline.

3D Interactive Garden Islands
Walk a curved garden, harvest fruit, share gifts, catch butterflies, fish, grow flowers and craft furniture. Four lighting states and one offline HTML with bilingual keyboard and touch controls.

