ASI AppsWrite

Games and exercises

PsyGames

Dominoes: logic puzzle rules

Dominoes puzzle rules: a grid of numbers hides a full set of dominoes, and you find where every one lies. Controls, a worked example and solving tips.

What is Dominoes?

Dominoes is a puzzle where the pieces have already been used up and you have to work out how they were laid. A grid of numbers is shown, and every number once belonged to a domino from a full set. The dominoes themselves have been taken away, so only the numbers remain, and the task is to put the dominoes back in the one arrangement that matches them. The version in the open puzzle collection is called Dominosa.

The appeal of this Dominoes puzzle is that it is pure bookkeeping with an unexpected depth. There is no luck, and no scoring. You just keep track of which pairs have been used and which cannot be.

The goal and the rules

The grid shows numbers that came from a complete set of dominoes. The set contains one domino for each unordered pair of numbers, including the doubles. In the default setup of the original collection the numbers run from 0 to 6, which gives 28 pieces laid out in an 8×7 grid with no gaps. Other maximum numbers make the grid bigger or smaller.

Your task is to divide the whole grid into dominoes so that:

  • every square is covered by exactly one domino;
  • each domino joins two orthogonally adjacent squares;
  • every pair of numbers occurs exactly once among the dominoes you place.

The order does not matter: a domino with a 2 on one end and a 5 on the other is the same piece whichever way round you read it.

How to play Dominoes in PsyGames

Here is how to play Dominoes in the app. The control is a tap on the line between two numbers: that joins them into a domino. The second action records that there is no domino on that line. It does not place anything; it is a note that helps you keep track of a pair you have already ruled out.

In the desktop collection, placing a new domino on top of existing ones removes the ones it overlaps, and you can also highlight every cell showing a particular number to see where it can go. The app’s own description mentions only the tap and the second action, so rely on those. If you use the second action often, it will save you from repeating the same check.

A worked example

The double 0-0 is in the set exactly once. Suppose that in the whole grid there is only one place where two 0s sit next to each other. That pair must be the 0-0 domino, because no other square pair can supply it. Place it. Every other 0 now has to be paired with a different number.

Now the opposite move. Say the 2-4 domino has just been placed in one corner. Elsewhere in the grid a 2 stands beside a 4. They look like a pair, but the 2-4 piece is already used, so these two squares cannot be joined. Mark the line between them with the second action, the one that says no domino is there. The 2 must go with a different neighbour, and so must the 4.

Solving tips and common mistakes

  1. Look for squares with only one possible partner. A number in a corner has just two neighbours, and sometimes one of them is already ruled out. The other is then forced.
  2. Keep a list of the pairs. The set has a fixed number of pieces and each one is used once. Tick off a pair when you place it, and watch for pairs that now have only a single place left.
  3. Hunt for the doubles. A double such as 3-3 needs two equal numbers side by side. There are few places where that can happen, so doubles are often your first certain placements.
  4. Use the second action to remember a ban. When a pair is used up, every other place that could make the same pair is banned. Marking those lines shrinks the choices for all the squares around them.
  5. Think in both directions. A square sits between up to four neighbours. Whenever you place a domino, look at the squares it leaves behind, since a leftover square that has lost every partner means a mistake.
  6. Do not rush the second half. The first dominoes come quickly, and then the board gets quiet. When that happens, go back through the pairs that have not yet been placed and look for where each could fit.
  7. Check for loneliness. Two leftover squares that are not adjacent can never form a domino. If your remaining squares look like that, undo a recent placement.

How Dominoes differs from similar puzzles

Dominoes lies close to Magnets, because both are played on a grid of domino shapes. The difference is which part you find. In Magnets the domino layout is shown and you work out what each domino is; in Dominoes the numbers are shown and you work out the layout.

Compared with Signposts, where you link every square into one single path, Dominoes joins squares only in pairs, and the clue is the identity of the pair rather than a direction. Tatham’s Unequal also puts numbers on a grid, but it asks you to fill them in under inequality signs, so you create the numbers there instead of reading them.

Dominoes in PsyGames

In PsyGames, Dominoes is a Visual Search puzzle. It is based on Simon Tatham’s Portable Puzzle Collection (MIT licence), where the game goes by the name Dominosa. You can find the other puzzles of the same collection in the catalogue of all games. Each Dominoes puzzle is a search problem at heart, which is why it sits in the Visual Search group.

Frequently asked questions

How many times does each domino appear in Dominoes?

Exactly once. The grid was made from a complete set, with one piece for every pair of numbers. So once you have found where 2-4 lies, no other 2-4 can exist.

Do the dominoes have to be placed in a certain direction?

No. A domino can lie horizontally or vertically, and it can be read in either direction. The pair 1-5 is the same domino as 5-1.

What does the second action in the app do?

It marks that there is no domino on that line between two numbers. It is a note to yourself and it does not place anything, so it is useful for ruling out a pair that is already used.

Is the Dominoes puzzle the same as Dominosa?

Yes. Dominosa is the name used in the open puzzle collection, and the rules are the same.

More logic puzzles

All games

PsyGames: Brain Training

Learn more: PsyGames