| .. | ||
| testdata | ||
| benchmark_test.go | 1.2K | |
| export.go | 1.4K | |
| gamemode.go | 1.4K | |
| generator.go | 1.5K | |
| help.md | 1.2K | |
| keys.go | 757B | |
| lightsout_test.go | 8.8K | |
| model.go | 2.9K | |
| README.md | 885B | |
| style.go | 3.7K |
Lights Out
Toggle lights in a cross pattern to turn them all off.

How to Play
The grid starts with some lights on and some off. Toggling a cell flips that cell and its four orthogonal neighbors (up, down, left, right). The goal is to turn every light off.
Controls
| Key | Action |
|---|---|
| Arrow keys / WASD / hjkl | Move cursor |
| Mouse left-click | Toggle light |
Enter / Space |
Toggle light |
Ctrl+R |
Reset puzzle |
Ctrl+H |
Toggle full help |
Escape |
Return to main menu |
Modes
| Mode | Grid | Description |
|---|---|---|
| Easy | 3x3 | Small grid |
| Medium | 5x5 | Classic size |
| Hard | 7x7 | Large grid |
| Extreme | 9x9 | Maximum size |
Quick Start
puzzletea new lights-out easy
puzzletea new lights-out medium
puzzletea new lights-out extreme