Triple Tile / Mahjong / Shelf Match — AI Starter Prompt & Architecture
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.
Original Prototype Prompt: Triple Tile / Mahjong / Shelf Match
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
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: Triple Tile / Mahjong / Shelf Match)
- Genre Focus: Triple Match, puzzle
- Abstracted Gameplay Flavor Cue (blend the mechanical twist originally without referencing any third-party brand): 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.
- Core Loop: 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.
- Data Model & Solvability: `Tile { id, type, x, y, z, cleared }`, bounding-box overlap occlusion resolver, sorted 7-slot `dock: Tile[]`, and deterministic multiple-of-3 layer builder so every level has exact triple counts.
- Controls, Juice & Boosters: Smooth arc flight into dock, gentle dim/bright transition as lower tiles unlock, sparkle burst on triple clear, plus Undo, Shuffle Board, and Pop 3 Out boosters.
- Progression Curve: 10 handcrafted layered layouts: L1 teaches in 18 tiles (3 types); L2–L5 expand to 45–75 tiles (6–9 types); L6–L10 introduce multi-peak pyramids and tight dock planning.
### 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
`Tile { id, type, x, y, z, cleared }`, bounding-box overlap occlusion resolver, sorted 7-slot `dock: Tile[]`, and deterministic multiple-of-3 layer builder so every level has exact triple counts.
Controls, Tactile Juice & Boosters
Smooth arc flight into dock, gentle dim/bright transition as lower tiles unlock, sparkle burst on triple clear, plus Undo, Shuffle Board, and Pop 3 Out boosters.
Progression & Retention Curve
10 handcrafted layered layouts: L1 teaches in 18 tiles (3 types); L2–L5 expand to 45–75 tiles (6–9 types); L6–L10 introduce multi-peak pyramids and tight dock planning.
Recommended Stack & Target Platforms
HTML5 Canvas 2D or React + GPU-accelerated transforms
Trending Triple Match Reference Games on Live Charts (16)
Open any surging title below to inspect chart velocity, test-play a reference loop, and copy a tailored prompt.
Showing 16 games
Italian Brainrot Find the Difference
Playgama · #30 · Triple Match
Tidy Room!
App Store · #1 · Triple Match
Never Leave the Road
Playgama · #37 · Triple Match
Mahjong Classic
Playgama · #44 · Triple Match
Arrow Puzzle
Playgama · #49 · Triple Match
Sweet Color Lines
GameDistribution · #8 · Triple Match
Meta Horizon
App Store · #82 · Triple Match
Christmas Onet Connect
GameDistribution · #14 · Triple Match
Christmas Match
GameDistribution · #15 · Triple Match
Splash Maze: Paint Puzzle
GameDistribution · #38 · Triple Match
Heist Crew: Crime, Robbery and Escape
Playgama · #42 · Triple Match
Good Sort Master: Triple Match
Playgama · #43 · Triple Match
Tidy Room!
Google Play · #7 · Triple Match
Vita Mahjong
Google Play · #8 · Triple Match
Word Tiles - Relaxing Puzzle
Google Play · #19 · Triple Match
Brain Puzzle 3: Crazy Mind
Google Play · #25 · Triple Match
Developer FAQ
Why is the Triple Tile / Mahjong / Shelf Match archetype ideal for vibe coding a solo browser game?
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. 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 Triple Match game solvable and bug-free?
Key architecture built directly into our starter prompt: `Tile { id, type, x, y, z, cleared }`, bounding-box overlap occlusion resolver, sorted 7-slot `dock: Tile[]`, and deterministic multiple-of-3 layer builder so every level has exact triple counts.
How do top Triple Match games drive retention and rewarded-ad conversion?
Combine tactile juice and opt-in boosters (Smooth arc flight into dock, gentle dim/bright transition as lower tiles unlock, sparkle burst on triple clear, plus Undo, Shuffle Board, and Pop 3 Out boosters.) with a structured difficulty curve (10 handcrafted layered layouts: L1 teaches in 18 tiles (3 types); L2–L5 expand to 45–75 tiles (6–9 types); L6–L10 introduce multi-peak pyramids and tight dock planning.).