ASI AppsWrite

Games and exercises

PsyGames

Light Up: logic puzzle rules

Light Up puzzle rules: place lamps so every open cell is lit, no two lamps see each other and numbered walls get the right count. Examples and PsyGames controls.

What is Light Up?

Light Up is a puzzle about lamps and walls. You are given a grid with some black cells, which act as walls, and the rest of the cells are empty floor. The aim is simple to say: put lamps on the floor so that every floor cell is lit. The difficulty is that lamps are not allowed to light one another, and some walls carry numbers that restrict the lamps around them. Fans of the genre know it as Akari, and Simon Tatham’s collection of portable puzzles includes it under the name Light Up. In the original collection an easy Light Up puzzle can be solved without guessing, while a hard one will probably need some guesses; the app description does not say which level it uses.

Below are the rules, the controls in PsyGames, a worked example and some strategy.

The goal and the rules

A lamp lights the cell it stands on, plus every cell in its row and column in straight lines, stopping at the first black cell in each direction. You win when all of the following hold:

  • every non-black cell is lit;
  • no lamp is lit by another lamp, which means that two lamps never see each other along a row or column;
  • every black cell that shows a number has exactly that many lamps in the four cells that touch its sides;
  • black cells without a number can have any number of lamps beside them, including none.

A number counts only side contacts, not diagonal ones. A wall marked 0 therefore means that none of its four neighbours holds a lamp.

How to play Light Up in PsyGames

Tap a floor cell to place a lamp. The second action marks a cell as “no lamp”, a note you leave on cells where you have proved that a lamp cannot go. The summary in the app says: light the whole grid with lamps. Use the second action liberally. When a lamp there would collide with another lamp, or you have shown in another way that the cell cannot hold a lamp, a mark records the decision, and the cell stops being a candidate for later steps. Other puzzles with similar controls are listed in the all games catalog.

A worked example

Begin with the numbers. A wall with a 4 has all four neighbours as lamps; there is no choice. A wall with a 0 has no lamps beside it, so its four neighbours can be marked as “no lamp” at once. A wall showing 1 whose neighbours are all ruled out except one (because they are marked, lit by a lamp already, or off the grid) must put its single lamp on that last neighbour.

Next, look for cells that can be lit from only one place. Imagine an empty cell whose row and column are cut off by black cells immediately on every side. Nothing else can ever shine on it, so the lamp must stand on that very cell.

Finally, use the no-collision rule. Once a lamp is placed, every cell in its row and column up to the next wall is lit, and none of them may hold another lamp. Mark all of them as “no lamp”. Often this leaves a lone unlit cell with exactly one possible lamp position, and the chain continues.

Solving tips and common mistakes

  1. Go for numbers 0 and 4 first. They give complete information and instantly generate marks.
  2. Work with numbers next to walls: a 3 on an edge, or any number matching the count of available neighbours, forces all of them.
  3. Look for cells with a single lighting source. If a cell can be lit from only one position, a lamp goes there.
  4. After every lamp, spread the marks along its row and column. Forgetting this makes later steps seem harder than they are.
  5. Do not assume numbers count lamps that merely see the wall. A number is about the four touching cells only.
  6. Remember that unnumbered walls impose nothing. A common mistake is to treat them as if they limited lamps.

How Light Up differs from similar puzzles

Line of Sight also depends on straight lines of view, but its numbers count visible white cells and you place black cells instead of lamps. Minesweeper counts hidden mines in eight surrounding cells; a Light Up number counts lamps in four. Tents by the Trees has a rule of non-touching pieces similar to the lamps’ no-collision rule, though tents are kept apart by contact, while lamps are kept apart by sight along a line. In Light Up the entire floor must be covered, which gives the puzzle its characteristic feeling of filling space with light.

Light Up in PsyGames

The puzzle belongs to the Counting group in PsyGames and is based on Simon Tatham’s Portable Puzzle Collection (MIT licence). The classic name there is also Light Up. The in-app description reads: light the whole grid with lamps; tap to place a lamp, and use the second action to mark a cell as “no lamp”. If a Light Up puzzle feels easy, try thinking one step ahead before each lamp. To pick your next puzzle, open the all games page.

Frequently asked questions

How does a lamp light the grid in Light Up?

A lamp lights its own cell and every cell in the same row and column, in straight lines, up to the first black cell in each direction. Black cells block the light.

Can two lamps shine on each other?

No. If one lamp is in the light of another, the position is wrong. Two lamps may share a row or column only when a black cell stands between them.

What do the numbers on black cells mean?

A number on a black cell says exactly how many lamps stand in the four cells directly next to it, above, below, left and right. Black cells without a number have no such condition.

What is the second action in PsyGames for?

It marks a cell as no lamp. It is a note that you have decided a cell will not hold a lamp, which helps you keep track of your reasoning.

More logic puzzles

All games

PsyGames: Brain Training

Learn more: PsyGames