cools maths gamesSurprise me

Light Switch Grid

Press cells on a 5x5 grid to flip each one plus its side neighbors until the whole board goes dark.

Light Switch Grid title screen
  • Works on mobile
Report a problem

Light Switch Grid is a lights-off logic puzzle on a 5x5 board of amber cells. Pressing a cell flips it and the cells directly above, below, left and right of it. Your goal is to make the whole board dark, ideally in as few presses as possible.

How Light Switch Grid Works

Each press swaps the state of up to five cells. A lit cell goes dark and a dark cell lights up. Diagonals stay as they are, and edge or corner cells have fewer neighbors to flip.

A status line shows how many lights remain, and a counter adds up your presses. Clear the board and your total appears. Your lowest total per level is stored as Best, together with the level you last picked.

There are three levels. Easy, Medium and Hard differ in how many random presses scrambled the board. Each level begins on a daily board, and new rolls a random one. Undo takes back one press, and reset restores the start pattern of the same puzzle.

Your First Few Minutes

  1. Pick Easy and look at which cells are lit.
  2. Press one lit cell and watch which neighbors flip.
  3. Work row by row, pressing the cell under each light in the row above.
  4. When only the bottom row has lights, note the pattern.
  5. Use reset to restart and try a cleaner set of presses.

Controls for Light Switch Grid

Keyboard, mouse and touch controls for Light Switch Grid
To do thisKeyboardMouseTouch screen
Press a cell (flips it and its side neighbors)not usedClick the cellTap the cell
Take back the last pressnot usedClick "undo"Tap "undo"
Return to the starting patternnot usedClick "reset"Tap "reset"
Pick a difficulty or roll a random puzzlenot usedClick Easy, Medium, Hard or "new"Tap Easy, Medium, Hard or "new"
Open or close the help pageEsc or Q closes itClick "? man", then the × or outside the boxTap "? man", then the × or outside the box

What It Trains

This puzzle is about logic and a bit of math. Because two presses on one cell cancel, each cell is either pressed or not. That turns the board into a yes-or-no question for each of 25 cells.

You also plan spatially. You picture the plus-shaped flip around a cell and predict which lights it will fix and which it will turn on.

Strategy Notes

  • Chase down the rows. For every light in a row, press the cell right below it, then move to the next row.
  • Use the bottom row as a clue. The pattern left at the bottom tells you which top-row cells to press before chasing again.
  • One press per cell. A second press only cancels the first and adds a move.
  • Sequence is free. Plan the set of cells to press, then press them in any order.
  • Reset beats long undo chains. It returns the exact start board and zeroes the counter.

Good to Know

Best scores and your last level are saved in the browser. The large cells suit thumbs, and the board fits a phone held upright. The colors follow your device’s light or dark setting. Tejas Wavde made it as part of an open-source game collection.

Light Switch Grid questions and answers

How does a round of Light Switch Grid end?

It ends when the last light goes out. The game then shows how many presses you used. If that beats your earlier record for the current level, it is saved as your new Best for that difficulty.

Are all boards solvable?

Yes. Every board is made by pressing random cells on a dark grid, so pressing the same cells again clears it. Easy is scrambled with 3 presses, Medium with 6 and Hard with 10, which is also the most you should ever need.

Does the order of my presses matter?

No. The final board depends only on which cells you pressed, not the sequence. Pressing a cell twice undoes itself, so a perfect solution never presses the same cell more than once.

When does the daily board change?

The first board at each level is based on the current UTC date, so it stays the same all day and switches the next day. Press new whenever you want a random board instead.

Games that use logic like Light Switch Grid

Different rules, same kind of thinking.

Try something from another shelf