Web H5 Vibe Coding Game Prompts (Poki / CrazyGames / Playgama)
Generate self-contained, instant-loading HTML5 Canvas games with zero external asset URLs, desktop + touch controls, localStorage persistence, and a clean window.GAME_SDK wrapper ready for portal revenue share.
Web H5 Engineering Guardrails Baked Into Every Prompt
- Deliverable: Self-contained browser HTML5 game (single index.html with inline CSS/JS or clean React + Canvas 2D component) that runs immediately with zero external asset URLs.
- Viewport: Responsive full-viewport canvas supporting both desktop mouse/keyboard and mobile touch (9:16 portrait or adaptive center stage).
- Publishing & Monetization Stubs: Wrap a lightweight `window.GAME_SDK` adapter with `gameplayStart()`, `gameplayStop()`, `happytime()`, and `requestRewardedAd(reason, onReward)` (hooked to Revive, Extra Slot/Hint, and 2x Reward buttons so CrazyGames/Poki/Playgama SDKs can be dropped in 5 minutes).
- Persistence: Save unlocked level, best score, coins, and sound mute state in `localStorage`.
Original Prototype Prompt: Screw / Pin & Layered Board Puzzle
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: Screw / Pin & Layered Board Puzzle)
- Genre Focus: Web H5
- Abstracted Gameplay Flavor Cue (blend the mechanical twist originally without referencing any third-party brand): Generate self-contained, instant-loading HTML5 Canvas games with zero external asset URLs, desktop + touch controls, localStorage persistence, and a clean window.GAME_SDK wrapper ready for portal revenue share.
- Core Loop: 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.
- Data Model & Solvability: `Plate { id, zLayer, polygon/rect, color, screwIds[] }`, `Screw { id, x, y, color, plateIds[], removed }`, active `toolboxes: Toolbox[2]` + queue, `bufferHoles: (Color | null)[5]`, and point-in-plate occlusion check across higher `zLayer` plates.
- Controls, Juice & Boosters: Rotating unscrew animation with metallic click SFX, smooth Bezier flight to box/hole, satisfying falling-plate tumble + dust particles when a plate detaches, and Add Hole / Clear Buffer / Hammer boosters.
- Progression Curve: 10 layered puzzle templates scaling from 2 overlapping plates (3 colors) up to 5 stacked layers (6 colors) with exact multiple-of-3 screw counts per color so every level is mathematically solvable.
### 3. Target Platform & Engineering Spec (Web H5)
- Deliverable: Self-contained browser HTML5 game (single index.html with inline CSS/JS or clean React + Canvas 2D component) that runs immediately with zero external asset URLs.
- Viewport: Responsive full-viewport canvas supporting both desktop mouse/keyboard and mobile touch (9:16 portrait or adaptive center stage).
- Publishing & Monetization Stubs: Wrap a lightweight `window.GAME_SDK` adapter with `gameplayStart()`, `gameplayStop()`, `happytime()`, and `requestRewardedAd(reason, onReward)` (hooked to Revive, Extra Slot/Hint, and 2x Reward buttons so CrazyGames/Poki/Playgama SDKs can be dropped in 5 minutes).
- Persistence: Save unlocked level, best score, coins, and sound mute state in `localStorage`.
### 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 Web H5
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 Web H5
Showing 12 / 55 games
Snake Attack Shooter
Playgama · #29 · Wave Survivor
Obby: +1 Speed Keyboard Escape
Playgama · #27 · Runner & Drift
Italian Brainrot Find the Difference
Playgama · #30 · Triple Match
Clean the Squishes! ASMR Sorting Obby
Playgama · #29 · Color Sort
Arab Drift: Escape from the Police
Playgama · #28 · Runner & Drift
Never Leave the Road
Playgama · #37 · Triple Match
Robby: Double jump for brainrots
Playgama · #50 · One-Tap Arcade
Bus Escape Clear Jam
CrazyGames · #2 · Traffic Jam
Fidget Spinner Idle Mtd
CrazyGames · #3 · Idle Tycoon
Bubble Pop Legend
Playgama · #39 · One-Tap Arcade
Obby Eggs: Grab, Escape
Playgama · #4 · Runner & Drift
Obby Brainrot: Stealer and Fuser of Memes!
Playgama · #10 · Runner & Drift
Publishing & Engineering FAQ
How do I publish an AI-built HTML5 game to CrazyGames, Poki, or Playgama?
Our Web H5 preset wraps lifecycle and ad hooks inside a clean window.GAME_SDK adapter (gameplayStart, gameplayStop, happytime, requestRewardedAd) so you can drop in CrazyGames, Poki, or Playgama SDKs in minutes.
Why do these HTML5 prompts use procedural Canvas visuals and Web Audio?
Zero external asset dependencies mean instant sub-second load times, no broken CORS links, effortless single-file testing in Cursor/Bolt, and 100% original art with zero copyright risk.