← Back to portfolio labs
⏱ Timer 00:00 Waiting…

💡 Lights Out

Toggle the lights. Clicking one flips it and all its neighbours. Turn them all off to win!

📖 How to Play

1. The board starts with some lights ON (glowing yellow) and some OFF (dark). Your goal is to turn every light OFF.

2. Click any light to toggle it. This also toggles its direct neighbours (up, down, left, right). Corner & edge cells have fewer neighbours.

3. The puzzle is always solvable; every generated board has a guaranteed solution.

4. The timer starts on your first click and stops when all lights are off.

5. Use 💡 Hint to highlight one optimal next move (costs no penalty; it is just for learning!).

6. Use ↺ Reset to restore the board to its original state without generating a new puzzle.

7. Choose a grid size (3×3 to 7×7) and difficulty (controls how many lights start on).

8. Try to solve each puzzle in as few moves as possible. The fewer, the better!

⚙ Difficulty

🎮 Controls

👆 Moves

0
clicks made

💡 Lights On

0
remaining
Click a light to begin!

📊 Stats

Grid Size5×5
DifficultyEasy
Lights StartNot yet

Best MovesNot yet
Best TimeNot yet
Puzzles Solved0

📋 Move Log

No moves yet…

🗺 Legend

Light ON
Light OFF
Hint cell