Implementation of the 'Lights Out' Puzzle Game


[Up] [Top]

Documentation for package ‘lightsout’ version 0.3.2

Help Pages

board_entries Get the board entries (configuration of the lights)
empty_board Initialize a Lights Out board with all lights switched off
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
new_board Initialize a Lights Out board with a given lights configuration
play Play (press) a single light or multiple lights on a board
random_board Create a random (but solvable) Lights Out board
solve_board Solve a Lights Out board