Canvas 2D + Rewarded Video Stub·All 15 Archetypes Ready

WeChat & Douyin Mini-Game AI Prompts (Pure Canvas 2D + Rewarded Ads)

Engineered specifically for WeChat and Douyin mini-game runtimes: zero DOM HUD dependencies, safe-area layout for the top-right capsule, procedural vector visuals keeping package size well under 4MB, and wx/tt rewarded video stubs.

WeChat / Douyin Mini-Game Engineering Guardrails Baked Into Every Prompt

  • 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`).
AI Starter PromptMechanic Archetype: Bus / Parking Traffic Escape Jam

Original Prototype Prompt: Bus / Parking Traffic Escape Jam

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

4007 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: Bus / Parking Traffic Escape Jam)
- Genre Focus: WeChat / Douyin Mini-Game
- Abstracted Gameplay Flavor Cue (blend the mechanical twist originally without referencing any third-party brand): Engineered specifically for WeChat and Douyin mini-game runtimes: zero DOM HUD dependencies, safe-area layout for the top-right capsule, procedural vector visuals keeping package size well under 4MB, and wx/tt rewarded video stubs.
- Core Loop: A top-down parking lot holds directional vehicles (2-seat, 4-seat, 6-seat) blocking each other, while a colored passenger queue waits at the boarding gate. Clicking an unobstructed vehicle dispatches it into 1 of 4 limited boarding bays where it auto-loads matching front-of-queue passengers and departs once full. Clear every passenger before all bays clog with non-matching vehicles.
- Data Model & Solvability: Grid occupancy map `cell[r][c]`, `Vehicle { id, color, capacity, loaded, dir, row, col, len }`, `passengerQueue: Color[]`, `bays: (Vehicle | null)[4]`, plus a path-clearance check along `dir` and guaranteed-solvable reverse-generated level definitions.
- Controls, Juice & Boosters: Single-tap vehicle dispatch with smooth curved driving animation into the bay, rapid pop-in boarding ticks per passenger, shake feedback when tapping a blocked vehicle, and 3 boosters: Extra Bay (+1 slot), Shuffle Colors, and VIP Clear.
- Progression Curve: 10 handcrafted/seeded levels: L1–L2 have 3 colors & open lanes; L3–L5 introduce 4–5 colors and T-junctions; L6–L10 introduce hidden/mystery color vehicles and tight 4-bay routing puzzles.

### 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.

All 15 Archetype Prompts Pre-Selected for WeChat / Douyin Mini-Game

Pick any archetype below to open its full spec and starter prompt pre-configured for this platform.

Bus / Parking Traffic Escape Jam

A top-down parking lot holds directional vehicles (2-seat, 4-seat, 6-seat) blocking each other, while a colored passenger queue waits at the boarding gate. Clicking an unobstructed vehicle dispatches it into 1 of 4 limited boarding bays where it auto-loads matching front-of-queue passengers and departs once full. Clear every passenger before all bays clog with non-matching vehicles.

Screw / Pin & Layered Board Puzzle

Layered translucent/colored plates are pinned onto a board by colored screws. Tap any exposed screw to unscrew it: if a top color-matched toolbox accepts that color (3 slots per box), it snaps in; otherwise it moves into 1 of 5 temporary holding holes. Completing a 3-screw box spawns the next target box; plates with zero remaining screws fall away with gravity to expose hidden layers.

Water / Ball / Yarn Color Sort

A set of containers holds stacked colored segments (capacity 4 each), plus 2 empty helper containers. Tap a source container then a destination container to pour/move contiguous top segments of the same color onto either an empty container or matching top color with free capacity. Win when every non-empty container holds 4 identical segments.

Suika Physics Drop & Merge

Move a dropper horizontally across the top of a walled jar and release to drop tiered circular items (Tiers 1–10 with growing radii). When two identical-tier items collide, they fuse at their midpoint into Tier+1 with an outward shockwave impulse and escalating combo score. Crossing the top red danger line for >2 seconds triggers Game Over.

Grid / Hexa Merge & 2048 Evolution

Place or swipe numbered/tiered tiles on a compact 5x5 or 4x4 grid. Adjacent identical values merge into the next tier (2 -> 4 -> 8... or Tier 1 -> 12), freeing board cells and triggering chain reactions. Maximize score and reach target evolution tiers before the grid fills with zero valid moves.

8x8 Block Placement & Line Blast

Receive a tray of 3 polyomino block shapes and drag them onto an 8x8 board. Filling any complete row or column clears it simultaneously for multi-line & consecutive-turn combo bonuses. A new tray of 3 spawns once all 3 are placed; the run ends when no remaining tray piece fits anywhere on the board.

Triple Tile / Mahjong / Shelf Match

Layered tiles/items rest on a stacked board where upper tiles darken and lock overlapping lower tiles. Tap any unlocked tile to fly it into a 7-slot staging dock; identical tiles auto-group and 3 matching tiles vanish with a combo burst. Clear the entire board before the 7-slot dock fills.

Word, Trivia & Brain Logic Puzzle

Present a crisp bite-sized logic/word/number puzzle per level with instant visual constraint feedback (row/column conflict checks or green/amber letter validation). Players deduce the solution within limited mistakes/attempts to build win streaks and shareable emoji result cards.

Solitaire & Casual Card Stack

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.

Mini Shop / Cooking / Idle Tycoon

Customers walk in requesting products/dishes; tap/hold or move a helper to produce & deliver orders, collect cash stacks, and spend cash on unlocking new stations, hiring auto-workers, and upgrading speed/value for exponential revenue growth.

Light Tower / Base Merge Defense

Waves of enemies march along a clear winding path toward your base. Spend gold earned per kill to spawn Tier-1 turrets on grid pads, drag two identical turrets together to merge into stronger Tier-2/3/4 towers with distinct attack patterns (rapid, splash, slow), and survive 10 escalating waves + boss.

Auto-Shooter Wave Survivor

Steer your hero across an open arena (virtual joystick / WASD / mouse follow) while weapons auto-fire at the nearest threat. Defeated enemies drop glowing XP gems; leveling up pauses combat and offers 1 of 3 randomized power-up cards (orbit blades, pierce shot, lightning chain, speed) to snowball into screen-clearing builds.

Lane Runner / Parkour / Drift Racing

Accelerate down an endless 3-lane track (or tight drift corner course). Swipe/tap left-right to dodge oncoming hazards, hit boost pads, pass multiplier gates, and scoop coin lines as tempo steadily escalates. Survive to beat distance/score records or clear stage checkpoints.

Snake / .io Growth & Brawl Arena

Guide a growing entity (snake/black hole/brawler) across a bounded arena filled with food pellets and smart AI bots. Hold to boost at a slight size cost, cut off rival bots so they burst into high-value loot trails, and climb the live top-5 arena leaderboard.

One-Tap Timing / Stack / Slice Arcade

Master a razor-sharp single-input timing mechanic (tap/hold-and-release to stack, slice, launch, or thread gaps). Precision hits trigger `PERFECT!` streak multipliers, tempo shifts, and fever mode; one mistake ends the 30–60s run with a zero-friction 1-tap instant retry.

Top Solo-Buildable Breakout Games for WeChat / Douyin Mini-Game

Showing 12 / 55 games

Publishing & Engineering FAQ

How do AI-generated Canvas games stay compatible with WeChat & Douyin Mini-Games?

WeChat and Douyin runtimes lack full browser DOM support and enforce a 4MB main package cap. Our preset enforces pure Canvas 2D rendering, wx.createCanvas() boot compatibility, top capsule safe-area padding, and zero external image assets.

Which rewarded video ad hooks work best in mini-games?

Extra Buffer Slot / Tube, Shuffle or Hint, and Instant Revive consistently deliver the highest opt-in rates. Every prompt pre-wires showRewardedAd(scene, onSuccess) with a local browser preview mock.

WeChat & Douyin Mini-Game AI Prompts — Pure Canvas 2D (<4MB) Templates | TrendPlay Radar