Playgama · Screw / Pin & Layered Board Puzzle · Puzzle & SortIndie BreakoutSolo-Friendly · 1-3d

Nuts Puzzle: Sort By Color — Screw Jam Teardown & AI Starter Prompt

Study the Screw / Pin & Layered Board Puzzle core loop, test-play a browser reference, and copy a structured AI starter prompt to build your own original prototype.

AI Starter PromptMechanic Archetype: Screw / Pin & Layered Board Puzzle

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

3669 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: Screw / Pin & Layered Board Puzzle)
- Genre Focus: HTML5, Web Game
- Abstracted Gameplay Flavor Cue (blend the mechanical twist originally without referencing any third-party brand): Sort colored nuts onto matching bolts in this brain-training puzzle game. Restore your garden as you play online for free on desktop, iOS, and Android devices.
- 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.

Playable Reference · Feel the Core LoopNuts Puzzle: Sort By Color
Nuts Puzzle: Sort By Color

Play Nuts Puzzle: Sort By Color Online

Play 30 seconds in your browser to feel the controls & pacing before building your own version — zero downloads.

Switch Playable Game:

Game Overview

Nuts Puzzle: Sort By Color is a trending HTML5 / Web Game title on Playgama, built around the Screw / Pin & Layered Board Puzzle archetype.

Store summary excerpt: Sort colored nuts onto matching bolts in this brain-training puzzle game. Restore your garden as you play online for free on desktop, iOS, and Android devices.

Showing classic organic / breakout momentum on Playgama (#46, publisher: Playgama). Its core loop is crisp and immediately legible—a strong inspiration for rapid original AI prototyping.

Structurally, the core loop is compact and modular with low asset overhead—well suited for a solo builder + AI coding tool to ship a playable MVP fast (est. 1-3d).

Frequently Asked Questions

How can I vibe code an original mini-game like Nuts Puzzle: Sort By Color with AI (Cursor, Claude, or Bolt)?

Nuts Puzzle: Sort By Color follows the Screw / Pin & Layered Board Puzzle mechanic archetype: 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. Pick your target platform and an original visual theme in the Vibe Coding Prompt Workbench above, then paste the structured starter prompt into Cursor, Claude Code, Bolt.new, or Lovable to scaffold a playable zero-asset prototype in one pass.

How long does it take a solo developer to prototype a Screw Jam game?

Our solo feasibility score for this mechanic is 96/100 with an estimated MVP timeline of 1-3d using HTML5 Canvas 2D + lightweight gravity animation loop. Core architecture covers: `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.

Can I publish an AI-prototyped Screw Jam game to Poki, CrazyGames, Playgama, or WeChat Mini-Games?

Yes. Selecting the Web H5, WeChat / Douyin Mini-Game, or Mobile PWA target preset automatically wires a clean SDK adapter (gameplayStart, gameplayStop, rewarded-ad hooks) and procedural zero-asset rendering. Always ship under your own original title, art, audio, and level layouts.

Build a Game Like Nuts Puzzle: Sort By Color With AI — Screw Jam Starter Prompt & Demo | TrendPlay Radar