board_entries {lightsout}R Documentation

Get the board entries (configuration of the lights)

Description

Get the board entries (configuration of the lights)

Usage

board_entries(board)

Arguments

board

A lightsout board object

Value

A matrix representing the current state of the lights (0 for off, 1 for on) in the board

Examples

board <- random_board(5)
board
board_entries(board)

[Package lightsout version 0.3.2 Index]