Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

board_classic

Is the board using classic game mode?


Description

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.

Usage

board_classic(board)

Arguments

board

A lightsout board object


lightsout

Implementation of the 'Lights Out' Puzzle Game

v0.3
MIT + file LICENSE
Authors
Dean Attali [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.