Archetype Prompt Blueprint·1–3d Solo MVPHTML5 Canvas 2D or React SVG procedural cards

Solitaire & Casual Card Stack — AI Starter Prompt & Architecture

Clear a tableau of face-up and face-down cards by tapping cards 1 rank higher or lower than the active waste card (TriPeaks/Golf style) or stacking alternating colors. Chain consecutive clearances without drawing from the stock pile to fill a combo streak bar that awards bonus wild cards.

AI Starter PromptMechanic Archetype: Solitaire & Casual Card Stack

Original Prototype Prompt: Solitaire & Casual Card Stack

Paste into Cursor, Claude Code, Bolt, Lovable, or DeepSeek to scaffold a playable original game prototype around this genre mechanic.

Target Platform

Prompt Language

Visual Style & Palette

3738 chars
You are a senior casual-game engineer specializing in polished HTML5 mini-games. Build a **complete, immediately playable, zero-TODO, production-quality** original mini-game prototype in one pass.

### 1. Original Identity & Visual Direction
- Visual Style — Clean Modern Geometric: Invent a fresh original game title. Use crisp tactile rounded vector shapes, subtle soft shadows, off-white/slate canvas (#F8FAFC) with vivid colorblind-safe accents (#4F46E5, #10B981, #F59E0B, #EF4444, #0EA5E9). Render everything procedurally with original assets.
- Build every visual shape, title, palette, and audio effect 100% procedurally from scratch with zero external image/audio URLs so the project is lightweight, original, and ready for deployment.

### 2. Core Gameplay Mechanics & Architecture (Archetype: Solitaire & Casual Card Stack)
- Genre Focus: Card Puzzle, puzzle
- Abstracted Gameplay Flavor Cue (blend the mechanical twist originally without referencing any third-party brand): Clear a tableau of face-up and face-down cards by tapping cards 1 rank higher or lower than the active waste card (TriPeaks/Golf style) or stacking alternating colors. Chain consecutive clearances without drawing from the stock pile to fill a combo streak bar that awards bonus wild cards.
- Core Loop: Clear a tableau of face-up and face-down cards by tapping cards 1 rank higher or lower than the active waste card (TriPeaks/Golf style) or stacking alternating colors. Chain consecutive clearances without drawing from the stock pile to fill a combo streak bar that awards bonus wild cards.
- Data Model & Solvability: 52-card procedural deck renderer (crisp vector suits & ranks), tableau graph with parent-child blocking edges, stock/waste piles, undo snapshot stack, and streak meter.
- Controls, Juice & Boosters: Snap-tap auto-move (zero clumsy dragging required), crisp card flip scaleX animation, escalating chime pitch on streak chains, plus Undo and Wild Card boosters.
- Progression Curve: 10 distinct card-pyramid layouts with locked golden cards, streak bonuses, and 3-star ratings based on remaining stock cards.

### 3. Target Platform & Engineering Spec (WeChat / Douyin Mini-Game)
- Deliverable: Pure Canvas 2D JavaScript/TypeScript architecture compatible with WeChat & Douyin Mini-Game runtime (no DOM-only HUD dependencies; draw HUD directly on Canvas or cleanly isolated adapter so `game.js` boots with `wx.createCanvas()`). Also provide a browser preview shim when `typeof wx === 'undefined'`.
- Safe Area & Package Size: Portrait 9:16 design with top safe-area padding for the WeChat capsule button; zero large external sprites/audio (procedural Canvas vector art + Web Audio / AudioContext synth so main package stays well under 4MB).
- Monetization Hooks: Encapsulate `showRewardedAd(scene, onSuccess)` using `wx.createRewardedVideoAd` / `tt.createRewardedVideoAd` (with mock success fallback in browser preview) wired to Extra Slot, Shuffle/Undo, and Revive.
- Storage & Share: Abstract storage via `wx.setStorageSync` / `localStorage` fallback and include a share-score hook (`wx.shareAppMessage`).

### 4. UI Flow, Procedural Audio & Delivery Contract
- Complete State Machine: Clean Title Screen (1-line visual rule hint) -> Active Gameplay (top HUD: Level / Score / Best + bottom Booster bar) -> Victory Modal (stars/bonus + Next Level) -> Game Over Modal (Rewarded-Ad Revive/Helper hook + instant 1-tap Retry).
- Built-in procedural **Web Audio API sound synthesizer** (tap feedback, ascending combo chime, level-clear fanfare, fail thud) with a top-right Mute toggle.
- Delivery Rule: Output complete, runnable code with zero placeholders, clean state separation, and tested win/loss edge cases ready to play right away.

Originality notice: Prompts focus strictly on abstract genre mechanics, data structures, and procedural code. Always ship with your own original title, art, audio, and branding.

Data Model & Solvability Rules

52-card procedural deck renderer (crisp vector suits & ranks), tableau graph with parent-child blocking edges, stock/waste piles, undo snapshot stack, and streak meter.

Controls, Tactile Juice & Boosters

Snap-tap auto-move (zero clumsy dragging required), crisp card flip scaleX animation, escalating chime pitch on streak chains, plus Undo and Wild Card boosters.

Progression & Retention Curve

10 distinct card-pyramid layouts with locked golden cards, streak bonuses, and 3-star ratings based on remaining stock cards.

Recommended Stack & Target Platforms

HTML5 Canvas 2D or React SVG procedural cards

Trending Card Puzzle Reference Games on Live Charts (6)

Open any surging title below to inspect chart velocity, test-play a reference loop, and copy a tailored prompt.

Developer FAQ

Why is the Solitaire & Casual Card Stack archetype ideal for vibe coding a solo browser game?

Clear a tableau of face-up and face-down cards by tapping cards 1 rank higher or lower than the active waste card (TriPeaks/Golf style) or stacking alternating colors. Chain consecutive clearances without drawing from the stock pile to fill a combo streak bar that awards bonus wild cards. Because its core loop relies on crisp rules and procedural 2D visuals rather than heavy 3D art pipelines, solo developers can vibe code a playable MVP in days with Cursor, Claude Code, Bolt.new, or Lovable.

What data model keeps a Card Puzzle game solvable and bug-free?

Key architecture built directly into our starter prompt: 52-card procedural deck renderer (crisp vector suits & ranks), tableau graph with parent-child blocking edges, stock/waste piles, undo snapshot stack, and streak meter.

How do top Card Puzzle games drive retention and rewarded-ad conversion?

Combine tactile juice and opt-in boosters (Snap-tap auto-move (zero clumsy dragging required), crisp card flip scaleX animation, escalating chime pitch on streak chains, plus Undo and Wild Card boosters.) with a structured difficulty curve (10 distinct card-pyramid layouts with locked golden cards, streak bonuses, and 3-star ratings based on remaining stock cards.).

Explore All Other 14 Game Archetypes

AI Prompts
Card Puzzle Vibe Coding Game Prompt (Balatro & TriPeaks Card) — Cursor & Bolt | TrendPlay Radar