launch
(Package: lightsout) :
Run the graphical interface to the game in a web browser
Run the graphical interface to the game in a web browser
● Data Source:
CranContrib
● Keywords:
● Alias: launch
●
0 images
|
board_entries
(Package: lightsout) :
Get the board entries (configuration of the lights)
Get the board entries (configuration of the lights)
● Data Source:
CranContrib
● Keywords:
● Alias: board_entries
●
0 images
|
Print a lightsout board
● Data Source:
CranContrib
● Keywords: internal
● Alias: print.lightsout
●
0 images
|
%>%
(Package: lightsout) :
magrittr forward-pipe operator
magrittr forward-pipe operator
● Data Source:
CranContrib
● Keywords: internal
● Alias: %>%
●
0 images
|
board_size
(Package: lightsout) :
Get the board size (number of rows/columns)
Get the board size (number of rows/columns)
● Data Source:
CranContrib
● Keywords: internal
● Alias: board_size
●
0 images
|
is_solvable
(Package: lightsout) :
Is a given Lights Out board solvable?
Not every Lights Out configuration has a solution (this has been mathematically proven). This function determines whether a given board has a solution or not.
● Data Source:
CranContrib
● Keywords:
● Alias: is_solvable
●
0 images
|
new_board
(Package: lightsout) :
Initialize a Lights Out board with a given lights configuration
Create a Lights Out board that can be played by the user or solved automatically. Only square boards of size 3x3, 5x5, 7x7, or 9x9 are supported. The initial lights configuration must be provided. To create a board with a random configuration, use the random_board function.
● Data Source:
CranContrib
● Keywords:
● Alias: new_board
●
0 images
|
Set the board entries
● Data Source:
CranContrib
● Keywords: internal
● Alias: board_entries<-
●
0 images
|
board_classic
(Package: lightsout) :
Is the board using classic game mode?
In classic mode, pressing a light will toggle it and its adjacent neighbours only. If non-classic mode, pressing a light will toggle the entire row and column of the pressed light.
● Data Source:
CranContrib
● Keywords: internal
● Alias: board_classic
●
0 images
|
Print a lightsout board solution
● Data Source:
CranContrib
● Keywords: internal
● Alias: print.lightsout_solution
●
0 images
|