Behind the Scenes: How We Design a Block Puzzle Level

· 3 min read · Miwen Studio

Behind the Scenes: How We Design a Block Puzzle Level

When you play a level in Gem Garden, it takes a minute or two. Getting that level to feel right takes much longer. People often ask how we create hundreds of levels that stay fair and fun, so here is a look behind the scenes.

Step 1: Start with a feeling

Every level has a purpose. Some are meant to teach a new idea, some to give the player a breather, and some — the Hard levels — to test what they have learned. Before anything else we decide what a level should feel like: relaxing, tricky, quick, satisfying.

Step 2: Choose a goal

Gem Garden levels use three main goals:

  • Collect gems hidden in pre-placed blocks.
  • Break ice that covers some blocks.
  • Reach a target score.

Mixing them across a world keeps the experience varied. Later levels combine goals, such as gems and ice together.

Step 3: Build the starting pattern

The starting board is a pattern of pre-placed blocks. We like symmetrical patterns: they look intentional and pleasing, and they are easier for players to read at a glance. Patterns are mirrored left to right, top to bottom, or rotated around the center.

One important rule: the starting board must never contain a full line, or it would clear by itself on the first move.

Gems and ice are then placed inside the pattern. Their position matters a lot. Gems in the same row make satisfying double collections; gems in opposite corners force the player to plan.

A finished level layout with gems and ice
A finished level layout with gems and ice

Step 4: Tune the pieces

The pieces in the tray are not purely random. For each level we adjust:

  • how often big pieces appear (3x3 squares, long bars, large Ls),
  • how often the game offers a "helpful" piece that can clear a line,
  • which piece sizes are allowed — the first levels avoid the largest pieces.

Early levels are generous. As you progress, big pieces become more common and helpful pieces less frequent. That slow change is the difficulty curve.

Step 5: Pace the difficulty

Players do not like difficulty that only goes up. It feels exhausting. So difficulty follows a wave:

  • it rises slowly across a world,
  • every tenth level is Hard,
  • the two levels after a Hard level are easier, as a reward.

The very first levels are hand-made tutorials that teach dragging, clearing and goals one at a time.

Step 6: Test with a bot

Hundreds of levels cannot all be tested by hand, so we also wrote a simple bot that plays levels automatically. It places pieces using basic strategies — prefer clears, aim at gems and ice, keep pieces compact — and plays each level many times.

The results tell us:

  • whether a level can be won at all,
  • how many pieces a typical win needs,
  • how often a level ends in a loss.

If a level is too hard, we reduce the starting blocks or the number of targets. If it is too easy, we add targets or bigger pieces. The bot is not as smart as a person, which is useful: if the bot can win sometimes, a thoughtful human usually can too.

Step 7: Set the stars

Stars are based on how many pieces you used. We set the three-star target close to what an efficient player needs, so three stars always feels earned, while one star is reachable for everyone.

Step 8: Play it ourselves

Finally, we play. No bot can tell us whether a level is fun. We look for moments of surprise, satisfying crossings and the little "aha" when a plan comes together.

What we learned

The biggest lesson from building Gem Garden is that fairness matters more than difficulty. Players accept a hard level if they understand why they lost. They quit when a loss feels random. Nearly every design decision — the line preview, the helpful pieces, the revive — exists to make the game feel fair.

Want to see the results? Play Gem Garden online, and let us know what you think on our contact page.