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

Description Usage Arguments Value Examples

View source: R/board-attribs.R

Description

Get the board entries (configuration of the lights)

Usage

1

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

1
2
3
board <- random_board(5)
board
board_entries(board)

lightsout documentation built on May 2, 2019, 1:10 p.m.