Implementation of the 'Lights Out' Puzzle Game
Overview
Lights Out is a puzzle game consisting of a grid of lights that are either on or off. Pressing any light will toggle it and its adjacent lights. The goal of the game is to switch all the lights off. This package provides an interface to play the game on different board sizes, both through the command line or with a visual application. Puzzles can also be solved using the automatic solver included. View a demo online at https://daattali.com/shiny/lightsout/.
- More work to keep the package on CRAN
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 17 (8 internal)includes a package overview page
- Examples that run
- 100%8 run in a plain check
- Exported functions with examples
- 57%
- Documented parameters
- 100%
- Return-value docs
- 62%
- Help pages citing references
- 0%
- Package lightsout HTML
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 2,704
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
7 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/daattali/lightsout on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Funding links: GitHub Sponsors
The repository owner accepts GitHub Sponsors
Show all practicesHide 1 practice
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.3.2Latest
- 0.3.12023-05-24 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.32016-07-26 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.2.12016-01-06 · diff ↗
- 0.22016-01-04
Show 1 earlier eventHide 1 earlier event
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2016-01-04
- Total releases
- 5 / 10 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.0.0
- Download size
- 198 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("lightsout")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.