ASI AppsWrite

Games and exercises

PsyGames

Twiddle: logic puzzle rules

Twiddle puzzle rules: turn square blocks of numbered tiles a quarter turn at a time until the numbers run in order. Worked example and solving tips.

What is Twiddle?

Twiddle is a tile-rearrangement puzzle. A grid of square tiles each carries a number, the tiles start out scrambled, and your task is to arrange the numbers in ascending order. What sets the Twiddle puzzle apart from other sliding-tile games is the move: instead of sliding a tile into a gap, you rotate a small square group of tiles around its centre. It is a tile rotation puzzle through and through. The game comes from Simon Tatham’s Portable Puzzle Collection (MIT licence), where it is called Twiddle too, and PsyGames keeps the name.

This page explains how to play Twiddle, shows a short worked example, and lists the mistakes that cost most players extra moves in a Twiddle puzzle.

The goal and the rules

You have a rectangular grid of numbered tiles and a single kind of move. In the basic puzzle that move rotates a square group of four tiles, a 2×2 block, about its common centre. Nothing else is allowed: there is no empty space, no swapping of two tiles, and no way to lift a tile out.

The puzzle is solved when the numbers read in ascending order, row after row, from the top row to the bottom. In the original collection the orientation of a tile does not matter in the basic game, so only where each number sits counts. The original collection also offers larger rotating squares such as 3×3, and simplified boards where identical numbers form groups, but the core idea never changes: every move is the rotation of one square block.

How to play Twiddle in PsyGames

In the app you tap inside a square of cells and it turns as one block. You choose which block by where you tap. In the original collection the point where four tiles meet is the centre of a 2×2 block, and the four tiles around it move together; the app’s description does not say how it picks the block. After a tap, each tile of that block takes the place of the next tile in the cycle, so a single turn moves four numbers at once.

Because each turn moves several numbers, you will often fix one number only to disturb another. In every Twiddle puzzle the skill is in sequencing the turns so that earlier work survives.

A worked example

Picture a board of three columns and two rows. The goal is 1 2 3 on the top row and 4 5 6 below. Suppose it looks like this instead:

  • top row: 4, 1, 3
  • bottom row: 5, 2, 6

The 3 and the 6 are already home, so only the left block (columns one and two) needs attention. Turn that block a quarter turn so that the 1 moves from top-right to top-left, the 4 from top-left to bottom-left, the 5 from bottom-left to bottom-right, and the 2 from bottom-right to top-right. The top row becomes 1, 2, 3 and the bottom row 4, 5, 6. One turn solved the board, because the scramble was exactly one turn of the same block in the opposite direction. Real boards need many more turns, but the habit is the same: look for the block whose rotation cycles the wrong numbers into the right places.

Solving tips and common mistakes

  1. Work from one end. Fix the top row first, then the next one down. Blocks that sit entirely lower in the grid never touch a finished row above them.
  2. Park a number where it will not be in the way. A number that cannot go home yet can wait in a cell you will reach last.
  3. Remember the four-turn cycle. A 2×2 block returns to where it started after four quarter turns in the same direction, so three turns one way are the same as one turn the other way. Count before you tap.
  4. Do not break a finished row carelessly. When a block straddles a row you have already fixed, only turn it if you plan to put those numbers back with the following turns.
  5. Watch the last rows. The final tiles have little room to move. If the last few are stuck, accept that you may have to disturb a finished area with a sequence of turns and restore it afterwards.
  6. Read the whole block. Before tapping, say where each of the four numbers will go. Beginners often check only the one they want.

A common mistake is believing the puzzle is a swap puzzle. A single turn never exchanges just two tiles; it cycles all the tiles of the block.

How Twiddle differs from similar puzzles

  • Sixteen also has numbered tiles that must be ordered, but its move shifts an entire row or column and wraps tiles from one end to the other.
  • Fifteen is the classic gap puzzle, with one empty cell and tiles that slide into it one at a time.
  • Flip changes the state of cells in a small cross rather than moving them; there are no numbers to order.
  • Klotski slides blocks of different sizes through a crowded box.

Compared with all of these, Twiddle never moves a tile along a straight line. Every tile in a block travels around the block’s centre.

Twiddle in PsyGames

The app describes Twiddle in a sentence: tap inside a square of cells and it turns as one block, then put the numbers back in order. The app lists it under Space. To see what else is available, open the all games page.

Frequently asked questions

What do I tap in Twiddle?

Tap inside a square of cells. The whole block turns as one unit, so in the original collection a tap on the point where four tiles meet rotates those four tiles around their common centre.

What is the goal of Twiddle?

To put the numbers back in order, ascending, reading across each row from the top row down. Turning blocks is the only move you have, so the whole solution is a sequence of block turns.

Can Twiddle use blocks bigger than four tiles?

In Simon Tatham's original collection, yes: the basic game turns 2×2 blocks, and advanced settings use larger square groups such as 3×3. The size of the block that turns is a setting of the original game.

How is Twiddle different from Sixteen?

Both are number-ordering puzzles, but Sixteen shifts a whole row or column around the edge, while Twiddle rotates a small square block inside the grid.

More logic puzzles

All games

PsyGames: Brain Training

Learn more: PsyGames