board_entries: Get the board entries (configuration of the lights)

View source: R/board-attribs.R

board_entriesR 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)

lightsout documentation built on Aug. 21, 2023, 9:07 a.m.