A Prompt for a Match-3 Game with Boosters
Match-3 looks simple and hides a lot of rules. This brief spells out swaps, cascades, specials, combos and boosters, so the agent builds the game you have played, not a guess at it.

Key takeaways
- Write out which match makes which special piece. Line, bomb and color pieces only feel right when their trigger shapes are exact.
- Boosters should be earned in play in the first version. A shop with real money is a later, separate decision.
- Ask for a board that never deadlocks: detect no valid moves and reshuffle, with a short message.
This match-3 prompt produces a complete puzzle game with boosters: an 8 by 8 board, swaps that only stick when they make a match, cascades, three special pieces made from specific match shapes, three boosters players earn and spend, level goals with move limits and a map of 30 levels. Paste it into Startbase, play the first ten levels, then use the follow-ups. The detail matters: match-3 players know these rules by feel, and any one that is off makes the whole game feel cheap.
The match-3 brief
Make a 2D match-3 puzzle game with boosters, in a soft, glossy style of fruit-shaped gems on a wooden board, for phones (portrait) and desktop. Board: 8 by 8 cells, 6 gem colors (5 on early levels), some levels with blocked cells for shaped boards. Swapping: drag or swipe a gem onto a neighbor (or click one then the other); the swap only stays if it makes a line of 3 or more, otherwise both gems swap back with a little bounce. Matches clear, gems above fall, new gems drop in from the top, and new matches from falling clear automatically as cascades, each cascade step slightly faster and higher pitched. Specials: a line of 4 makes a Striped gem (clears its row or column, matching the swap direction); an L or T shape of 5 makes a Bomb (clears a 3 by 3 area, then once more after a short delay); a line of 5 makes a Prism (swap it with any gem to clear every gem of that color). Swapping two specials together makes a bigger effect: two Striped clear a row and a column, Striped plus Bomb clears 3 rows and 3 columns, Prism plus any special turns all gems of that color into that special and fires them. Level goals, one or two per level: reach a score, collect a number of a color, clear jelly from under gems (cells with jelly show a translucent layer that clears when a match happens on it). Each level has a move limit. Stars at three score thresholds. When moves run out without the goal, offer 5 more moves for one Extra Moves booster if the player has one. Boosters, earned by finishing levels (one random booster on every 3-star win) and shown with counts in a bar under the board: Hammer (smash any one gem), Shuffle (rearrange the board keeping colors), Extra Moves (+5). No real-money purchases. If no valid move exists, show 'No moves, shuffling' and reshuffle until one does. After 4 s without input, gently pulse one valid move. Levels: 30 on a winding map, introducing jelly at level 6, blocked cells at 11 and the 6th color at 16; levels 10, 20 and 30 are harder with a short 'Hard level' banner. Feel: gems squash when landing, specials glow, a short hit stop and screen pulse on Bomb and Prism. Sound: crisp pops rising in pitch with cascades, a deep thump for Bombs, soft background music. Screens: map, level start card with goals, HUD (moves, goals, score bar with stars, boosters), win card with stars, out-of-moves card, pause. Save progress and boosters in the browser.
Why it is written this way
- Swap back on no match. Allowing any swap makes the board a free-for-all. Swapping back with a bounce is the rule that makes each move a decision. The match-3 guide covers the grid logic behind it.
- Specials tied to shapes. Players expect a line of 4 to make a line clearer and a line of 5 to make a color clearer. Stating each shape avoids inventions like a 4-match bomb that feels wrong without anyone knowing why.
- Special combos. Swapping two specials is where big, memorable moments come from. Without this paragraph the agent usually fires them one after the other, which is far less exciting.
- Jelly as the first new goal. Jelly is easy to read and changes where players want to match, which is exactly what a new goal should do.
- Boosters earned in play. Boosters are a lifeline, and a reason to aim for 3 stars. Leaving out money keeps the first version honest and simple. If you later want to sell them, read how to make money from a web game first.
- Deadlock handling and the hint pulse. A board with no moves is a dead end, and a player who cannot see a move for a long time quits. Both rules are easy to state and often missing.
- Introductions on a schedule. One new thing every five levels, with harder levels as checkpoints, gives the map a shape. See the difficulty curve guide for spacing spikes and rests.
Three follow-up prompts
- 01Make levels data I can edit. Store each level as data: board shape, starting colors, jelly cells, goals, move limit and star thresholds. Add a hidden level editor page where I can paint cells and jelly and test a level, and save it back to that level.
- 02Add a blocker. Add crates: a cell with a crate cannot be swapped and breaks when a match happens next to it; strong crates need two hits. Introduce crates at level 21 with a one-line tip on the start card.
- 03Polish the win. When the goal is reached with moves left, turn each remaining move into a random special that fires one by one for bonus points, then show the win card. Add a quick tap to skip it.
The first follow-up asks for a small custom editor rather than the World Editor, because a match-3 level is a grid of cell types and goals rather than objects placed in a scene. For the HUD, menus and win card, the UI Editor lets you move and restyle screens by hand once they exist.
Two variations
Match-3 with a story room
Add a meta layer: "Each level won gives 1 star to spend. Stars restore a room in an old house, one item at a time (a sofa for 2 stars, a lamp for 1, a rug for 3), with the room shown between levels." It gives players a reason to continue beyond the puzzles, and it is a large addition, so add it once the puzzles play well.
Match-3 battle
Turn matches into attacks: "Each color charges one of four heroes; a full charge fires that hero's attack at a monster with a health bar. The monster attacks every 3 moves." Keep the specials and cascades. It is a different game with a different balance problem, so keep the level count small at first.
What usually goes wrong
- Cascades resolve in the wrong order or overlap. Gems fall into cells being cleared. Ask: "Resolve the board in clear steps: find all matches, clear them, create specials, let gems fall, refill, then check again. No input during these steps."
- Specials appear in the wrong cell. The special should appear where the player swapped, not at the start of the line. Ask for exactly that, and for the cascade case: place it in the line's middle.
- Levels are impossible or trivial. Move limits are hard to guess. Ask the agent to add a test that plays each level 200 times with random valid moves and reports the win rate, then tune move limits toward a target, such as 60 percent wins for normal levels and 25 percent for hard ones.
- Swipes on phones swap the wrong pair. Ask for the swap direction to be decided by the larger of the horizontal and vertical drag, after 20 px of movement.
- The board fills with no matches available after a shuffle. Ask for the shuffle to retry until there is at least one valid move and no ready-made matches.
Shipping it
Thirty levels is a solid first release. Publish it, share the link and watch the level where people stop: that is where your difficulty curve needs a rest. If you are weighing this against other first projects, 25 game ideas for beginners compares scope across genres.
Frequently asked questions
What makes a special piece in match-3?
Usually the shape of the match: a line of 4 makes a line clearer, an L or T of 5 makes a bomb, and a line of 5 makes a color clearer. The brief writes these out so they behave the way players expect.
Should boosters cost real money?
Not in a first version. Earning boosters from good wins keeps the game fair and simple. Selling them is a separate decision with its own design and legal questions.
How do I balance move limits?
Play each level yourself, then ask for an automated test that plays it many times with random valid moves and reports the win rate. Tune the move limit toward a target win rate for that level.

