Browser Games›Switch Off
Switch Off is a lights puzzle. Pressing a lamp flips it together with the lamps directly above, below, left and right of it. Turn all the lights off in as few presses as you can. There are 60 levels on boards from 3×3 to 7×7, random boards that never run out, and a wrap-around variant.
How to play
- Lit lamps glow and the others are dark. Press any lamp, lit or dark.
- The lamp you press changes state, and so do the lamps directly above, below, left and right of it. Diagonal lamps never change.
- The board is solved the moment the last light goes out.
- Each board shows the fewest presses that solve it. Match that number for three stars.
Controls on phone and desktop
- Phone, tablet and mouse: tap or click a lamp. Even on the 7×7 board the lamps stay big enough for a thumb.
- Keyboard: click the board or reach it with Tab, move with the arrow keys and press Space or Enter. Z takes back a press and H shows a hint.
- Undo takes back the last press and lowers the count, with no limit. Restart resets the board.
- Hint puts a ring around one lamp of a shortest solution from the board as it is now.
- The button with the level number opens the list of all 60 levels, all open from the start.
Levels, random boards and wrap-around
- Levels: 60 fixed boards, 8 on 3×3, 8 on 4×4, 18 on 5×5, 13 on 6×6 and 13 on 7×7. The fewest presses rise from 1 on level 1 to 25 on level 60 and never fall along the way.
- Random: pick a size and get a new board every time. It is made by pressing lamps on a dark board, so it can always be solved.
- Wrap-around (in Random): the edges are joined. A press on the left edge also flips the lamp at the right end of the row, and top and bottom are joined in the same way, so every press changes five lamps. These boards glow blue to show that the rule is different.
Presses and stars
Every press counts, including a second press on the same lamp, and Undo takes a press off the count. Three stars: the fewest presses possible. Two stars: at most two presses over or, on bigger boards, at most half as many again (15 presses when the fewest is 10). One star: any other solution.
Tips and strategy
- The order does not matter. Pressing lamp A and then B leaves the same board as B and then A.
- Two presses cancel. In a shortest solution every lamp is pressed once or not at all, so the whole puzzle is one question: which lamps?
- Chase the lights. For every lit lamp in the top row, press the lamp directly below it. The top row is now dark. Clear the second row with presses in the third, and go on down. Only the bottom row can still have lights.
- Finish a 5×5 board. The lights left in the bottom row tell you what to press in the top row before you chase down once more. Lamps 1-2-3 lit: press lamp 2. Lamps 3-4-5: press 4. Lamps 1 and 5: press 1 and 2. Lamps 2 and 4: press 1 and 4. Lamps 1-3-4: press 5. Lamps 2-3-5: press 1. Lamps 1-2-4-5: press 3.
- Chasing costs many presses. For three stars, work out the set of lamps first and press each one once.
- Use symmetry. On 3×3, 6×6 and 7×7 every pattern has exactly one solution, so a mirrored pattern has a mirrored solution.
Rules used here
- A press flips the lamp and its four neighbours in the same row and column. Outside wrap-around boards the edges are walls.
- Every board here can be solved. On 5×5 only one arrangement of lights in four is solvable, so each board is built backwards from a dark board.
- The fewest presses are exact. Each lamp gives one equation with the values 0 and 1, and a program solves the set and keeps the shortest solution.
Frequently asked questions
What is a lights puzzle?
A logic puzzle on a grid of lamps. Pressing a lamp switches it and its four neighbours, and the aim is to turn every lamp off. Electronic toys with this rule were popular in the 1990s.
Can every board be solved?
Yes. Every level and every random board is made by pressing lamps on a dark board, so pressing the same lamps again always solves it.
Does the order of the presses matter?
No. Any order gives the same board, and two presses on one lamp cancel.
How do I get three stars?
Use exactly the fewest presses shown and press no lamp twice. On 4×4 and 5×5 a pattern has 16 or 4 solutions of different lengths, so look for the shortest. The hint always points to a lamp of a shortest solution.
Can I play on a phone, and is my progress saved?
Yes. The board fits a narrow screen and you tap the lamps. Solved levels, stars and the board in play are saved in the browser, with no sign-up.
More games to play
DominoesClassic double-six dominoes against the computer.
BackgammonClassic backgammon against the computer or a friend.
Booked SolidDrag the week's meetings into one calendar. Everyone has to be free.
Door CodeWork out the door code from a few tries and their dots.
Dial BackRemember the number, then dial it from memory.
Buzzword SearchFind the office words hidden in the letters.
Handy free tools
- Electronic SealCreate round, square, date, and company seals, and save them as transparent-background PNGs at exact sizes.
- Email & URL CheckAnalyze email headers and URLs locally on your device to check From and Reply-To fields, authentication results, Punycode, shortened URLs, similar…
- Data ConverterConvert between JSON, CSV, XML, and YAML, plus Base64, URL encoding, HTML entities, number bases, and Unix time—all in your browser.
- ALLAll free toolsSee all 36 tools in one list.