How we make sure every level can be solved
Generated puzzles are only fun if they're fair. Here's how solvers, test players and a lot of automated checks keep thousands of Fizzy Arcade levels winnable.
The problem with generated levels
Most of our puzzle games have 500 designed levels and then carry on forever. Nobody can draw thousands of levels by hand, so the levels are generated: a small program builds each one from its level number. Level 37 of Ring Sort is the same for everyone, because the same number always produces the same puzzle.
Generation has a catch. A random arrangement of rings, cards or tiles is often impossible. Around half of all random solitaire deals, for example, can't be cleared no matter how well you play. A game that hands you an impossible puzzle isn't hard; it's unfair, and players can tell the difference.
So every one of our level generators comes with a second program whose only job is to check its work.
Solvers: proving a level can be won
For puzzles with exact rules, the checker is a solver: a program that searches through moves until it finds a way to win. If it can't find one, the level is thrown away and the generator tries again.
- In Ring Sort, a solver plays every level before you see it. If the puzzle can't be sorted, it never reaches you.
- In Summit Solitaire, each deal is checked the same way. Deals the solver can't clear are skipped, which is why every deal you're given can be cleared.
- In Pocket Putt, a solver takes shots on every hole using the same physics as the game, and a hole is only kept if it can be finished in par.
One lesson we learned the hard way: the solver has to use exactly the same rules as the game. In Pocket Putt, an early version of the solver moved the ball in slightly bigger time steps than the game did. A tricky bank shot that worked in the solver could miss by a hair in the real game. Now both use identical steps, and every hole was checked again.
Building levels backwards
Some games are easier to make fair by building the solution first.
Tile Trek piles are built so that there's a known order that clears every tile without the tray filling up. The game then hides that order under layers, face-down tiles and locks. You don't have to find our order, but we know at least one exists.
Arrow Out has an even stronger guarantee. Taking an arrow off the board only ever frees space, so it can never trap another arrow. That means there are no dead ends at all: whatever order you clear arrows in, another one can always leave. Our tests prove it by clearing all 500 levels in random orders. The only exception is bomb arrows, where order matters, and there the tests clear each bomb level bomb-first to check every fuse is long enough.
Logic puzzles: exactly one answer
Picture logic puzzles like Hidden Pixels have a stricter rule. It isn't enough for a solution to exist: there must be exactly one, and it must be reachable by logic alone, without guessing. Otherwise you'd reach a point where two answers fit the clues and you'd have to gamble a heart.
Every Hidden Pixels puzzle is run through a line-by-line logic solver, the same way a careful human would solve it. If the solver ever gets stuck and would need to guess, the puzzle is rejected.
Test players for skill games
Not every game can be "solved". In skill games, the question is whether a real person can win, not whether a perfect computer can. For those we use test players: simple bots that play like people, including their mistakes.
- In Cloud Stack, a bot drops blocks with a small timing error, like a careful human, to check how many players can reach each level's goal.
- In Sprout Leap, every level is checked with the game's own jump physics so every platform is reachable, and every boss is beaten by a test player.
- In Turbo Tracks, simulated drivers race every track to make sure a good driver can finish on the podium.
These bots also tell us when a level is too easy or too hard. If a careful bot wins a "hard" level every time, or loses an "easy" one, the level is tuned.
Difficulty you can feel
Every ten levels in our games follow the same rhythm: easy, medium and hard levels, a timed one, and a super hard boss at the end. We measure each type with test players so that easy levels really are easy and bosses really are a challenge, and we check that difficulty rises smoothly over hundreds of levels rather than jumping around.
Why this matters to you
All of this happens before you ever tap a level. What you get out of it is simple: when you're stuck, it's never because the game is broken. There is a way through, and finding it is the puzzle.