HTML5 game publishing

Designing Trick-Puzzle Levels That Feel Fair, Not Broken

A fair trick puzzle has a discoverable answer, reinterprets the question and teaches on failure. Trick families, a hint ladder with idle timing and how to playtest the surprise.

PlayKovo Team4 min read
Games currently available on PlayKovo. Open a title to see its current listing.

Trick-puzzle games, the "brain test" family, are deceptively hard to design. The player must be surprised by the answer and also feel it was fair. Get that balance wrong in one direction and the puzzle is obvious. Get it wrong in the other and players quit, convinced the game is broken. Since these games are consistently among the most searched for in browsers, it is worth being deliberate about it. This post is a design guide for the trick-puzzle format, written from the point of view of a developer who has to ship a hundred levels.

What makes a trick puzzle fair

A fair trick puzzle has three properties:

  1. The answer is discoverable. There is a physical thing on screen the player can touch, drag, tilt or tap that leads to it. It is not hidden behind a text guess.
  2. The answer reinterprets the question, not the interface. "Drag the word 'not'" is a rule trick. "Press a button that was never drawn" is an interface trick. The first feels clever, the second feels like a bug.
  3. Wrong attempts teach something. A failed try shows a reaction, so the player knows they touched something real.

When designing a level, write the intended aha in one sentence before you build it. "The sign says 'push', but the door opens when you pull." If you cannot write it in a sentence, the level is probably a bundle of interface surprises.

Vary the type of trick

If every level is "the obvious answer is wrong", players learn the pattern after ten levels and stop being surprised. Rotate between families of tricks:

  • Reading tricks. The instruction does not say what the player assumes.
  • Interaction tricks. Drag a background object, tilt the device, hold instead of tap.
  • Counting and perception tricks. Hidden items, optical illusions, overlapping shapes.
  • Order tricks. Do the obvious steps in a surprising order.
  • Meta tricks. The answer is on the loading screen, or on the previous level.

Spread them. A run of three of the same kind in a row is fine. A run of ten is a pattern the player will exploit.

Build a hint ladder, not one hint button

Trick puzzles frustrate people because "stuck" has no direction. A single hint button that gives away the answer wastes the level. A ladder of hints keeps the aha for the player.

const HINTS = [
  { after: 20000, text: 'Look at the whole screen.' },
  { after: 40000, text: 'Not everything here is decoration.' },
  { after: 70000, text: 'Try touching the {object}.' },
];
let idleSince = performance.now();
function onPlayerAction() { idleSince = performance.now(); }
function tick(now) {
  const idle = now - idleSince;
  for (const h of HINTS) if (idle > h.after) showHint(h);
}

Key details:

  • Measure idle time, not time on the level. A player who is actively experimenting does not need a hint.
  • Reset the timer on any real action, not only correct ones.
  • Make the last hint almost the answer. Players who use it should still have to make the final move.
  • Keep hints in data next to each level so a playtest can edit them without changing code.

If you use rewarded ads for hints, do it carefully: a rewarded ad must only grant the reward in the reward callback, and the game must keep working if no ad is available. Our posts on granting rewards only in onReward and designing for unavailable ads explain how.

Give the player ways out

A trick puzzle without an exit is a wall. Provide:

  • A skip after a sensible delay, so one bad level does not end the session.
  • A restart that is always available and instant.
  • A level select so players can leave a stuck level and return later.

Save progress so skipping does not lose anything. For how, see saving progress in an HTML5 game.

Test the surprise, not just the bug

Normal playtesting checks whether the level works. A trick-puzzle playtest has to check whether the surprise lands. Watch five people play and note three times for each level:

  1. When they first touch the right object.
  2. When they solve it.
  3. Whether they smile, groan or shrug.

A level where everyone solves it in under five seconds is too easy. A level where nobody solves it in two minutes is unfair or has no discoverable path. The ones you want fall in the middle with a visible reaction. Our guide on cheap playtesting for browser games covers how to run five-person tests without a lab.

Descriptions that do not spoil the trick

Your game page text has to promise the format without revealing any answers. Say what kind of puzzles it has (lateral thinking, drag-and-solve, hidden objects) and how to play. Do not claim that it will raise anyone's intelligence or test their IQ unless you can back it up. Describe the experience, not a result. For writing the page itself, see titles, descriptions and tags that get found.

We use optional cookies for site analytics and site advertising. You can change your choice later. Privacy policy.