Package: lightsout 0.3.2

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 <https://daattali.com/shiny/lightsout/>.

Authors:Dean Attali [aut, cre]

lightsout_0.3.2.tar.gz
lightsout_0.3.2.zip(r-4.5)lightsout_0.3.2.zip(r-4.4)lightsout_0.3.2.zip(r-4.3)
lightsout_0.3.2.tgz(r-4.5-any)lightsout_0.3.2.tgz(r-4.4-any)lightsout_0.3.2.tgz(r-4.3-any)
lightsout_0.3.2.tar.gz(r-4.5-noble)lightsout_0.3.2.tar.gz(r-4.4-noble)
lightsout_0.3.2.tgz(r-4.4-emscripten)lightsout_0.3.2.tgz(r-4.3-emscripten)
lightsout.pdf |lightsout.html
lightsout/json (API)
NEWS

# Install 'lightsout' in R:
install.packages('lightsout', repos = c('https://daattali.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/daattali/lightsout/issues

On CRAN:

Conda:

5.70 score 42 stars 24 scripts 278 downloads 14 exports 31 dependencies

Last updated 2 years agofrom:c48ae24852. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 12 2025
R-4.5-winOKMar 12 2025
R-4.5-macOKMar 12 2025
R-4.5-linuxOKMar 12 2025
R-4.4-winOKMar 12 2025
R-4.4-macOKMar 12 2025
R-4.4-linuxOKMar 12 2025
R-4.3-winOKMar 12 2025
R-4.3-macOKMar 12 2025

Exports:%>%board_classicboard_entriesboard_entries<-board_sizeboard_toggle_matrixempty_boardis_solvableis_solvedlaunchnew_boardplayrandom_boardsolve_board

Dependencies:base64encbslibcachemclicommonmarkcrayondigestfastmapfontawesomefsgluehtmltoolshttpuvjquerylibjsonlitelaterlifecyclemagrittrmemoisemimepromisesR6rappdirsRcpprlangsassshinyshinyjssourcetoolswithrxtable

Package lightsout

Rendered fromoverview.Rmdusingknitr::rmarkdownon Mar 12 2025.

Last update: 2023-04-01
Started: 2016-01-03