lightsout: Implementation of the 'Lights Out' Puzzle Game

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 <>.

Version: 0.3.2
Depends: R (≥ 3.0.0)
Imports: magrittr (≥ 1.5), shiny (≥ 0.10.0), shinyjs (≥ 0.3.0), stats, utils
Suggests: knitr (≥ 1.7), testthat (≥ 0.9.1), rmarkdown
Published: 2023-08-21
DOI: 10.32614/CRAN.package.lightsout
Author: Dean Attali ORCID iD [aut, cre]
Maintainer: Dean Attali <daattali at>
License: MIT + file LICENSE
NeedsCompilation: no
SystemRequirements: pandoc with https support
Materials: README NEWS
CRAN checks: lightsout results


Reference manual: lightsout.pdf
Vignettes: Package lightsout


Package source: lightsout_0.3.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): lightsout_0.3.2.tgz, r-oldrel (arm64): lightsout_0.3.2.tgz, r-release (x86_64): lightsout_0.3.2.tgz, r-oldrel (x86_64): lightsout_0.3.2.tgz
Old sources: lightsout archive


Please use the canonical form to link to this page.