Back to All Tutorials

Build a Game Like Suika Game With AI: Physics Drop & Merge Canvas Prompt

2026-12-04

Why Physics Drop-and-Merge Games Still Pull Massive Browser Traffic

Physics drop-and-merge games—best known worldwide through the viral Suika Game (Watermelon Merge) craze—hit a rare sweet spot in casual game design. Players grasp the mechanic in two seconds, yet emergent rolling physics create unpredictable chain reactions that keep them chasing the next evolution tier for twenty minutes straight.

Even better for solo vibe coders: every game piece is a pure 2D circle. That means you do not need a bloated 3D physics engine or dozens of brittle polygon colliders. A clean 120-line custom sub-stepped circle rigid-body solver (or lightweight matter-js) driven by HTML5 Canvas 2D runs effortlessly at 60 FPS on both desktops and budget mobile phones.

Want to customize platform targets (including <4MB WeChat Mini-Games or Poki/CrazyGames Web H5) and visual palettes? Jump into our Suika Physics Drop & Merge Prompt Workbench.


The 5 Physics Invariants That Make or Break a Suika-Style Game

When you prompt Cursor or Bolt.new to build a drop-and-merge game without specifying solver stability, circles jitter violently, tunnel through jar walls, or double-merge into ghost pieces. Lock these five rules into your initial prompt:

Physics Problem Symptom in Bad AI Builds Engineering Fix to Specify
Circle tunneling / jittering piles Stacked balls vibrate endlessly or clip through the bottom floor Run 6–8 physics sub-steps per frame with positional Baumgarte relaxation (0.8 slop) and velocity damping (0.985)
Simultaneous double merges Three identical balls touch and spawn two next-tier balls at once Mark both colliding bodies with merged = true immediately inside the pair check and queue the single spawn after the loop
Instant unfair Game Over Freshly dropped ball crosses the top red line on its way down and kills the run Ignore newly dropped bodies until age > 0.8s; require continuous red-line breach for 2.0 seconds with a visible countdown pulse
Clunky aim on mobile Releasing finger drops off-center or scrolls the browser page Lock touch-action: none, track horizontal X continuously while dragging, show a dotted vertical drop guide, and drop cleanly on pointerup with a 450ms cooldown
Unbalanced tier radii Top tiers overflow the jar too fast or look indistinguishable Use an explicit 10-tier table (radius: 16 up to 92 inside a 360px-wide jar) with distinct colors, subtle radial shading, and cute procedural faces/emblems

Original Theme Ideas That Stand Out on Web Portals

Instead of shipping the 500th generic fruit clone, give your procedural Canvas circles a memorable original theme that renders crisply in vector code:

  • Boba & Dessert Jar: Tapioca pearl -> Macaron -> Mochi -> Donut -> Waffle -> Matcha Cake.
  • Cosmic Planets: Asteroid -> Moon -> Mars -> Earth -> Ice Giant -> Ringed Saturn -> Sun.
  • Cozy Cat Cushions: Kitten -> Calico -> Tabby -> Loaf Cat -> King Chonk (easy to draw with simple Canvas ear triangles + minimalist eyes).

Copy-Paste Starter Prompt (Cursor / Claude Code / Bolt.new)

Build a 100% original, zero-asset HTML5 Canvas 2D physics drop-and-merge mini-game in Vite + TypeScript (no external images, no external physics library needed).

Original Theme: 'Boba Drop' — warm cream cafe jar, 10 distinct procedural dessert/boba tiers (from tiny Tapioca Pearl Tier 0 up to Giant Matcha Parfait Tier 9) with glossy radial highlights and minimalist kawaii expressions.

Strict Physics & Gameplay Rules:
1. Modular files: src/game/tiers.ts, src/game/physics.ts, src/game/sim.ts, src/game/render.ts, src/game/audio.ts, src/main.ts.
2. Logical jar playfield: 360px wide x 500px tall centered inside a responsive DPR-scaled viewport. Render a subtle evolution ring chart along the top/bottom showing Tier 0 -> Tier 9.
3. Custom sub-stepped 2D circle physics (8 sub-steps per frame, dt clamped <= 0.05s): gravity, wall/floor restitution (0.2), circle-circle elastic impulse + positional separation, and gentle angular/linear damping so piles settle calmly without vibrating.
4. Merge invariant: when two active circles of identical tier (< 9) overlap, mark both merged=true immediately, spawn one Tier+1 circle at their midpoint with an outward soft shockwave push to neighbors, spawn a bright expanding merge ring + burst particles, and add exponential tier score.
5. Dropper rules: only spawn Tiers 0–4 in the dropper; show current item + 'Next' preview; show a vertical dashed aim guide; enforce 450ms drop cooldown.
6. Danger line: draw a dashed red line near the top. Only bodies with age > 0.8s count toward danger. Show a pulsing 2.0s grace countdown before triggering Game Over.
7. Synthesize ascending pentatonic pop chimes via Web Audio API, persist Best Score in localStorage, and support instant 1-tap Restart.

Two Follow-Up Prompts for High Retention

[Juice & Combo Window Pass]
Add a 1.4-second combo chain timer in src/game/sim.ts: consecutive merges within the window escalate a combo multiplier (x2, x3, x4) with higher Web Audio pitch and floating '+120 x3!' text. Also add brief squash-and-stretch scale animation (1.22 -> 1.0 spring ease) on newly merged items.
[Boosters & Portal SDK Pass]
Add two strategic boosters below the jar: 'Gentle Shake' (applies a short sideways impulse to settle stuck gaps) and 'Pop Smallest' (removes all Tier 0–1 items). Give 1 free use per run and wire extra uses through src/game/sdk.ts requestRewardedAd() so the game is ready for Poki, CrazyGames, or Playgama.

Next Blueprint to Try

Once your drop-and-merge prototype settles cleanly at 60 FPS, spend ten minutes playtesting the end-game pile carefully—that is where players either fall in love with your physics feel or close the tab in frustration.


Playtesting & Tuning Guide for Suika-Style Circle Physics

Three subtle physics details separate a top-charting drop-merge game from an amateur clone:

  1. Wall friction vs. playful rolling: If restitution (bounciness) is too high (> 0.45), dropped pieces ricochet unpredictably out of tight gaps; if linear damping is too heavy, balls freeze like glue and refuse to roll into lucky chain merges. Aim for low bounce (0.18–0.25) paired with gentle rolling slip so smaller items naturally trickle down crevices to trigger surprise combos.
  2. Jar width-to-max-radius ratio: Keep the largest Tier 9 ultimate sphere at roughly 48%–52% of the internal jar width. That guarantees two Tier 8 spheres can physically sit side by side to fuse into Tier 9 without wedging awkwardly against the side walls.
  3. Audio escalation and visual anticipation: Play a soft wooden or glass tap on wall contact, a bubbly rising pop on each merge tier, and a brief pulsing halo on the danger line whenever any settled sphere rises within 40 pixels of overflow. Players stay glued to the screen when the game visibly communicates tension before Game Over.

If you want a puzzle mechanic with zero physics randomness and even higher mobile puzzle retention, read our Build a Game Like Block Blast With AI blueprint next.

Build a Game Like Suika Game With AI (Physics Drop & Merge Prompt) | TrendPlay Radar