Write you🕹️ How to Play the Lights Out Puzzle

The objective of the game is to turn all 25 lights OFF.

1. The Setup

  • The game is played on a 5x5 grid of lights.

  • Lights can be in one of two states: ON (typically yellow/bright) or OFF (typically dark/blue).

  • A puzzle is complete when every cell on the board is OFF.

2. The Move

  • When you click or tap a light on the grid, you flip the state of five tiles:

    • The tile you clicked.

    • The four tiles directly adjacent to it (up, down, left, and right).

  • Flipping a light means:

    • If it was ON, it turns OFF.

    • If it was OFF, it turns ON.

3. Strategy

  • Every click affects the state of five lights. Since your goal is to reduce the number of ON lights to zero, you need to plan your moves carefully.

  • There is no limit to the number of moves, and every puzzle provided is solvable.