Lights Out
Solve a compact five-by-five toggle puzzle: each press changes one square and its orthogonal neighbors, and every generated board has a solution.
How it works
Try it in your browser.
Start a five-by-five board, then choose squares to change the selected light and the lights directly above, below, left, and right. The goal is to turn every light off; each board is generated from a solved layout, so it is solvable.
- Tap or click a square to press it. Every square is a native button with a row, column, and on/off label, so the board remains understandable without relying on its color.
- Use Tab to reach a square, Enter or Space to press it, and the arrow keys to move focus around the grid. A focus move does not change a light or add to the move count.
- Choose Begin puzzle when ready, New puzzle to reset the board and move counter, or Sound to enable locally synthesized tones. A hidden tab pauses input; returning resumes the same board.
How to play
How to Play
The board is a five-by-five arrangement of lights. At the start, some are on and some are off. Select one position to toggle that light together with its orthogonal neighbors; diagonal squares are unaffected, and a press near an edge changes fewer than five cells.
Your objective is to reach an all-off board. The game begins counting moves when you make a selection, but it does not impose a countdown or a lives limit. Continue experimenting until the board is clear, or use New puzzle to abandon the current arrangement and start a fresh seeded layout.
Each puzzle is constructed by applying a known set of legal presses to an empty board. Because pressing the same cross twice reverses its effect, reversing the construction sequence provides a solution. The solution is not displayed, and the challenge is to find a shorter route through the visible state.
Input and access
Controls
- All twenty-five positions are large, individually named buttons. Tap with a finger, click with a pointer, or move keyboard focus onto a square and activate it with Enter or Space; those input paths make exactly the same move.
- While a square has focus, use an arrow key to move focus by one row or column. The focus ring identifies the destination, and moving between positions never toggles the board. Tab remains available for ordinary browser navigation into and out of the puzzle.
- Begin puzzle starts the displayed board, New puzzle clears progress and creates the next deterministic layout, and Sound toggles short Web Audio tones made on the device. No audio asset or remote connection is needed, and sound starts off.
A complete round
Rules & Scoring
One accepted square press counts as one move even though it changes several lights. The center and up to four adjacent orthogonal cells toggle together; a light switches from on to off or off to on, with no special effect for repeating a previous position.
The puzzle is complete only when all twenty-five lights are off. There is no move penalty, time score, hidden target, or failure state. The module reports a win after the solved board is rendered, and a new board resets the move count rather than carrying a total into another puzzle.
If the page becomes hidden or loses browser focus, the Arcade runtime disables the grid until the page returns. The board itself is preserved, and the pause does not count as a move or create a break callback; only the completed puzzle is a natural game-over boundary.
A steadier start
Tips
- Describe a position by row and column so that a repeated light can be found again. A consistent coordinate habit is more reliable than remembering a square only by its place in a changing pattern of bright and dark cells.
- Before pressing, trace the full cross in your mind, including the selected square. Edge and corner presses have fewer affected neighbors, which can make them useful when you want to alter a small part of the pattern without changing distant rows.
- The switches are reversible, so an accidental press is not permanent. Compare the board before and after a move, look for groups of lights that can be changed together, and take the time you need; the puzzle has no clock.