powered by
Get the board entries (configuration of the lights)
board_entries(board)
A matrix representing the current state of the lights (0 for off, 1 for on) in the board
A lightsout board object
lightsout
board <- random_board(5) board board_entries(board)
Run the code above in your browser using DataLab