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 http://daattali.com/shiny/lightsout/.
|Author||Dean Attali [aut, cre]|
|Date of publication||2016-07-26 12:09:35|
|Maintainer||Dean Attali <firstname.lastname@example.org>|
|License||MIT + file LICENSE|
board_classic: Is the board using classic game mode?
board_entries: Get the board entries (configuration of the lights)
board_entries-set: Set the board entries
board_size: Get the board size (number of rows/columns)
board_toggle_matrix: Get the toggle matrix used to solve the board using linear...
empty_board: Initialize a Lights Out board with all lights switched off
grapes-greater-than-grapes: magrittr forward-pipe operator
is_solvable: Is a given Lights Out board solvable?
is_solved: Is the given board is a solved state?
launch: Run the graphical interface to the game in a web browser
lightsout: lightsout package - Implementation of the 'Lights Out' Puzzle...
new_board: Initialize a Lights Out board with a given lights...
play: Play (press) a single light or multiple lights on a board
print.lightsout: Print a lightsout board
print.lightsout_solution: Print a lightsout board solution
random_board: Create a random (but solvable) Lights Out board
solve_board: Solve a Lights Out board