Classic grid puzzle

Light Out Solver

Build any 2x2 to 5x5 Light Out puzzle, switch between linked play and manual edit mode, then solve it with the same optimal Gaussian-elimination logic from the original project.

Interactive board

Tap any bulb to toggle it and its neighbors together.

5 x 5

Build a puzzle or randomize one, then solve it.

Solution steps

Solve a board to see the guided move path.

Why use a Light Out solver?

Light Out puzzles can look simple, but larger boards quickly become hard to reason about by hand. A solver helps you understand whether a board is solvable and gives you the shortest path instead of trial-and-error tapping.

What stays the same from the original project?

The board logic, random puzzle generation, solution animation, and exact optimal solving behavior are preserved. The main change here is a brighter, more mobile-friendly WordSolverX presentation.

Light Out Solver FAQs

How does this Light Out solver work?

The solver uses the same Gaussian-elimination logic from the original Light Out project to find an optimal move sequence whenever a solution exists.

What is the difference between Linked Toggle and Edit Puzzle?

Linked Toggle behaves like the real game and flips the clicked light plus its neighbors. Edit Puzzle lets you set up any custom board one light at a time.

Can I solve random puzzles and manual board setups?

Yes. You can generate random boards, recreate a puzzle you already have, then solve it and review every step as a mini-board sequence.