Play a free lamp puzzle in three sizes: place lamps so every white square is lit, no lamp shines on another, and each number is met. One solution each.
Puzzle -
Time 0:00
Lit 0 of 0
Your best -
Light every white square. A lamp lights its own square and everything in a straight line from it until a black square. No lamp may stand in another lamp's light, and a number says exactly how many lamps touch that black square. Tap a square to cycle empty, lamp, dot. Arrow keys move, L places a lamp, D or X marks a dot, 0 or Backspace clears, U undoes, H gives a hint. A best time only counts if you did not use a hint.
Each puzzle starts from a random pattern of black squares. Lamps are placed one at a time on squares nothing lights yet, until every white square is lit, and every black square is numbered with the lamps that touch it. A solver then counts the lamp layouts that fit. Only a puzzle with exactly one layout is kept, and if a random start has more, a new one is tried. So you never need to guess.
Easy shows every number. Medium takes some away and Hard takes away as many as it can while the answer stays unique. Hints use simple reasoning: a dark square that only one square can light, a number that needs every neighbour it has left, and "what if" checks where a lamp (or its absence) would leave a square that can never be lit or a number that can never be met.
As-is, no warranty. These apps are free under their listed license and run entirely in your browser. Use at your own risk — don't blame me if your PC catches fire, your dog runs away, or the math turns out wrong. Verify anything that actually matters. None of this is professional financial, medical, legal, or engineering advice.
The grid has white squares and black squares. Place lamps on white squares so that:
Pick a size (5x5, 7x7 or 9x9) and a level (Easy, Medium or Hard); the level changes how many numbers are shown. Today’s puzzle gives the same puzzle to everyone on the same date, for the size and level you chose. New random puzzle deals a fresh one, Restart resets this one, and the page address carries the seed so you can send a friend the exact puzzle.
Controls:
Black squares are hatched, lit squares have a warm tint and diagonal stripes, lamps are drawn as bulbs with rays, and a number that is met turns solid green with a tick, so nothing depends on colour alone. The count under “Lit” shows how many white squares are lit so far. Screen readers hear each square’s position, whether it holds a lamp or a dot, whether it is lit, and for black squares the number and the lamps beside it. Nothing flashes, and the win animation is off under reduced motion.
On a grid with no black squares, every square must be lit. A lamp lights its whole row and column, and no two lamps may share a row or a column, so the lamps form one per row and one per column. If any row and column both had no lamp, their crossing square would be dark, so every row has one. That makes every arrangement a permutation, and an empty n by n grid has exactly n factorial solutions: 24, 120, 720 and 5,040 for n = 4 to 7. The solver finds exactly those numbers, the second counter agrees on 4 and 5, and the brute force on 4. A white run of k squares on its own has k solutions, and a run cut by a black square multiplies.
Over seeds 1 to 20 the numbers shown come out like this:
| Size | Black squares | Easy | Medium | Hard |
|---|---|---|---|---|
| 5x5 | 6 | 6 | 4 to 5 | 3 to 5 |
| 7x7 | 11 | 11 | 8 to 9 | 5 to 9 |
| 9x9 | 16 | 16 | 11 to 13 | 7 to 13 |
A Hard puzzle is minimal: on 5x5, 7x7 and 9x9 the tests take away each remaining number in turn, for four seeds of each size, and confirm the puzzle then has more than one answer, using the second counter.
Every white square is a lamp, no lamp, or not yet decided. A lamp rules out lamps everywhere it shines. A white square that is not lit yet and has only one square left that could light it forces a lamp there. A number with all its lamps rules out its other neighbours, and one that needs every neighbour it has left takes them all. When nothing more follows, the solver picks a dark square with the fewest candidates and tries a lamp, then no lamp, on one of them. It stops after two solutions, or at a budget of nodes.
A hint first looks for a dark white square that only one square can still light, then for a number that needs every neighbour it has left, and then runs “what if” checks. A what-if check assumes a lamp (or no lamp) on a square and looks for a contradiction: two lamps in each other’s light, a square that could never be lit, or a number that cannot be met. A contradiction means the assumption is false in every layout that fits the board, so the hint is always consistent with the answer. If nothing applies, it reveals one lamp.
Nothing is uploaded and there is no account. Your best time for each size and level is saved in your browser’s local storage as small whole numbers in a small JSON object, and anything read back is checked before use. The only other state is the page address.
Free to play, no ads, nothing uploaded. These games are original and are not affiliated with any other game or brand.